Commit Graph

594 Commits

Author SHA1 Message Date
Val Markovic
468e245bcb Merge pull request #328 from JazzCore/jedi_keyword_check
Use new Jedi API for keyword checking in goto funcs
2013-05-18 14:26:54 -07:00
Stanislav Golovanov
df7d51aeda Use new Jedi API for keyword checking in goto funcs
Fixes #320
2013-05-18 23:47:49 +04:00
Val Markovic
ce7d3a0fc2 Merge pull request #327 from JazzCore/jedi_upstream_fixes
Switch to upstream Jedi API
2013-05-18 00:10:47 -07:00
Stanislav Golovanov
9f1f329823 switch to upstream Jedi API
This replaces deprecated API calls to the new ones. Also this
partially fixes #320.
2013-05-18 09:40:08 +04:00
Val Markovic
4b433ba96b Merge pull request #321 from pjg/patch-1
More detailed Eclim configuration instructions
2013-05-15 15:53:35 -07:00
Paweł Gościcki
8fe6b87e45 More detailed Eclim configuration instructions
Knowing those two things (that you need to run latest Eclipse Juno) and you need to create a new project from vim would have saved me a lot of time when trying to make it all work.

I think it's worth adding this information to the README.
2013-05-15 13:15:42 +03:00
Strahinja Val Markovic
d4ca726fac Minor README typo fix 2013-05-11 14:15:34 -07:00
Strahinja Val Markovic
4b039e2102 Using BufUnload instead of BufDelete
Seems to be more robust. This should help with memory consumption when using the
clang_completer. See issue #184.
2013-05-11 13:49:48 -07:00
Strahinja Val Markovic
7bb7e20f8d Revert "[filename_completer] Append '/' to [DIR] automatically"
This reverts commit 48d6a5378c.
2013-05-11 12:24:35 -07:00
Val Markovic
1a2ff2c1af Merge pull request #315 from zhaocai/feature/slash
[filename_completer] Append '/' to [DIR] automatically
2013-05-11 12:15:09 -07:00
Zhao Cai
48d6a5378c [filename_completer] Append '/' to [DIR] automatically 2013-05-11 02:21:19 -04:00
Strahinja Val Markovic
2b23245422 Minor refactoring & style cleanup 2013-05-09 20:28:04 -07:00
Val Markovic
48281d1379 Merge pull request #304 from JazzCore/subcommand_complete
Add subcommand completion for :YcmCompleter command
2013-05-09 20:21:26 -07:00
Val Markovic
3a984f938e Merge pull request #308 from JazzCore/fix_307
fix IndexError when min_num_of_chars is set to 0
2013-05-09 20:15:40 -07:00
Val Markovic
eb7089794e Merge pull request #309 from JazzCore/cpp_fix
Fix FilterAndSortCandidates behavior
2013-05-09 20:14:45 -07:00
Strahinja Val Markovic
0c19ee4fa7 Updating to latest Jedi 2013-05-09 11:08:11 -07:00
Stanislav Golovanov
e5c99428f3 fix IndexError when min_num_of_chars is set to 0
Fixes #307. Error is thrown when g:ycm_min_num_of_chars_for_completion
option is set to 0 user tries to delete an identifier which starts at
the beginning of the line.
2013-05-09 22:02:47 +04:00
Stanislav Golovanov
0edec9c95a Add subcommand completion for YcmCompleter command 2013-05-09 21:55:55 +04:00
Stanislav Golovanov
837a1ab889 Fix FilterAndSortCandidates behavior
FilterAndSortCandidates(completions, 'word', '') should
return a dict, not a list.
2013-05-09 21:33:10 +04:00
Val Markovic
06b1daf1b3 Merge pull request #302 from vargad/master
Fixed argument pass problem
2013-05-08 20:34:45 -07:00
Dániel Varga
27011adade Fixed argument pass problem
Pass additional arguments to cmake.
2013-05-08 20:31:12 +02:00
Strahinja Val Markovic
686f7951a7 Updating vimdoc from readme 2013-05-05 10:19:05 -07:00
Strahinja Val Markovic
88bff3f5cf Making -fPIC the default
Fixes #211
2013-05-05 10:00:32 -07:00
Strahinja Val Markovic
bec04aaa04 Updating docs to mention Python GoTo* support 2013-05-05 09:49:37 -07:00
Strahinja Val Markovic
7f676f85ae Code style fixes 2013-05-05 09:47:56 -07:00
Val Markovic
f25bf2f6c8 Merge pull request #292 from JazzCore/goto_python
Add Go To features for python
2013-05-05 09:47:32 -07:00
Stanislav Golovanov
54fabc1816 style fixes 2013-05-05 13:27:23 +04:00
Stanislav Golovanov
54e6a9f594 Add GoToDefinitionElseDeclaration for python 2013-05-04 22:48:27 +04:00
Stanislav Golovanov
f246f5b8c6 remove not needed type casting 2013-05-04 22:47:37 +04:00
Stanislav Golovanov
c2024edbaa Add GoTo features for python
This adds a Go To Definition and Go To Declaration features for
python.
2013-05-04 03:11:10 +04:00
Strahinja Val Markovic
7cef111e01 Updated vimdoc from readme 2013-04-30 10:18:15 -07:00
Val Markovic
c6b18a81d2 Merge pull request #285 from JazzCore/windows_fixes
fix compiling with clang on Windows
2013-04-29 12:53:24 -07:00
Stanislav Golovanov
6b018db10f fix compiling with clang on Windows
This fixes a Visual Studio problem when it cant correctly select
bind and make_shared boost methods due to Argument-dependent name lookup.

