Commit Graph

88 Commits

Author SHA1 Message Date
davits
0102d23bfe Added options to choose whether GoTo commands result should be opened in the new buffer and in which one. 2014-02-23 17:50:51 +04:00
Strahinja Val Markovic
1a33f34ec0 Adding the g:ycm_open_loclist_on_ycm_diags option 2014-01-29 10:59:15 -08:00
Strahinja Val Markovic
b1bba2e201 Changing copyright headers from me to Google
When I initially released this project, I released it under my own copyright. I
have since then worked on it in my 20% time at Google (and want to continue
doing this) and my life becomes much simpler if the copyright is Google's.

From the perspective of how this project is run and managed, **NOTHING**
changes. YCM is not a Google product, merely a project run by someone who just
happens to work for Google.

Please note that the license of the project is **NOT** changing.

People sending in future pull requests will have to sign the Google
[CLA](https://developers.google.com/open-source/cla/individual) (you can sign
online at the bottom of that page) before those pull requests could be merged
in. People who sent in pull requests that were merged in the past will get an
email from me asking them to sign the CLA as well.
2014-01-13 11:08:43 -08:00
Strahinja Val Markovic
5efd920815 Renaming and documenting the new options. 2014-01-08 19:43:21 -08:00
Strahinja Val Markovic
8090373afd Now can populate the loclist like Syntastic 2014-01-08 19:09:40 -08:00
Strahinja Val Markovic
cb359c0b6a New options for controlling the diag ui 2014-01-08 18:43:17 -08:00
Strahinja Val Markovic
6c01881e1a Replaced Syntastic support with YCM-native code
Currently, the only supported Syntastic features are the error signs in the
gutter. Other features will be added in the future.
2014-01-06 15:24:05 -08:00
Strahinja Val Markovic
cf6211055e Removing the server_idle_suicide_seconds option
This option existed so that the user can tweak it if they found the default idle
timeout too short, for instance if they leave their machine on over the weekend.

This use case is now covered by the new YcmdKeepalive system that pings ycmd
every 10 minutes as long as Vim is running. This prevents ycmd shutting down if
one leaves their Vim instance alone for a long time.

Thus the old option is useless now; ycmd now shuts down after 3 hours of
inactivity, which should only ever happen when its corresponding Vim instance
has shut down abnormally.
2013-11-20 12:33:57 -08:00
Leszek Swirski
167f090cac Fix ycm_path_to_python_interpreter getter 2013-11-15 13:46:10 +00:00
Strahinja Val Markovic
450403044b Adding new g:ycm_path_to_python_interpreter option
Fixes #663
2013-11-14 10:50:53 -08:00
Strahinja Val Markovic
4b6b5709bd Bumping the suicide timer to 24 hours 2013-10-29 11:12:55 -07:00
Strahinja Val Markovic
f3b1233e3c Clarify error about Vim without python 2 support
Should be less confusing to some users. Related to issue #619.
2013-10-28 12:31:31 -07:00
Strahinja Val Markovic
6e782508b3 Now possible to sent Vim data to FlagsForFile func
Fixes #612.
2013-10-26 16:22:43 -07:00
Strahinja Val Markovic
4af2ba0faa Option "shutdown_secs" is now "suicide_secs"
Calling the option server_idle_suicide_seconds should be easier to understand.
2013-10-23 12:33:27 -07:00
Strahinja Val Markovic
b2aa5e3d3f Moving client-only settings out of settings JSON
Since these options are only used on the client, they shouldn't be in
default_settings.json.
2013-10-23 12:30:13 -07:00
Andrea Cedraro
aadb93e889 Fix error on startup caused by malformed expression 2013-10-16 12:25:25 +02:00
Strahinja Val Markovic
436017bd4d Now using new ycm_client_support shared lib
This means we can now load just ycm_client_support (which is a much smaller
library) into Vim and ycm_core into ycmd. Since ycm_client_support never depends
on libclang.so, we never have to load that into Vim which makes things much,
much easier.
2013-10-15 14:15:04 -07:00
Strahinja Val Markovic
8bc888d711 Vim now loads most defaults from the json file 2013-10-07 11:03:29 -07:00
Strahinja Val Markovic
159a8ecdfa YcmDiags and ForceCompilation work again 2013-10-07 11:03:29 -07:00
Strahinja Val Markovic
f51a687297 Server now shuts down cleanly on VimClose 2013-10-07 11:03:26 -07:00
Strahinja Val Markovic
29bb90a6b4 Decoupling completers from Vim; still WIP & broken
Note to self: squash this commit before merging into master.
2013-10-07 11:03:25 -07:00
svermeulen
65bca8b56a Added option to control whether YCM should auto-stop the omnisharp server upon leaving Vim or leave it running. 2013-08-12 16:11:19 -03:00
Andrea Cedraro
ed174f9e31 Add Tagbar to the filetype's blacklist 2013-08-09 15:04:50 +02:00
Andrea Cedraro
7f18d6a559 Add Unite to the filetype's blacklist 2013-07-23 22:51:16 +02:00
Strahinja Val Markovic
c5a76301e8 Starting the OmniSharp server by default
Naturally, only in C# files.
2013-07-17 19:27:46 -07:00
Chiel92
44eaf5a0da Merge https://github.com/Valloric/YouCompleteMe
Conflicts:
	install.sh
