Dave Halter
|
76ce422590
|
Make refactoring diff path a relative path to the project path
|
2020-02-28 00:17:14 +01:00 |
|
Dave Halter
|
1f773d8e65
|
Refactoring is not allowed for environments and the current version lower than 3.6
|
2020-02-27 23:24:23 +01:00 |
|
Dave Halter
|
0ef8053919
|
Don't use a random grammar for extract
|
2020-02-27 22:50:30 +01:00 |
|
Dave Halter
|
140a45081f
|
Python 3.5 is not supported for refactorings
|
2020-02-27 19:01:08 +01:00 |
|
Dave Halter
|
5614ef2fed
|
Move all the extract stuff into a different file
|
2020-02-25 10:33:31 +01:00 |
|
Dave Halter
|
f8d9f498d0
|
Get a first extract test mostly working
|
2020-02-24 10:12:38 +01:00 |
|
Dave Halter
|
1c0f9e1f30
|
Extract functions properly out of functions
|
2020-02-22 21:24:06 +01:00 |
|
Dave Halter
|
ce1093406a
|
Get some first extract_function stuff working
|
2020-02-22 00:04:11 +01:00 |
|
Dave Halter
|
3457bd77eb
|
Make sure that extract variable works for some ranges
|
2020-02-20 23:34:09 +01:00 |
|
Dave Halter
|
d1f7400829
|
First implementation of extract variable
|
2020-02-15 12:17:29 +01:00 |
|
Dave Halter
|
24114ba631
|
Remove reorder imports. For now this is not a priority
|
2020-02-14 23:56:11 +01:00 |
|
Dave Halter
|
a906a76ccd
|
Don't support refactoring for Python 2
|
2020-02-14 17:19:21 +01:00 |
|
Dave Halter
|
0a3ff6bd70
|
Implement inline refactorings
|
2020-02-14 13:53:41 +01:00 |
|
Dave Halter
|
b4628abc60
|
Some sother small test improvements
|
2020-02-13 09:34:33 +01:00 |
|
Dave Halter
|
41602124c7
|
Prepare remaining refactoring methods that should be implemented at some point
|
2020-02-13 09:27:36 +01:00 |
|
Dave Halter
|
5c246649e2
|
Test renames better and change some small things about the refactoring API
|
2020-02-13 00:19:34 +01:00 |
|
Dave Halter
|
ab4f282b03
|
Move rename function to refactoring
|
2020-02-11 00:18:49 +01:00 |
|
Dave Halter
|
13b393a5e3
|
Get the first rename test passing
|
2020-02-10 17:42:23 +01:00 |
|
Dave Halter
|
f6465c5202
|
Get rid of one more os.getcwd() call
|
2020-02-06 01:51:10 +01:00 |
|
Dave Halter
|
b7919bd3e6
|
Merge branch 'master' into project
|
2020-02-04 23:56:47 +01:00 |
|
Dave Halter
|
40fced2450
|
Actually use follow_builtin_imports and improve the goto docstring, fixes #1492
|
2020-02-04 19:34:42 +01:00 |
|
Dave Halter
|
2c62166ff6
|
Get parser errors working, fixes #1488
|
2020-02-03 22:06:12 +01:00 |
|
Dave Halter
|
ceccbf3678
|
Make the Project API public, fixes #778
|
2020-01-30 19:24:16 +01:00 |
|
Dave Halter
|
dbdd556a2b
|
Add follow_imports to Definition.goto, fixes #1474
|
2020-01-22 18:29:02 +01:00 |
|
Dave Halter
|
bff6e95e28
|
Rename Script.names to Script.get_names, fixes #1476
|
2020-01-22 01:22:46 +01:00 |
|
Dave Halter
|
8cc836e816
|
find_signatures -> get_signatures, see #1476
|
2020-01-22 01:10:38 +01:00 |
|
Dave Halter
|
58f54d8391
|
find_references -> get_references, see #1476
|
2020-01-22 01:06:37 +01:00 |
|
Dave Halter
|
3b6bbab556
|
Infer doctests and signatures uniformly, fixes #1466
|
2020-01-03 00:45:14 +01:00 |
|
Dave Halter
|
47e2cf95d2
|
Change ModuleValue param order and add defaults
|
2020-01-01 17:07:19 +01:00 |
|
Dave Halter
|
50c5eb5786
|
Get doctest completions working, fixes #860
|
2020-01-01 00:59:44 +01:00 |
|
Dave Halter
|
9578e4252b
|
Goto on a function/attribute in a class now goes to the definition in its super class, fixes #1175
|
2019-12-24 12:49:23 +01:00 |
|
Dave Halter
|
eca8278eef
|
Fix an error recovery goto issue, fixes davidhalter/jedi-vim#962
|
2019-12-23 10:09:45 +01:00 |
|
Dave Halter
|
f2a64e24c8
|
Catch an additional case for get_context where the cursor is e.g. on the function name
|
2019-12-22 17:35:40 +01:00 |
|
Dave Halter
|
fcf8506531
|
Add Script().get_context, fixes #253
|
2019-12-22 17:19:01 +01:00 |
|
Dave Halter
|
536fd8c7c0
|
Add the Script.help function, fixes #392
|
2019-12-21 12:46:58 +01:00 |
|
Dave Halter
|
5fc308f1f8
|
call signature -> signature
|
2019-12-20 19:41:57 +01:00 |
|
Dave Halter
|
bd861e40a8
|
Rename references file
|
2019-12-20 19:25:46 +01:00 |
|
Dave Halter
|
e1d787821b
|
usages -> find_references
|
2019-12-20 19:23:26 +01:00 |
|
Dave Halter
|
4bbaec68e8
|
Make sure goto_definitions is no longer used in the main code
|
2019-12-20 18:47:04 +01:00 |
|
Dave Halter
|
f90aeceb27
|
Move names to Script and mark deprecations
|
2019-12-20 17:55:45 +01:00 |
|
Dave Halter
|
ebe9921208
|
Try to use the new API names everywhere
|
2019-12-20 17:29:42 +01:00 |
|
Dave Halter
|
f03c70e577
|
Refactor run.py to use the new API
|
2019-12-20 17:25:44 +01:00 |
|
Dave Halter
|
2cc898ba35
|
Get rid of completions in tests
|
2019-12-20 16:54:51 +01:00 |
|
Dave Halter
|
2b5af19989
|
Fix signature issues
|
2019-12-20 16:14:01 +01:00 |
|
Dave Halter
|
bcf726054e
|
Make sure the line numbers are validated for the new API methods
|
2019-12-20 16:00:49 +01:00 |
|
Dave Halter
|
1514695fc1
|
usages -> find_references, see #1166
|
2019-12-20 15:46:17 +01:00 |
|
Dave Halter
|
f32b0aebeb
|
call_signatures -> find_signatures
|
2019-12-20 15:41:20 +01:00 |
|
Dave Halter
|
6c7b8f669f
|
goto_definitions -> infer; goto_assignments -> goto, see #1166
|
2019-12-20 15:35:19 +01:00 |
|
Dave Halter
|
87d5334b9e
|
completions -> complete, see #1166
|
2019-12-20 15:30:35 +01:00 |
|
Dave Halter
|
45edfbdeeb
|
Goto definition doesn't work on strings anymore, fixes microsoft/vscode#81520
|
2019-12-20 10:29:54 +01:00 |
|