Dave Halter
74fd73d017
Added an undocumented JediLoadProject for now
2020-08-01 13:32:48 +02:00
Dave Halter
e23687462b
Implement :JediChooseEnvironment
2020-07-31 15:06:09 +02:00
Dave Halter
717446dd71
For whatever reason tabs were used as indentation
2019-06-17 20:52:31 +02:00
Dave Halter
9c9a513aaf
Add a goto_stubs command
2019-06-16 09:39:50 +02:00
Daniel Hahler
d3d9a91ae6
init: improve handling of import errors ( #840 )
...
* jedi_vim.jedi_import_error: add location
This is useful for debugging. It contains e.g. the path to parso, if
importing failed from there.
Example:
> Error: jedi-vim failed to initialize Python: jedi#setup_python_imports: could not import jedi: cannot import name 'PythonTokenTypes' (in /…/jedi-vim/pythonx/jedi/jedi/api/completion.py:1). (in function jedi#init_python[3]..<SNR>44_init_python[27]..jedi#setup_python_imports, line 37)
* init: handle jedi_vim.jedi_import_error in Vim plugin
Using `set shortmess+=F` would suppress the `:echom` used in
`jedi_vim.no_jedi_warning` [1].
This patch makes `jedi#setup_python_imports` handle the error instead.
1: https://github.com/neovim/neovim/issues/8675
* Revisit error handling with loading jedi_vim
* jedi#debug_info: display parso submodule separately
* Fix jedi#reinit_python
* fixup! Revisit error handling with loading jedi_vim
* display_debug_info: handle exceptions with environment.get_sys_path
* fixup! Revisit error handling with loading jedi_vim
[ci skip]
2018-07-04 22:12:07 +02:00
Daniel Hahler
82661d515b
Fix restoring alternate terminal with completeopt redirection
...
Fixes https://github.com/davidhalter/jedi-vim/issues/721 .
2017-08-07 20:34:10 +02:00
Daniel Hahler
6411de0cd1
auto_vim_configuration: improve check for changed completeopt setting
...
The user might want to use the default actually.
2017-06-10 12:38:33 +02:00
Daniel Hahler
2ee9ec64d3
Improve GitHub issue template and JediDebugInfo
2017-03-01 23:52:55 +01:00
Daniel Hahler
ac6756a466
Fix default of jedi#auto_vim_configuration back to 1 ( #682 )
...
This was broken in eba90e6 .
2017-02-17 22:11:21 +01:00
Daniel Hahler
eba90e615d
Style fixes (via vint) ( #662 )
...
This also adds a augroup for `jedi#add_goto_window`.
2017-01-29 11:55:55 +01:00
Daniel Hahler
12db7ad364
Add JediClearCache command
...
This can be used to work around issues like
https://github.com/davidhalter/jedi/issues/784 .
2016-10-06 19:15:52 +02:00
Daniel Hahler
ed09c7c1af
Add JediDebugInfo command: display used Python version
...
This command is meant to come in handy to debug problems with jedi-vim.
For now, it will display the Python version that jedi-vim is using.
2015-08-19 23:57:29 +02:00
Daniel Hahler
83d398bc5d
auto-config: set completeopt only if it's the default
...
The setting is also moved from "ftplugin" to "plugin", which allows for
easier customization, e.g. via a FileType plugin.
Ref: https://github.com/davidhalter/jedi-vim/issues/374#issuecomment-97621368
2015-04-30 02:37:36 +02:00
Dave Halter
bf96f7d611
jedi#auto_vim_configuration might not have been set before loading plugin. Therefore check if it was set.
2015-04-02 16:16:17 +02:00
Dave Halter
c9c0198467
Settin nocompatible and filetype pluin n should be part of a jedi#auto_vim_configuration check. Fixes #373 .
2015-03-25 14:05:01 +01:00
David Halter
36e84dd112
jedi-vim doesn't work in compatible mode
2013-08-28 17:10:26 +04:30
David Halter
e534aeee4b
move jedi_vim.py to main folder
2013-08-27 21:49:51 +04:30
David Halter
b9154c7353
plugin is now almost empty, fixes #113
2013-08-27 21:29:45 +04:30
David Halter
eae610a88d
move also the whole python initialization away from plugin.vim
2013-08-27 21:25:05 +04:30
David Halter
c1ec986732
move defaults initialization to autoload
2013-08-27 21:18:24 +04:30
David Halter
ac754b4785
add unused auto-initialization (Python is not a valid filetype)
2013-08-27 11:29:31 +04:30
Zekeriya Koc
7245dff650
fixed variable typo in deprecation function
2013-08-25 17:58:08 +03:00
David Halter
a9c654fe48
added a way to disable completions, as mentioned in #166
2013-08-24 21:22:04 +04:30
David Halter
2b52548b37
use safe vim.eval/vim.command if possible (better tracebacks)
2013-08-24 01:59:41 +04:30
David Halter
d9d5a329f0
good exceptions
2013-08-24 01:30:35 +04:30
David Halter
b5b31aa0e6
huge refactoring, moved new_buffer completely to python code
2013-08-23 23:38:52 +04:30
David Halter
0b8448804d
show_call_signatures shows now all call signatures if there are multiple, and not just one.
2013-08-22 17:18:25 +04:30
David Halter
59be959a3d
show messages when py_import fails
2013-08-22 12:09:53 +04:30
David Halter
1247e258d0
enforce using jedi 0.7
2013-08-22 11:52:47 +04:30
David Halter
100e1ed8cd
move py_import function finally to jedi_vim.py
2013-08-22 11:49:08 +04:30
David Halter
c58fc7c952
moved some Pyimport stuff to autoload and added a new_buffer option
2013-08-22 11:27:38 +04:30
David Halter
748a47e6e9
Pyimport command should respect tab setting
2013-08-22 10:47:13 +04:30
David Halter
a74c3bd29a
fix a few remaining name problems, that have been forgotten
2013-08-20 16:19:42 +04:30
David Halter
6ed0b78c90
deprecate a lot of old definitions how to use functions, use instead the names of jedi functions
2013-08-20 16:17:39 +04:30
David Halter
6ee05f976d
use call_signature_escape instead of the old function_definition_escape, to be compatible with jedi
2013-08-20 15:13:55 +04:30
David Halter
bba9682197
call_signatures instead of function_definition
2013-08-20 15:07:32 +04:30
David Halter
00814ef58d
completions instead of complete
2013-08-20 15:01:09 +04:30
David Halter
e01eadb9ed
automatically initialize filetype plugin on
2013-08-19 15:27:40 +04:30
David Halter
e93976ad44
fix position of call defs cursor
2013-08-18 20:47:04 +04:30
David Halter
6028e0d379
builtin modules cannot be displayed, but show the path where they are located
2013-08-07 10:59:23 +04:30
David Halter
33b58d894c
removed an old description
2013-08-05 16:40:48 +04:30
Guillaume Poulin
ca50a02a86
Modify IndexError to LookupError in tabnew
2013-07-03 02:57:55 +08:00
heavenshell
108cfbdd5d
Add whitespace after .
2013-06-03 20:55:38 +09:00
David Halter
622331afa4
Merge pull request #138 from heavenshell/fix_deprecation_warning
...
Fix not to use deprecated method
2013-05-31 12:07:00 -07:00
heavenshell
9c3e9dbe03
Fix goto() deprecation.
2013-06-01 00:59:49 +09:00
heavenshell
a8422d3682
Fix get_in_function_call() deprecation.
2013-06-01 00:56:04 +09:00
heavenshell
6f107578ee
Fix related_names() deprecation.
2013-06-01 00:50:02 +09:00
heavenshell
355203cab0
Fix goto() deprecation.
2013-06-01 00:47:11 +09:00
heavenshell
e4a2a0f30e
Fix get_definition() deprecation.
2013-06-01 00:41:04 +09:00
heavenshell
efb1997218
Fix show_pydoc() get_definition() deprecation.
2013-06-01 00:37:15 +09:00