2013-07-16 20:59:26 +02:00
Strahinja Val Markovic
5c017bcabf Better check for min supported Vim version 2013-07-12 10:23:01 -07:00
Chiel92
3227e6dc73 checkalivestatus rename 2013-07-08 14:39:43 +02:00
Chiel92
bdd95ff43f variable for csharp server port added 2013-07-08 11:39:17 +02:00
Chiel92
6ec038870b ServerIsRunning fixed and variable defaults set 2013-07-08 11:22:17 +02:00
viszu
eecbbb00bd Add version check for Vim 7.4 2013-07-06 17:34:13 +02:00
Strahinja Val Markovic
5496984931 Option to set min length for suggestions
Only works with the identifier completer. Fixes #387.
2013-06-29 15:43:10 -07:00
Strahinja Val Markovic
04ca6ec4de g:ycm_semantic_triggers now only adds new triggers
Fixes #164.
2013-06-29 11:53:16 -07:00
Strahinja Val Markovic
2741520020 Adding DLL as a valid extension for ycm_core
Fixes #395
2013-06-18 16:50:51 -07:00
Strahinja Val Markovic
ee3ede5040 Adding :: as a semantic trigger for Ruby
Fixes #367.
2013-06-09 11:21:41 -07:00
Strahinja Val Markovic
989967506c Tags file reading is now off by default
As the updated docs now say, this is off by default because it makes Vim slow if
your tags are on a network location.
2013-05-28 13:46:18 -07:00
Strahinja Val Markovic
973064d0bd Can now seed identifier database with keywords
By toggling the g:ycm_seed_identifiers_with_syntax option, the user can now tell
YCM to seed the identifier database with the language's keywords.

This is off by default because it can be noisy. Since the identifier completer
collects identifiers from buffers as the user visits them, the keywords that the
user cares about will already be in the database, regardless of the state of the
new option. So the only keywords added will be the ones the user is not using.

Meh. But people want it so there.

Fixes #142.
2013-05-27 00:08:21 -07:00
Strahinja Val Markovic
454a961318 The identifier completer now reads tags files
See the docs for details. Fixes #135.
2013-05-26 13:33:40 -07:00
Strahinja Val Markovic
f4615c00c0 Separate options for completion in string/comment
We want to turn on completion in strings by default, but not for completion in
comments.
2013-04-24 23:15:13 -07:00
Strahinja Val Markovic
3ae9764451 Force filename completer on #include 2013-04-24 19:59:14 -07:00
Strahinja Val Markovic
3258f324dd Merge branch 'JazzCore-general_completers'
Conflicts:
	python/ycm.py
2013-04-22 22:37:32 -07:00
Strahinja Val Markovic
8d20637295 User can now pick the root for relative paths 2013-04-22 22:30:10 -07:00
Strahinja Val Markovic
14b2220f01 Supporting YcmCorePreload logic
Now the user has the option of writing custom logic before ycm_core.so is
loaded. This can be used to dynamically change the location of where ycm_core.so
is loaded by prepending paths to sys.path.

Very, very few people will need this feature, but I'm one of them so there.
2013-04-22 10:31:16 -07:00
Thomas Refis
be931c1134 adding ocaml support 2013-04-13 18:02:29 +02:00
Strahinja Val Markovic
71e1b71a03 ycm_cache_omnifunc should use the user's value 2013-04-12 15:12:27 -07:00
Jacek Lach
1b4eb6122c Make caching optional in the omnicompleter 2013-04-11 10:22:16 +01:00
Strahinja Val Markovic
bc4e7fb850 Option to disable YCM-Syntastic integration
Fixes #210.
2013-03-25 19:48:07 -07:00
Florian Walch
a2595d6f7e Option to close preview after leaving insert mode
Added the `g:ycm_autoclose_preview_window_after_insertion` option
(similar to `g:ycm_autoclose_preview_window_after_completion`).
If set, the preview window is automatically closed when the user leaves
insert mode.
2013-03-15 20:40:48 +01:00
Strahinja Val Markovic
9b2a214cbe Updating an error message for ycm_core not found 2013-03-11 10:50:08 -07:00
Strahinja Val Markovic
005175d3f3 Filetype whitelist option added.
Also renaming the filetype blacklist option for the sake of symmetry.
Fixes #178.
2013-03-09 20:32:31 -08:00