Strahinja Val Markovic
38faa0e94e
Adding the ClearCompilationFlagCache subcommand
...
With this command the user can clean the in-memory cache of the compilation
flags that the clang completer uses.
2013-05-24 14:48:46 -07:00
Strahinja Val Markovic
d9f45d576f
Fix breakage of some compile_commands.json users
...
Depending on the user, the PrepareClangFlags rewrite of a few commits ago could
break users with an extra "clang: 'linker' input not used" (or similar) error
message because the compiler executable string was not removed from flags
upstream if the user prepended some flags to the output of PrepareClangFlags
before returning it to the caller of FlagsForFile.
Since the rewrite was supposed to be backwards compatible, this needs
to be handled.
2013-05-24 14:29:33 -07:00
Strahinja Val Markovic
11a7746753
Preventing possible TypeError with StringVec
...
It was possible to get a traceback if results[ 'flags' ] was a StringVec; the
code would try to perform results[ 'flags' ] += self.special_clang_flags and
this would then fail because the clang flags would be a Python list.
2013-05-22 15:47:30 -07:00
Strahinja Val Markovic
ebfd9bfbb4
Updating vimdoc from README
...
Fixes #330
2013-05-20 18:18:01 -07:00
Strahinja Val Markovic
d8f3272dd4
Including :
in the command names in docs
...
This will ensure the correct tag is used when we process readme to create the
vimdoc help file. See #330 .
2013-05-20 18:18:00 -07:00
Strahinja Val Markovic
4389b1f1d8
API docs for ThreadedCompleter
2013-05-20 09:40:04 -07:00
Strahinja Val Markovic
381b86d595
Fixing python tests broken in rename
2013-05-19 20:06:14 -07:00
Strahinja Val Markovic
087cadcfaf
Adding back the Jedi submodule
2013-05-19 19:47:34 -07:00
Strahinja Val Markovic
faa225fdc4
Moving everything under pytho/ycm
2013-05-19 19:44:42 -07:00
Strahinja Val Markovic
acb9099bb9
Removing jedi submodule
2013-05-19 19:37:43 -07:00
Strahinja Val Markovic
10d038dbcd
Running nosetests after install.sh
...
ycm_core.so needs to be built for the tests to run. The python code imports
ycm_core, so it needs to be present.
2013-05-19 14:25:36 -07:00
Strahinja Val Markovic
357fd98747
Tests for helper functions in flags.py
2013-05-19 14:20:13 -07:00
Strahinja Val Markovic
45cbc7da7f
Calling PrepareClangFlags is not needed anymore
...
ycm_extra_conf.py files used to import clang_helpers and then use the
PrepareClangFlags function; this is now unnecessary since the logic from that
function has been moved to flags.py. The old PrepareClangFlags function is still
there (it just returns the flags it gets) for the sake of backwards
compatibility with old ycm_extra_conf.py files.
2013-05-19 10:48:23 -07:00
Strahinja Val Markovic
4978546e62
Refactoring out some pointless sys.path changes
2013-05-19 10:35:42 -07:00
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