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
Strahinja Val Markovic
aafcd4264d
Merge branch 'globlist' of github.com:kljohann/YouCompleteMe into kljohann-globlist
...
Conflicts:
python/completers/cpp/flags.py
2013-02-28 09:51:38 -08:00
Johann Klähn
1d566bad80
Implement white-/blacklisting
2013-02-28 18:15:09 +01:00
Strahinja Val Markovic
95b9eeee18
Merge branch 'master' of github.com:kljohann/YouCompleteMe into kljohann-master
2013-02-26 18:21:46 -08:00
Johann Klähn
e9cce29761
Ask before loading .ycm_extra_conf.py files
...
To prevent the execution of malicious code the new default is
to ask the user before a `.ycm_extra_conf.py` file is loaded.
This can be disabled using the option `g:ycm_confirm_extra_conf`.
This commit introduces a helper class `FlagsModules` that keeps track of
and caches the currently loaded modules. To introduce further criteria
for a module look at `FlagsModules.ShouldLoad`.
Also `:YcmDebugInfo` now lists the file that was used to determine
the current set of flags.
`Flags.ModuleForFile` could be used in a user-facing command that
opens the `.ycm_extra_conf.py` corresponding to the current file.
A second command could then force a reloding of this module via
`Flags.ReloadModule`.
2013-02-26 11:16:26 +01:00
Strahinja Val Markovic
bae3665602
Adding semantic triggers for Go
2013-02-25 19:09:58 -08:00
Daniel Hahler
f78b9dc29c
g:ycm_semantic_triggers: add '::' to triggers for PHP
2013-02-25 11:09:51 +01:00
Strahinja Val Markovic
f71b003e9b
Removing ycm_core.dll as allowed name
...
I'm pretty sure that allowing ycm_core.dll was wrong. Python docs state that the
extension for compiled Python modules on Widows is "pyd"; see this link for more
details: http://docs.python.org/2/faq/windows.html#is-a-pyd-file-the-same-as-a-dll
Key quote from the page:
"Of course, foo.pyd is required if you want to say import foo."
CMakeLists.txt has been previously updated to produce a ycm_core.pyd on Windows,
not a ycm_core.dll.
2013-02-23 16:11:15 -08:00
Val Markovic
3a285e8a31
Merge pull request #122 from cehoffman/cygwin_support
...
Get cygwin compilation working
2013-02-19 00:13:41 -08:00
Chris Hoffman
ee943d7173
Add missing option for ycm_core to be a dll
2013-02-18 23:56:23 -06:00
Strahinja Val Markovic
e743076e14
Option to collect identifiers n comments/strings
...
Fixes #98 .
2013-02-16 14:00:46 -08:00
Strahinja Val Markovic
3f1b5c9283
Option to complete inside comments and strings.
...
Fixes issue #105 .
2013-02-16 12:56:21 -08:00
meh
86881d01dd
Improve default semantic triggers
2013-02-15 04:27:58 +01:00
Strahinja Val Markovic
452f7d1fec
Better triggering of semantic completion
...
Now there's a nice user-configurable setting for when YCM should trigger
semantic completion. This is very useful for the new omni_completer that uses
data coming from Vim's omnicomplete system.
2013-02-11 21:46:06 -08:00
Strahinja Val Markovic
4b5cbdbc9d
Multiple mappings possible for selection cycling
...
This change also makes the arrow keys behave like Tab and Shift-Tab.
Fixes issue #83 .
2013-02-08 18:30:28 -08:00
Strahinja Val Markovic
012102300d
Move the save_cpo lines higher
...
Somehow they drifted downwards. Fixes #56 .
2013-02-06 10:30:50 -08:00
Strahinja Val Markovic
e8a4caa561
Some initial minor MSVC support
2013-02-05 18:57:49 -08:00
Strahinja Val Markovic
8f6ebce42c
Documenting the show-full-diag-message command
2013-01-31 12:32:07 -08:00
Strahinja Val Markovic
79f834f97e
Now possible to specify a global ycm_extra_conf
2013-01-30 13:23:57 -08:00
Strahinja Val Markovic
9b3e009ed1
Mappings can now be easily remapped
2013-01-26 18:45:27 -08:00
Strahinja Val Markovic
43c94de3c2
Gracefully checking for ycm_core on load
...
If the user hasn't compiled ycm_core, then a warning message is printed out.
2013-01-21 17:34:49 -08:00
Strahinja Val Markovic
ca5fe75c67
Changing the default to not add 'preview'
...
This means that from now on, the 'preview' window will not be shown by default
to users for completions.
2013-01-14 20:45:55 -08:00
Strahinja Val Markovic
85d034f3e0
Adding more filetypes to ignore by default
2012-09-04 19:25:07 -07:00
Strahinja Val Markovic
0c17c49a66
Per-filetype turning off of filetype completion
...
So things like the ClangCompleter can be turned off fully and the user can rely
on identifier completion only.
2012-08-15 21:29:43 -07:00
Strahinja Val Markovic
dc2f52edbf
Adding a max_diagnostics_to_display user option
2012-08-15 20:58:21 -07:00
Strahinja Val Markovic
5a9d304c87
Option to auto-close preview window on select
...
The option defaults to off. Some people may find it useful.
2012-08-06 21:29:56 -07:00
Strahinja Val Markovic
15561b9f1e
Adding 'preview' to completeopt if not forbidden
...
The user can opt-out of this, but we set it by default since most people don't
know that the option exists. Those that are annoyed by it can just toggle an
option in their vimrc.
2012-08-05 19:55:06 -07:00
Strahinja Val Markovic
d0f62d1205
Initial, rough version of completer separation
...
We are trying to build a nice plugin-oriented architechure for loading varios
completer objects.
2012-08-04 17:46:54 -07:00
Strahinja Val Markovic
2888cbf5c8
Check for python on plugin init
2012-08-02 20:38:15 -07:00
Strahinja Val Markovic
287d01c8b3
Setting updatetime to 2000 if user allows
2012-08-02 20:32:29 -07:00
Strahinja Val Markovic
45cccd09ac
Refactored variable defaults setting
...
Now the all use the same style.
2012-08-02 20:28:25 -07:00
Strahinja Val Markovic
958a008462
Adding diagnostic extraction support
...
Next step is to add support to Syntastic so that it uses this new functionality
2012-07-28 15:27:30 -07:00
Strahinja Val Markovic
ac74389f4b
Grouping variable declarations
2012-07-26 13:04:49 -07:00
Strahinja Val Markovic
68156e8b47
Merge branch 'master' into dev
...
Conflicts:
autoload/youcompleteme.vim
2012-07-26 12:59:06 -07:00
Strahinja Val Markovic
cfede619f2
Added flag to turn off clang completion if desired
2012-07-23 11:15:25 -07:00
Strahinja Val Markovic
ad859ee002
Using the pyeval func introduced in vim 7.3.584
...
This makes the whole plugin much faster since we now don't need to serialize and
deserialize the return values from python funcs before we can use them in Vim.
Oh God I've been waiting for something like this for so long... using this also
forces us to demand vim 7.3.584 or higher.
2012-07-21 10:10:19 -07:00
Strahinja Val Markovic
be41be5323
Can now ignore filetypes plugin-wide
2012-07-16 14:44:50 -07:00
Strahinja Markovic
1a08eb9ce0
Updating copyright line
2012-04-15 20:28:46 -07:00
Strahinja Markovic
156a1882e1
Initial import
2012-04-15 16:57:10 -07:00