aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/handlers/auto_import.rs
Commit message (Collapse)AuthorAgeFilesLines
* Relax cursor position tests in assistsAleksey Kladov2020-05-201-11/+11
| | | | Those will be replaced with snippets anyway
* MinorAleksey Kladov2020-05-201-1/+6
|
* Refactor assists API to be more convenient for adding new assistsAleksey Kladov2020-05-071-19/+22
| | | | It now duplicates completion API in its shape.
* Move target to AssistLabelAleksey Kladov2020-05-061-2/+1
| | | | | Target is used for assists sorting, so we need it before we compute the action.
* Merge assits::test_helpers and testsAleksey Kladov2020-05-061-1/+1
|
* Support auto-import in macroEdwin Cheng2020-05-021-8/+34
|
* Add a testKirill Bulatov2020-03-241-0/+25
|
* Use more generic public apiKirill Bulatov2020-03-241-21/+23
|
* Auto import macrosKirill Bulatov2020-03-241-13/+21
|
* Cleanup importsAleksey Kladov2020-03-191-6/+8
|
* Unfold groups with single assists into plain assistsKirill Bulatov2020-03-051-6/+1
|
* SimplifyAleksey Kladov2020-02-281-1/+0
|
* Move insert_use util to utilsAleksey Kladov2020-02-281-1/+2
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-28/+14
| | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax.
* Do not collect all traitsKirill Bulatov2020-02-121-102/+53
|
* Support associated constsKirill Bulatov2020-02-121-18/+133
|
* Also consider associated constantsKirill Bulatov2020-02-121-8/+8
|
* Fix post-rebase issuesKirill Bulatov2020-02-121-14/+13
|
* Refactor the codeKirill Bulatov2020-02-121-96/+93
|
* Adjust the assist group nameKirill Bulatov2020-02-121-9/+25
|
* Add profilingKirill Bulatov2020-02-121-0/+3
|
* Support trait method call autoimportsKirill Bulatov2020-02-121-100/+206
|
* Trait location draftKirill Bulatov2020-02-121-9/+120
|
* Refactor path for imports extractionKirill Bulatov2020-02-121-20/+92
|
* Add method testsKirill Bulatov2020-02-121-3/+116
|
* Resolve methods and functions betterKirill Bulatov2020-02-121-3/+20
|
* Fix rebase leftoversKirill Bulatov2020-02-091-2/+2
|
* Do not import anything if first segment of FQN resolvesKirill Bulatov2020-02-091-12/+36
|
* Set auto-import targetAleksey Kladov2020-02-091-1/+17
| | | | closes #3067
* Slightly simpler API for groupsAleksey Kladov2020-02-091-19/+14
|
* Rename add import assistKirill Bulatov2020-02-071-2/+2
|
* Name assist handlersAleksey Kladov2020-02-071-0/+258