Commit Graph

  • 851980e2a9 Document errors better Dave Halter 2020-03-14 15:07:58 +01:00
  • 88c766afb0 Better docstrings for search Dave Halter 2020-03-14 15:00:47 +01:00
  • 13254a30df Docs: Restructure API overview Dave Halter 2020-03-14 14:28:06 +01:00
  • 50af2650bb Docs: features reworked Dave Halter 2020-03-14 13:58:30 +01:00
  • 788562715e Update the README with the latest API changes Dave Halter 2020-03-14 12:21:55 +01:00
  • 0888dd468f Fix partialmethod issues Dave Halter 2020-03-14 01:20:10 +01:00
  • fd9a493868 Make sure partialmethod tests are only executed for Python 3 Dave Halter 2020-03-14 00:40:53 +01:00
  • 661fdb2b26 Merge branch 'add-partialmethod' of https://github.com/ffe4/jedi Dave Halter 2020-03-14 00:28:06 +01:00
  • 23f267bb86 Fix small make html errors for docs Dave Halter 2020-03-14 00:18:29 +01:00
  • 4af138f4fb Merge branch 'docs' of https://github.com/blueyed/jedi into refactor Dave Halter 2020-03-14 00:12:19 +01:00
  • 10bc578bfe Merge branch 'master' into refactor Dave Halter 2020-03-13 23:53:09 +01:00
  • 2406e58386 Refactor stdlib PartialObject #1522 Daniel Lemm 2020-03-13 23:47:48 +01:00
  • 5cd212c51c Merge branch 'expandtab' of https://github.com/Carreau/jedi Dave Halter 2020-03-13 23:38:19 +01:00
  • fd6540a9e5 Fix PartialMethodObject (WIP) Daniel Lemm 2020-03-13 21:40:58 +01:00
  • 521e240c5f Changed semantics of ClassVar attributes in classes, fixes #1502 Dave Halter 2020-03-13 12:53:05 +01:00
  • b4fa42a282 Avoid duplicate definitions for goto, fixes #1514 Dave Halter 2020-03-13 02:22:05 +01:00
  • fb72e1b448 Merge _remove_statements and infer_expr_stmt, fixes #1504 Dave Halter 2020-03-13 00:50:25 +01:00
  • da9d312185 Remove redundant attribute check Peter Law 2020-03-12 22:06:13 +00:00
  • 96c969687a Add partialmethod, fixes #1519 Daniel Lemm 2020-03-12 18:40:28 +01:00
  • f83844408f Some minor refactorings for string quotes Dave Halter 2020-03-11 19:31:12 +01:00
  • b247423184 Indentation Dave Halter 2020-03-11 19:26:59 +01:00
  • 9c77113e21 Fix string completions with quote prefixes, fixes #1503 Dave Halter 2020-03-11 19:26:42 +01:00
  • 91857c2c0a Fix issues with iter_module_names Dave Halter 2020-03-11 00:19:40 +01:00
  • 886dadaaff Skip more tests for Python 2/3.5 Dave Halter 2020-03-10 20:17:39 +01:00
  • d574162da3 Fix namedtuple docstring/signature issues, fixes #1506 Dave Halter 2020-03-10 20:07:10 +01:00
  • 0aa1ef6639 Move an import to the top Dave Halter 2020-03-10 09:36:45 +01:00
  • 33c61b8708 Make a method public Dave Halter 2020-03-10 09:35:03 +01:00
  • bedf3bff0e Add Project.complete_search instead of the complete param Dave Halter 2020-03-10 08:29:31 +01:00
  • d838eaecd2 Implement Script.complete_search instead of the complete param and return Completion objects Dave Halter 2020-03-09 23:55:17 +01:00
  • cf3d83ee4f Don't mix up caches for stubs and python files Dave Halter 2020-03-09 17:48:36 +01:00
  • 7247c32990 Refactor load_module_from_path to be simpler Dave Halter 2020-03-09 17:37:57 +01:00
  • 75ae73ee97 Load -stubs packages properly in _load_python_module Dave Halter 2020-03-09 17:27:51 +01:00
  • 753440682e Some further testing of code search with stubs Dave Halter 2020-03-08 15:12:57 +01:00
  • 53f39c88e4 Try to fix a few more stub issues in search Dave Halter 2020-03-08 15:02:00 +01:00
  • d3e3021a3d Care better about stubs for code search Dave Halter 2020-03-08 13:16:06 +01:00
  • e46e1269a2 Finally use the string_names attribute to identify module names instead of some fucked up path calculation. Dave Halter 2020-03-08 12:58:44 +01:00
  • a5f7412296 Load stub modules if it's a stub Dave Halter 2020-03-08 11:51:39 +01:00
  • b198434694 Remove resolved TODO Peter Law 2020-03-07 20:29:14 +00:00
  • 58998748e3 Make it clear in search tests if a stub or a normal definition is expected Dave Halter 2020-03-07 20:43:57 +01:00
  • 6bddca011c Listing modules is no longer done by a subprocess Dave Halter 2020-03-07 20:24:20 +01:00
  • f147cb1133 Make it possible to get stdlib modules for project search Dave Halter 2020-03-07 19:42:27 +01:00
  • d06efd0dd1 Push fetching of generics into nested function Peter Law 2020-03-07 18:09:20 +00:00
  • 96132587b7 Clarify generic tuple inference Peter Law 2020-03-07 17:35:29 +00:00
  • 5d273f4630 Explain these branches Peter Law 2020-03-07 17:35:03 +00:00
  • 95cec459a8 Extract nested function for common pattern Peter Law 2020-03-07 17:06:22 +00:00
  • 3b4fa2aa9c Clarify variable name Peter Law 2020-03-07 16:32:38 +00:00
  • 54e29eede1 Add explanation of the parameters to _infer_type_vars Peter Law 2020-03-07 16:31:12 +00:00
  • c159b9debd Get namespace package searches working Dave Halter 2020-03-07 17:11:05 +01:00
  • eecdf31601 Make it possible to search folders __init__ files Dave Halter 2020-03-07 13:57:14 +01:00
  • 7f2f025866 Move get_module_names to api.helpers Dave Halter 2020-03-06 14:32:52 +01:00
  • ed3564831c Some minor test reworks Dave Halter 2020-03-06 14:28:48 +01:00
  • 8c1e518ab7 Make sure you can search for 'def something' Dave Halter 2020-03-06 14:27:29 +01:00
  • c7a862ec19 Fix issues where references were identified as definitions Dave Halter 2020-03-06 14:23:12 +01:00
  • 6e3bd38600 Start merging efforts for project search and file search Dave Halter 2020-03-06 13:32:04 +01:00
  • e6bdaea73e Actually implement symbol search for projects Dave Halter 2020-03-06 11:15:34 +01:00
  • ebb9df07f3 Progress for recursive symbol searches Dave Halter 2020-03-06 10:31:48 +01:00
  • 8df917f1df Fix a getattr_static issue, fixes #1517 Dave Halter 2020-03-06 10:07:23 +01:00
  • 30f72c48c4 Test that full_name in funcs work Dave Halter 2020-03-01 20:11:00 +01:00
  • e03924895b Add tests for search Dave Halter 2020-03-01 19:52:49 +01:00
  • af055ec69c Some minor refactorings of search Dave Halter 2020-03-01 19:39:26 +01:00
  • 9d8ad4cc04 Implement a search function, fixes #225 Dave Halter 2020-03-01 18:47:01 +01:00
  • a6ef8efb72 fuzzy_match and start_match are now match with fuzzy param Dave Halter 2020-03-01 18:03:13 +01:00
  • ccc1262a3e Avoid one more private access Dave Halter 2020-03-01 17:53:39 +01:00
  • 656324f686 Disable some more tests for Python 2 Dave Halter 2020-03-01 13:30:41 +01:00
  • bd1ef659e8 Make InterpreterEnvironment public Dave Halter 2020-03-01 12:47:26 +01:00
  • afc61c2576 is_typeddict should be part of ClassMixin Dave Halter 2020-03-01 12:26:40 +01:00
  • 4d5373d626 Don't continue searching for values if an annotation is found Dave Halter 2020-02-27 18:47:13 +01:00
  • 609737322d TypedDict checking should be at a later point Dave Halter 2020-03-01 02:34:38 +01:00
  • fa63c92cf7 Simplify tests a bit Dave Halter 2020-03-01 01:56:49 +01:00
  • e5fabb4c5f Fix some version issue stuff Dave Halter 2020-03-01 01:42:22 +01:00
  • bb91b96286 Merge branch 'typeddict' of https://github.com/pappasam/jedi Dave Halter 2020-03-01 01:31:17 +01:00
  • fd23946de3 Avoid universal newlines even more Dave Halter 2020-03-01 01:12:47 +01:00
  • a2b8c44e8f Get rid of Python's universal newlines for refactoring Dave Halter 2020-02-29 23:31:57 +01:00
  • 0a1de619b4 Reverse order of travis tests Dave Halter 2020-02-28 12:48:08 +01:00
  • 31d5c92dae Reverse order of tests in appveyor Dave Halter 2020-02-28 12:47:18 +01:00
  • d1873f8e1e Windows uses backslashes for paths Dave Halter 2020-02-28 12:42:39 +01:00
  • 58ba47841c Use inline_mod instead of some_mod for inline refactor tests Dave Halter 2020-02-28 01:53:27 +01:00
  • 0f2d6ac27a Undo some .travis.yml changes that were removed because of Python 3.4 drop Dave Halter 2020-02-28 00:22:29 +01:00
  • 76ce422590 Make refactoring diff path a relative path to the project path Dave Halter 2020-02-28 00:17:14 +01:00
  • 1f773d8e65 Refactoring is not allowed for environments and the current version lower than 3.6 Dave Halter 2020-02-27 23:24:23 +01:00
  • 4451d2fec7 Refactoring diffs now show relative paths Dave Halter 2020-02-27 23:23:24 +01:00
  • 0ef8053919 Don't use a random grammar for extract Dave Halter 2020-02-27 22:50:30 +01:00
  • 140a45081f Python 3.5 is not supported for refactorings Dave Halter 2020-02-27 18:59:16 +01:00
  • ebdaf0177d Don't continue searching for values if an annotation is found Dave Halter 2020-02-27 18:47:13 +01:00
  • f2f11bc574 Remove some code for 3.3 compatibility Dave Halter 2020-02-27 18:31:50 +01:00
  • 5f2a402b19 Removed some more 3.4 usages Dave Halter 2020-02-27 18:30:46 +01:00
  • 5f226bc82e Make sure to not execute refactoring tests for Python 2 Dave Halter 2020-02-27 02:17:05 +01:00
  • a892887b04 Remove Python 3.4 support Dave Halter 2020-02-27 02:04:03 +01:00
  • d1ac00f64f Fix run.py issue Dave Halter 2020-02-27 01:44:01 +01:00
  • 03e1770a24 Fix rename refactoring tests Dave Halter 2020-02-27 01:23:07 +01:00
  • 42adadd0cb Add an extract test for methods without params Dave Halter 2020-02-27 01:19:01 +01:00
  • 3708ab3514 Make extract yield error message better Dave Halter 2020-02-27 01:12:34 +01:00
  • c9334d140b Make it impossible to extract if return is not at the end Dave Halter 2020-02-27 01:07:16 +01:00
  • 35e992c37c Make sure that return at the end works properly for extract Dave Halter 2020-02-27 00:54:40 +01:00
  • a92c28840b Fix: Extract can now deal with return statements at the end Dave Halter 2020-02-26 09:31:33 +01:00
  • c96994dd8d Add a method extract test Dave Halter 2020-02-26 01:11:04 +01:00
  • bb6f0d5e91 Fix extract: better input filtering Dave Halter 2020-02-26 00:59:04 +01:00
  • bf9a3a4ca8 Rewrite an extract test to make them more diverse Dave Halter 2020-02-26 00:24:27 +01:00
  • eef47e951e One more function test Dave Halter 2020-02-26 00:21:46 +01:00
  • 17892556f8 Fix another comment extraction issue Dave Halter 2020-02-26 00:17:44 +01:00