Commit Graph

4251 Commits

Author SHA1 Message Date
Dave Halter cc331d62e0 Get closer to fixing a lot of issues with the completion for repl. 2016-05-15 14:26:22 +02:00
Dave Halter 6266678064 Merge pull request #719 from isamert/master
Add gedit to supported editors list
2016-04-15 14:06:25 +02:00
İsa Mert Gürbüz 53ca0217dd Add gedit to supported editors list 2016-04-15 14:34:24 +03:00
İsa Mert Gürbüz 07c7a69306 Add gedit to editors that uses jedi 2016-04-15 14:32:13 +03:00
Dave Halter da657fb132 Merge pull request #711 from WoLpH/python35
Enabled python 3.5 support
2016-03-31 10:47:31 +02:00
Rick van Hattem 4afc74f1c7 fixing python 3.2 and 3.5 issues 2016-03-31 04:56:17 +02:00
Rick van Hattem 97178dd92b enabled python 3.5 support 2016-03-31 03:27:43 +02:00
Dave Halter 935aec7b71 Merge pull request #701 from mfussenegger/vscode
Add vscode to editors using jedi
2016-03-22 18:58:50 +01:00
Dave Halter ea099e514b Merge pull request #709 from davidhalter/debug-docs
Enhance docs about debugging
2016-03-21 11:30:05 +01:00
Danilo Bargen f5e594970a Enhance docs about debugging 2016-03-21 10:40:58 +01:00
Dave Halter c0242cf5be Merge pull request #705 from tbradshaw/patch-2
Update unsupported features list with "implicit namespace packages"
2016-03-10 12:12:26 +01:00
Travis Bradshaw ac9133aafc Update unsupported features list with "implicit namespace packages" 2016-03-09 22:37:21 -06:00
Mathias Fussenegger a18574246e Add vscode to editors using jedi
The python extension for Visual Studio Code uses Jedi.

As seen here:

    https://github.com/DonJayamanne/pythonVSCode/tree/master/pythonFiles/jedi
2016-03-03 23:02:54 +01:00
Dave Halter 3ac1427242 Merge pull request #693 from chergert/patch-1
Add GNOME Builder to README.rst
2016-02-12 13:18:44 +01:00
Christian Hergert 81e07b866f Add GNOME Builder to list of supported editors
Support is provided out of the box as long as python3-jedi is installed.
Additionally, Builder's implementation includes support for GObject
Introspection (and therefore Gtk).
2016-02-11 13:02:27 -08:00
Dave Halter a307bc384c Merge pull request #689 from sergeyglazyrindev/master
fix for #122
2016-01-26 22:53:54 -02:00
Sergey Glazyrin c2874ff84a fix for #122 2016-01-26 22:54:15 +01:00
Dave Halter beeffd2dcd Some pgen2 tests were always skipped. 2016-01-07 18:55:10 +01:00
Dave Halter 379eb440cd Fix: the parent setting of deep_ast_copy worked the wrong way. 2016-01-07 18:52:06 +01:00
Dave Halter 06cb82830a builtin_methods calculation of iterable works now with the mro. 2016-01-07 15:41:20 +01:00
Dave Halter 8216ff3b11 Merge branch 'linter' of github.com:davidhalter/jedi into linter 2016-01-07 12:30:45 +01:00
Dave Halter 438ba3e14a Ellipsis is still be valid in 2.6/2.7 (for now). 2016-01-07 11:01:00 +01:00
Dave Halter cb7ee00c75 Forgot to include precedence tests. 2016-01-07 10:43:31 +01:00
Dave Halter 43ad4cfeb8 Ellipsis comparisons are working now. Ellipsis was previously ignored. 2016-01-07 10:41:34 +01:00
Dave Halter 5cc27f632d Improve dict comprehension support. 2016-01-02 21:46:14 +01:00
Dave Halter 0acc5256ea Implement imitate_items(), which helps if you use {}.items(). 2016-01-01 12:43:07 +01:00
Dave Halter e193017163 Merge pull request #669 from reingart/master
Update API doc for completions
2015-12-30 12:34:44 +01:00
Mariano Reingart 2ec196fa2e Update API doc for completions
At least in jedi version 0.9.0 the API seems to change to:
 * complete method is now completions
 * words attribute is now name

