aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/completion/complete_scope.rs
Commit message (Collapse)AuthorAgeFilesLines
* Try to complete within macrosFlorian Diebold2020-03-071-1/+69
|
* Support function's completion snippetAvishay Matayev2020-03-041-1/+1
| | | | | | | Note that `detail` was replced with `function_signature` to avoid calling `from` on FunctionSignature twice. I didn't add new tests because the current ones seem enough.
* Refactor primary IDE APIAleksey Kladov2020-02-261-3/+1
| | | | | | | | | | 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.
* Remove hard-coded auto-import during completionAleksey Kladov2020-02-091-128/+3
| | | | We now have a real auto-import system, so we can do a proper thing.
* Rename add import assistKirill Bulatov2020-02-071-7/+2
|
* Code review fixesKirill Bulatov2020-02-021-15/+11
|
* Require ModPath for importingKirill Bulatov2020-02-021-24/+47
|
* Rudimentary name resolution for local itemsAleksey Kladov2019-12-221-0/+37
|
* rename ra_ide_api -> ra_ideAleksey Kladov2019-11-271-0/+876