Relevant to #19
2013-04-29 21:41:49 +04:00
Strahinja Val Markovic
df7026e9b6 Fix error on YcmDebugInfo in quickfix window
Fixes #283
2013-04-28 15:52:22 -07:00
Strahinja Val Markovic
387102a99f Fix ranking bug with ALL_CAPS variables
GetWordBoundaryChars would return "allcaps" for "ALL_CAPS" instead of "ac". This
would manifest as ranking (for instance) "STDIN_FILENO" ahead of "stdin" for
query "std", which is terrible.

This bug has been present in YCM for many months, but no one noticed the issue.

Fixes #272.
2013-04-28 13:21:13 -07:00
Strahinja Val Markovic
a80739ad6f Not adding -Wc++98-compat on FreeBSD
Fixes #260
2013-04-27 11:07:53 -07:00
Strahinja Val Markovic
67e4495273 Stopgap for unicode chars in filename strings
Such filenames still can't be matched against, but at least we won't throw an
exception when it happens.

Fixes #279, relevant to #278
2013-04-27 10:54:28 -07:00
Strahinja Val Markovic
440e3b6f38 Adding complexity check to flake8 call 2013-04-26 22:33:30 -07:00
Strahinja Val Markovic
209f2fd777 Minor refactoring for simplicity 2013-04-26 22:32:22 -07:00
Strahinja Val Markovic
e41eda91ac pyflakes checking for Travis build bot 2013-04-26 22:14:06 -07:00
Strahinja Val Markovic
cb7ee5e3c1 ycm_extra_conf.py file now in the public domain
It was never supposed to be licensed under the GPL since it's effectively
example code (that's also used for YCM compilation flags, but still).

No one has ever edited this file except me, Strahinja Val Markovic, and thus I
can release it into the public domain.
2013-04-26 15:25:19 -07:00
Strahinja Val Markovic
5207918432 Fix bug with [File] being shown instead of [Dir]
This is for filename completion in the case of C-family include completion. The
path was being assembled incorrectly so os.isdir() was getting the wrong path
and then could not see was it a directory.
2013-04-26 14:10:48 -07:00
Strahinja Val Markovic
840930ce09 Fixing minor regressions from general store commit
A few Completer methods that should have been forwarded to general completers
were not. This broke the identifier completer picking up the current identifier
right after it's typed in.
2013-04-25 15:36:56 -07:00
Val Markovic
dd8ca0cce2 Merge pull request #276 from JazzCore/ultisnips_unicode
fix UnicodeEncodeError in ultisnips_completer
2013-04-25 15:17:36 -07:00
Stanislav Golovanov
4d138b2b7f fix UnicodeEncodeError in ultisnips_completer
Fix a rare exception when a description of UltiSnips snippet contains
unicode symbols.

Fixes #274
2013-04-26 00:42:02 +04:00
Strahinja Val Markovic
a9215f10fe Including current file dir for #include "" form
Relevant to issue #273
2013-04-25 12:56:32 -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
663873255f Filename completer now uses include paths
It's also smart enough to trigger filename completion right after '#include "'.

Fixes #261
2013-04-24 22:51:53 -07:00
Strahinja Val Markovic
3ae9764451 Force filename completer on #include 2013-04-24 19:59:14 -07:00
Strahinja Val Markovic
7500a94cda Use OnBufferVisit in ultisnips completer
This is instead of OnFileReadyToParse which is called every time the users stops
typing.
2013-04-24 13:31:28 -07:00