100 Commits
Author SHA1 Message Date
Dave HalterandGitHub 130ce7fb79 Merge pull request #1124 from adamency/master
Add Neovim Installation Requirements
2024-07-06 15:05:52 +00:00
Dave HalterandGitHub 9bd79ee41a Merge pull request #1117 from dundargoc/checkhealth
Replace deprecated checkhealth syntax with newer syntax
2023-12-30 00:15:14 +00:00
Dave HalterandGitHub b82da7d2b5 Merge pull request #1115 from jgb/master
update jedi to v0.19.1
2023-10-09 17:19:17 +00:00
Dave HalterandGitHub 338af171ea Merge pull request #1112 from jgb/master
update jedi to v0.19.0
2023-07-31 22:39:54 +00:00
Dave HalterandGitHub 42c2af1812 Merge pull request #1106 from jgb/master
update jedi to v0.18.2
2023-04-11 15:55:50 +00:00
Dave HalterandGitHub c5d5d2e3b4 Merge pull request #1105 from hawkins/patch-1
Remove mention of Python 2.7 support in installation instructions
2023-04-10 21:25:51 +00:00
Dave HalterandGitHub be483a2dcb Merge pull request #1097 from jamescherti/rename-that-do-not-delete-word
Add a keyboard mapping to rename  variables/functions/classes without deleting the word under the cursor
2022-12-28 19:46:41 +00:00
Dave HalterandGitHub e073385976 Merge pull request #1088 from Jakuje/patch-1
Update link to Fedora package
2022-12-24 23:40:23 +00:00
Dave HalterandGitHub 6b8013c480 Merge pull request #1095 from Konfekt/popup
fix typo
2022-11-23 09:11:09 +00:00
Dave HalterandGitHub 28a6765ecc Merge pull request #1093 from Konfekt/popup
prefer popup over preview window
2022-11-21 22:50:46 +00:00
Dave HalterandGitHub e82d07faa1 Merge pull request #1082 from jamescherti/buffer_jedi_added_sys_path
Add the buffer-local option 'b:jedi_added_sys_path'
2022-04-08 15:07:48 +02:00
Dave HalterandGitHub 32d05f7742 Merge pull request #1076 from jamescherti/case-insensitive
Add option to enable/disable case insensitive completion
2022-01-30 12:33:41 +01:00
Dave HalterandGitHub 08ad42efed Merge pull request #1074 from blueyed/bump-parso
Update parso submodule to 0.8.3 (from 0.8.2)
2022-01-17 19:26:34 +01:00
Dave HalterandGitHub f5aad68bec Merge pull request #1073 from blueyed/fixup-1059
get_project: simplify getting b:jedi_environment_path override
2022-01-17 19:22:23 +01:00
Dave HalterandGitHub e1afc904e4 Merge pull request #1072 from ThomasBlauth/default_setting
Fix added_sys_path default setting
2022-01-17 09:23:57 +01:00
Dave HalterandGitHub 030211555d Merge pull request #1068 from jgb/master
Update jedi to v0.18.1 and parso to v0.8.2
2021-11-17 22:33:56 +01:00
Dave HalterandGitHub 6812ce11b7 Merge pull request #1059 from jamescherti/buffer_jedi_environment_path
The buffer-local variable `b:jedi_environment_path`
2021-06-22 21:34:08 +02:00
Dave HalterandGitHub 8763462331 Merge pull request #1049 from SeungChan92/master
Add missing item in manual index
2021-03-17 23:32:13 +01:00
Dave HalterandGitHub 6e6738758f Merge pull request #1048 from SeungChan92/master
Support adding extra sys_path
2021-03-16 23:38:49 +01:00
Dave HalterandGitHub 088469a8ee Merge pull request #1045 from Konstantin-Glukhov/master
Use helper function relpath() instead of os.path.relpath()
2021-02-26 11:18:52 +01:00
Dave Halter 5d4615707f Fix a refactoring error, fixes #1041 2021-01-30 15:38:01 +01:00
Dave HalterandDaniel Hahler 960eaa8053 Typo
Co-authored-by: Daniel Hahler <git@thequod.de>
2021-01-03 03:06:44 +01:00
Dave Halter acd9182131 Fix some comments in signature test 2021-01-03 03:06:44 +01:00
Dave Halter 04c708cbfc Useful examples for environment_path 2021-01-03 03:06:44 +01:00
Dave Halter 91312f1755 Run CI on pull requests 2021-01-03 03:06:44 +01:00
Dave Halter e02fa9dc10 Upgrade Jedi to 8ef2ce232cebf6f30b41b28b2677d84666a97d55 2021-01-03 03:06:44 +01:00
Dave Halter d7be014c54 Namespaces cannot be shown properly, fixes #815
This only works with Jedi commit 2ec3d72151d1072fa22861aef07ba6fc170e3781
Once using that commit, namespaces will be used properly.
2021-01-02 12:15:25 +01:00
Dave Halter e96eba9f53 Use relative paths when accessing a buffer 2021-01-02 04:05:46 +01:00
Dave Halter e4daf7a74c Fix a test around signatures that was failing sometimes 2021-01-02 04:05:24 +01:00
Dave Halter 3a1c900a26 Remove Python 2 stuff 2020-12-27 00:44:17 +01:00
Dave HalterandGitHub 57757bd334 Merge pull request #1025 from davidhalter/jedi-api
Use the new Jedi API
2020-12-26 23:47:32 +01:00
Dave Halter ea52ca5305 Try to use GitHub Actions 2020-12-26 23:38:46 +01:00
Dave Halter 04ba9a2430 A small fix 2020-12-25 17:44:22 +01:00
Dave Halter dc0fdc55cb Updated jedi and parso 2020-12-25 12:45:23 +01:00
Dave Halter a76965238a Fix the project choice 2020-10-23 17:45:40 +02:00
Dave Halter 6193c9fd95 Remove the Python 2 support
It should mostly still work (except for :Pyimport), but it won't pass all the tests anymore.
Since I'm dropping Python 2 in Jedi anyways, it makes sense to also remove it here.
2020-08-04 15:22:38 +02:00
Dave Halter acbb712906 Try and update the CI from Ubuntu 16.04 to 18.04 2020-08-04 15:11:30 +02:00
Dave Halter 48b3e5c0e7 In older versions of VIM bufname needs an argument 2020-08-04 15:07:39 +02:00
Dave Halter 74fd73d017 Added an undocumented JediLoadProject for now 2020-08-01 13:32:48 +02:00
Dave Halter 6efd966481 Remove multi definition tests that are not really working anymore because of changes in Jedi 2020-08-01 12:01:54 +02:00
Dave Halter 862fbbc8a9 Add a choose-venv test 2020-08-01 11:16:57 +02:00
Dave Halter 87abaf0781 Fix goto issues 2020-08-01 00:30:54 +02:00
Dave Halter 01e6e6bcf7 Fix debug info 2020-08-01 00:15:46 +02:00
Dave Halter 2c157e323e Fix documentation tests 2020-08-01 00:12:24 +02:00
Dave Halter 6edda9063a Make choose environment buffer disappear if it's not visible anymore 2020-07-31 20:25:12 +02:00
Dave Halter e23687462b Implement :JediChooseEnvironment 2020-07-31 15:06:09 +02:00
Dave Halter 104d817f0c environment_path needs to be defined properly 2020-07-30 18:37:27 +02:00
Dave Halter 2949389be4 Describe the environment_path option properly 2020-07-30 18:16:35 +02:00
Dave Halter c4fc2cde8c Use projects instead of environments 2020-07-30 15:45:12 +02:00
Dave Halter 5858a999de Unify Pyimport and goto 2020-07-30 14:36:40 +02:00
Dave Halter 1e9bdc863a definition -> name, because Jedi calls it name now 2020-07-30 14:18:33 +02:00
Dave Halter 3a27747773 Use the project.search function 2020-07-30 14:00:16 +02:00
Dave Halter 4ca918e830 Use the new API instead of the deprecated one 2020-07-30 13:47:53 +02:00
Dave Halter a0207fadf9 Instead of zip completions (for tests) use something else, see discussions in #1020 2020-06-30 09:24:28 +02:00
Dave HalterandGitHub 5dd5631027 Merge pull request #990 from blueyed/fix-goto
Fix "goto" with multiple results
2020-02-02 18:53:08 +01:00
Dave HalterandDaniel Hahler 2572136fcb Add a funding button to github (#976) 2020-01-01 14:14:45 +01:00
Dave HalterandDaniel Hahler d57edde2e8 Update tests 2019-12-20 17:20:02 +01:00
Dave Halter 12e97c7a04 Make sure call signatures are cleared before they are calculated again 2019-12-05 01:02:58 +01:00
Dave HalterandGitHub 016fb7c78e Merge pull request #915 from davidhalter/typeshed
With typeshed coming to Jedi, builtin modules should be displayed
2019-06-23 01:13:14 +02:00
Dave Halter e736eea934 Use staticmethod for call signature tests instead of str
str has different signatures for Python 2 and 3 and is therefore annoying to test.
2019-06-21 00:28:18 +02:00
Dave Halter 6c6b4dcf92 Make sure that formatting happens on unicode 2019-06-20 23:56:46 +02:00
Dave Halter 73289427ba Modules should be accessible if column is not None 2019-06-20 23:46:34 +02:00
Dave Halter 1a053d2a23 Fix some call signature tests 2019-06-20 23:37:43 +02:00
Dave Halter 636ad08d32 Get rid of documentation about pip install jedi
pip install jedi doesn't work with properly with virtualenvs, if jedi-vim is
used.
2019-06-20 23:15:16 +02:00
Dave Halter d32962f3b2 Upgrade Jedi to 0.14.0 and parso to 0.5.0 2019-06-20 22:38:57 +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
Dave Halter f26b2a8802 Change supported Python version in docs 2019-03-22 12:40:28 +01:00
Dave Halter 23c14f6826 With typeshed coming to Jedi, builtin modules should be displayed
(If there's a module_path (which most will have)).

This change is still backwards compatible and can be used with older Jedi
versions (<0.14.0).
2019-03-09 13:35:56 +01:00
Dave Halter 1f7e661d9d Upgrade parso 2019-02-24 18:59:53 +01:00
Dave Halter c6fe4fee76 Upgrade Jedi to latest 2019-02-24 18:59:29 +01:00
Dave Halter ea5e87a703 Remove jedi.NotFoundError, because that was removed quite a while ago, see #899 2019-02-17 18:04:15 +01:00
Dave HalterandGitHub b33392c8c8 Merge pull request #864 from blueyed/nvim (neovim testing)
Testing is now alow possible with Neovim
2018-07-30 18:09:45 +02:00
Dave Halter e7cb9a186e Also add remove_usages on InsertEnter 2018-07-15 19:26:11 +02:00
Dave Halter b5774a9554 Add an augroup for usages 2018-07-15 19:26:11 +02:00
Dave Halter f0d80048f1 Remove usages after text has changed in normal mode 2018-07-15 19:26:11 +02:00
Dave Halter 9e2244c44e Use standout/reverse instead of yellow for jediUsages
It uses cterm=reverse, which is supported by current Neovim, and at
least for xterm and rxvt-unicode reverse and standout are the same.

See `infocmp`:

> smso=\E[7m / rev=\E[7m
2018-07-15 19:26:11 +02:00
Dave Halter cc087ef463 Somehow show_goto_multi_results was called without arguments
This was obviously wrong and fixed by inserting the obvious param
2018-07-15 19:26:11 +02:00
Dave Halter efaef9cee3 Rename was in the wrong spot when using it at the end of a line. 2018-07-15 19:26:11 +02:00
Dave Halter 58561d45f1 Fix renaming and also highlight the renamed classes. 2018-07-15 19:26:11 +02:00
Dave Halter 84b8eeb954 Highlight usages
Use matchaddpos to highlight usages in the current file.
2018-07-15 19:26:11 +02:00
Dave Halter 2bb7677b43 Make it clearer which versions make check requires 2018-07-14 15:39:02 +02:00
Dave Halter 81ada14f0b Upgrade jedi to 0.12.1, forgot to upgrade it when upgrading parso
a79a1fb Merge branch 'parso'
58141f1 Don't use requirements for now, and use the git version instead in tox
e0e2be3 Add a better comment about why people need to upgrade parso
1e7662c Prepare release of 0.12.1
68974ae Don't use internal parso APIs if possible
c208d37 Remove code that is no longer used, because parso was refactored.
3847406 Make jedi work with the next parso release
95f835a Force unicode when listing module names
282c6a2 Use highest possible pickle protocol
ea71ded Include stderr with "subprocess has crashed" exception (#1124)
106b11f Set stdout and stdin to binary mode on Python 2 and Windows
f9e90e8 Use system default buffering on Python 2
197aa22 Use cPickle on Python 2 if available
e96ebbe Add tests for DefaultDict support.
55941e5 Add support for DefaultDict on jedi_typing.py.
ff4a773 Parse correct AST attribute for version
70c2fce Replace distutils.spawn.find_executable with shutil.which
5dab97a Add an error message, see also #1139.
e2cd228 Dict comprehension items call should now work, fixes #1129
c1014e0 Fix flow analysis test
62a3f99 Fix a wrong branch check, fixes #1128
6ebe3f8 Drop 3.3 tests from travis
50812b5 A simple yield should not cause an error, fixes #1117
d10eff5 Travis: report coverage also to codecov.io
6748faa Fix _get_numpy_doc_string_cls: use cache
fc14aad Fix namespace autocompletion error
3c909a9 Travis: remove TOXENV=cov from allowed failures
b94b45c Environment._get_version: add msgs with exceptions
a95274d None/False/True are atom non-terminals in the syntax tree, fixes #1103
8d48e74 When searching submodules, use all of __path__, fixes #1105
9149956 Specially crafted docstrings sometimes lead to errors, fixes #1103
ba96c21 Follow up from the last async issue, fixes more related things about #1092.
8494164 Fix an async funcdef issue, fixes 1092.
4075c38 In some very rare cases it was possible to get an interpreter crash
because of this bug. Fixes #1087
0bcd170 Start using our own monkeypatch function for some things
ceb5509 Include function return type annotation in docstring if it is present
88243d2 Don't catch IndexError where we don't have to
5f37d08 Extend create_environment to accept an executable path
aa6857d check_fs: handle FileNotFoundError
2018-07-14 12:31:11 +02:00
Dave Halter a54729ef63 Use the official Jedi goto API instead of multiple calls
Fixes #802.
2018-07-04 00:03:11 +02:00
Dave Halter 6781eb17da Small documentation change 2018-05-09 16:04:47 +02:00
Dave Halter 5ad782d920 Remove a strange sentence 2018-05-09 16:04:47 +02:00
Dave Halter 835e329883 Some improvements for the virtualenv patch 2018-05-09 16:04:47 +02:00
Dave Halter 49fa267e59 The jedi API changed a bit 2018-05-09 16:04:47 +02:00
Dave Halter fa1aaa10cf Fix the jedi-vim debug tool, fixes #795 2018-05-09 16:04:47 +02:00
Dave Halter e54a17ec71 Document force_py_version better 2018-05-09 16:04:47 +02:00
Dave Halter 48a9ea085d Force the Python environment correctly 2018-05-09 16:04:47 +02:00
Dave Halter 72a2643f7c Use the environment for completions. 2018-05-09 16:04:47 +02:00
Dave Halter 57cbf1421f Somehow the virtual env prefix is set in VIM.
This basically corrupts VIM's Python, because it might be having a differnet prefix (Python 3.6) than sys path. I don't know who came up with this - probably it's just how Python loads venvs - but it's definitely not good. Fortunately we can just reset it and be happy.
2018-05-09 16:04:47 +02:00
Dave Halter 37bd03c3d5 An or is not needed
This comparison is useless, because the case where the module_path is None is already looked at in a previous if
2018-02-01 00:27:42 +01:00
Dave Halter 79ced22a37 Handle the module_path better for namespaces
See also discussion in davidhalter/jedi#1033
2018-01-30 00:16:35 +01:00
Dave Halter 31ebd30c31 Upgrade jedi and parso 2017-12-14 23:06:18 +01:00
Dave Halter 77924398bd Add a comment to clarify why we I used longest 2017-10-19 09:20:43 +02:00
Dave Halter 8e0cefc371 The parso sys path was not properly set 2017-10-19 09:20:43 +02:00
Dave Halter bbd456c016 Update jedi to 0.11.0 2017-10-19 09:20:43 +02:00
Dave Halter 41507bab99 Use single quoted strings 2017-10-19 09:20:43 +02:00