Example:
```
(venv)reingart@S55t-B:~$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import jedi
>>> jedi.__version__
'0.9.0'
>>> source = '''import json; json.l'''
>>> script = jedi.Script(source, 1, 19, '')
>>> script
<Script: ''>
>>> completions = script.completions()
>>> completions
[<Completion: load>, <Completion: loads>]
>>> completions[1].complete
'oads'
>>> completions[1].name
u'loads'
>>> 
```
2015-12-30 06:03:51 -03:00
Dave Halter 4e93fb344b Dict.values is working now on dict literals. 2015-12-27 23:53:56 +01:00
Dave Halter 48f41c5231 Create a way to register builtin methods the iterable module.
With this it's possible to e.g. register a function Array.dict_values as 'dict.values' with all the proper name resolution stuff.
2015-12-27 23:02:37 +01:00
Dave Halter c0f7e9f820 Fix an issue with predefined_if_name_dict. 2015-12-27 17:30:40 +01:00
Dave Halter 03eaf8455f Dict comprehensions are working partially. 2015-12-27 17:20:49 +01:00
Dave Halter b3f7d0c29a Get Set comprehensions working. 2015-12-27 15:37:27 +01:00
Dave Halter b479e157fc Fix an issue in YieldExpr. 2015-12-26 11:39:37 +01:00
Dave Halter ef3a83a74e Add a link in the finder docstring on how to understand name resolution. 2015-12-26 10:41:26 +01:00
Dave Halter e34c0b336c Add an acknowledgement section in the README. Thank @tkf, @dbrgn and @gvanrossum for their contributions. 2015-12-26 03:32:50 +01:00
Dave Halter cd5701cd41 Clean up licensing a bit. 2015-12-26 03:24:01 +01:00
Dave Halter 2a691eefff Including pgen2 tests from the cpython repo. 2015-12-26 03:15:09 +01:00
Dave Halter 507ddfa4b0 Add the Python 3.5 syntax file. 2015-12-26 03:10:59 +01:00
Dave Halter ab5d0ed72b Starting with Python 3.4 from is not a token that always is a "new" statement. 2015-12-26 02:47:22 +01:00
Dave Halter eb2e41f771 Grammar versioning has now a smoother interface. 2015-12-25 19:30:25 +01:00
Dave Halter a373e34229 The parser without error recovery raises an error now if he's not able to parse something. 2015-12-25 18:53:05 +01:00
Dave Halter 6bad5a924b Making it possible for static analysis tests to be skipped if the python version doesn't match. 2015-12-22 17:37:28 +01:00
Dave Halter 515d096d33 The alternative test runner script shouldn't run on skipped tests. 2015-12-22 11:45:24 +01:00
Dave Halter 936cef97e9 Fix param position lookups. Also forward annotations have the correct resolution path now (starting at the end of the file). 2015-12-22 11:25:32 +01:00
Dave Halter ac294244cf Remove legacy code from FunctionExecution. 2015-12-22 07:37:09 +01:00
Dave Halter 8201fdc5af Merge branch 'pep484' into linter 2015-12-20 23:19:10 +01:00
Dave Halter c15551ccc1 Errortokens should also make the parser fail in the normal parser. 2015-12-20 23:11:52 +01:00
Dave Halter 5791860861 Actual forward reference annotations are working pretty smooth now. 2015-12-20 22:57:41 +01:00
Dave Halter c4906e0e3f Rework the parser so we can use arbitrary start nodes of the syntax.
This also includes a rework for error recovery in the parser. This is now just possible for file_input parsing, which means for full files.
Includes also a refactoring of the tokenizer. No more do we have to add an additional newline, because it now works correctly (removes certain confusion.
2015-12-20 22:25:41 +01:00