Dave Halter
|
129c669bc0
|
Fix private variables in filters.
|
2016-10-15 19:12:46 +02:00 |
|
Dave Halter
|
fce0eff18a
|
Get rid of all names_dicts in the completion api.
|
2016-10-12 03:40:24 +02:00 |
|
Dave Halter
|
482103e796
|
Replace names_dicts with filters in trailer completion.
|
2016-10-12 02:34:50 +02:00 |
|
Dave Halter
|
862e4a6176
|
Add filters for the sub module dicts and module attributes dicts.
|
2016-10-12 02:19:52 +02:00 |
|
Dave Halter
|
9acb5cf1b3
|
Make it possible to do class context completions even for non functions. Fixes #639.
|
2016-08-01 23:13:28 +02:00 |
|
Dave Halter
|
647a4db326
|
Autocomplete inherited methods when overriding in child class. Fixes #458.
|
2016-07-31 23:09:50 +02:00 |
|
Dave Halter
|
aeb734564c
|
Finally fix all tests.
|
2016-07-25 00:15:58 +02:00 |
|
Dave Halter
|
7f2f66f011
|
Trying to refactor the completion stack finding.
|
2016-07-24 17:06:54 +02:00 |
|
Dave Halter
|
42bf193af8
|
Fix for some small issues with the equals.
|
2016-07-20 23:24:29 +02:00 |
|
Dave Halter
|
f20df95074
|
Fix the issues with added equals after params in the wrong places. Fixes #643.
|
2016-07-20 23:19:05 +02:00 |
|
Dave Halter
|
609965d07c
|
Finally fix all python 3.4 tests again.
|
2016-07-01 20:59:24 +02:00 |
|
Dave Halter
|
f7278f5bf1
|
Some more bug fixes for MixedObject.
|
2016-06-30 19:36:21 +02:00 |
|
Dave Halter
|
6b41db96bf
|
Refactor something to use .type instead of isinstance.
|
2016-06-30 09:55:21 +02:00 |
|
Dave Halter
|
969100e471
|
Move the parsing away from user_context to api.py.
|
2016-06-27 08:48:36 +02:00 |
|
Dave Halter
|
0445d51d34
|
Remove the user_scope from the user_context module.
|
2016-06-27 08:35:24 +02:00 |
|
Dave Halter
|
bb4ab45131
|
Don't use UserContextParser.user_stmt anymore, since we can access it directly.
|
2016-06-23 16:36:12 +02:00 |
|
Dave Halter
|
73e71b3c1a
|
Finally able to remove the user_context. This is awesome!
Now we only use the syntax tree to understand where the user is doing something.
|
2016-06-23 16:26:28 +02:00 |
|
Dave Halter
|
672bf9908c
|
Remove path argument from completions, because it's really not needed anymore.
|
2016-06-23 16:11:23 +02:00 |
|
Dave Halter
|
9225db084a
|
user_context is not needed anymore for completions. yay!
|
2016-06-23 09:19:20 +02:00 |
|
Dave Halter
|
77e66e01e3
|
Remove the inference module, it's unused code.
|
2016-06-23 08:49:26 +02:00 |
|
Dave Halter
|
1ab4eb3696
|
Exchange the completion trailer evaluation logic. It's way more consistent now.
|
2016-06-23 08:47:43 +02:00 |
|
Dave Halter
|
cbef4235ff
|
Remove needs_dot and settings.add_dot_after_module. Both are not really used anymore with context completions anymore.
Also the setting doesn't seem to be used anywhere as far as I can tell.
|
2016-06-22 22:52:10 +02:00 |
|
Dave Halter
|
1355ea01b3
|
Simplify completions further to eventually get rid of user_context.
|
2016-06-22 09:15:32 +02:00 |
|
Dave Halter
|
57b1fdaa26
|
Remove code that's not used anymore.
|
2016-06-22 00:31:36 +02:00 |
|
Dave Halter
|
c82691a12b
|
Make goto_definitions a lot simpler.
|
2016-06-11 23:13:04 +02:00 |
|
Dave Halter
|
6b9f96ce13
|
Keyword completion is now possible in a semantic way. This includes better testing and documentation.
|
2016-06-06 18:32:00 +02:00 |
|
Dave Halter
|
028d0a2509
|
After as ther should not follow any completions.
|
2016-06-06 18:08:45 +02:00 |
|
Dave Halter
|
a74d3d6e9a
|
Remove more unused code.
|
2016-06-06 09:29:05 +02:00 |
|
Dave Halter
|
5edcf47512
|
Break Interpreter completion even more in favor of a better solution in the future.
|
2016-06-03 19:31:42 +02:00 |
|
Dave Halter
|
ad8d730a57
|
More test fixes.
|
2016-05-31 01:12:07 +02:00 |
|
Dave Halter
|
4f6368e7eb
|
Now ErrorLeaf and ErrorNode are part of the syntax tree. This makes probably sense. The documentation will follow once it's clear how they will shape out.
|
2016-05-30 00:34:58 +02:00 |
|
Dave Halter
|
feef45f4bb
|
Fixed all on_import tests.
|
2016-05-29 12:08:53 +02:00 |
|
Dave Halter
|
4714b464a6
|
Further import completion improvements.
|
2016-05-28 02:08:43 +02:00 |
|
Dave Halter
|
e4fe2a6d09
|
Now some other tests are working again.
|
2016-05-26 00:35:56 +02:00 |
|
Dave Halter
|
cbba314286
|
Progress and actually passing a few tests.
|
2016-05-26 00:10:54 +02:00 |
|
Dave Halter
|
d4a10929e2
|
Starting to create a way of how context sensitive completions can be made.
This involves playing heavily with the parser pgen2. We use its stack to check for all possible tokens/keywords.
|
2016-05-23 18:11:44 +02:00 |
|
Dave Halter
|
479b3cfab2
|
More completion refactoring. Getting the structure for filtering names right.
|
2016-05-19 12:41:59 +02:00 |
|
Dave Halter
|
5059febed4
|
Fix an issue with a wrongly refactored name.
|
2016-05-19 11:49:59 +02:00 |
|
Dave Halter
|
055ff8be23
|
Readability for completion parts.
|
2016-05-19 11:33:17 +02:00 |
|
Dave Halter
|
323581e253
|
Refactor the completion module.
|
2016-05-19 11:13:42 +02:00 |
|
Dave Halter
|
cfa65a22fa
|
Move the completion specific parts to api/completion.py.
|
2016-05-19 11:08:37 +02:00 |
|