ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

You​Complete​Me

by sublime-ycmd ST3

Sublime Text 3 Plugin for YCMD

Details

Installs

  • Total 1
  • Win 0
  • OS X 1
  • Linux 0
Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Text YouCompleteMe

sublime-ycmd is a Sublime Text 3 plugin that leverages ycmd to generate autocomplete suggestions. To use this plugin, ycmd must be installed.

Language-Specific Features

C Family

This requires that ycmd be built with clang completer support. This also requires a project-specific/global configuration file for ycmd. The easiest way to do that is to create a .ycm_extra_conf.py in the root of the project tree and add the required FlagsForFile method in it.

See the ycmd README for more information.

Python

This should not require any special setup, as ycmd will use Jedi to perform python semantic completions.

If the python binary used to build and run ycmd is not the same as the python binary used in the project/environment, the completions may be slightly off. This can be corrected by updating the "python_binary_path" variable in the ycmd default settings file (ycmd/ycmd/default_settings.json).

JavaScript

This requires that ycmd be built with tern completer support. This also requires a project-specific configuration file for Tern itself. Create a .tern-project file in the root of the project and add the necessary configuration there.

See the Tern docs for more information.

Configuration

The supported options are listened in the default settings file. See sublime-ycmd.sublime-settings for more information.

Issues

When submitting issues, try to collect log output relating to the problem. This includes log output from both the plugin, and from ycmd itself.

Tests

To run the unit-test suite, simply execute runtests.py:

python runtests.py

The tests are not yet complete. It tests some basic low-level operations, but does not test any of the plugin behaviour.

Contributing

Ensure that unit tests still pass. If possible, ensure that pylint does not report issues.