aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/complete_scope.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix clippy::ptr_argAlan Du2019-06-041-2/+2
|
* remove path_ident from CompletionContextAleksey Kladov2019-04-221-34/+36
| | | | | | | | | We really shouldn't be looking at the identifier at point. Instead, all filtering and sorting should be implemented at the layer above. This layer should probably be home for auto-import completions as well, but, since that is not yet implemented, let's just stick this into complete_scope.
* move auto-imoprter into IDEAleksey Kladov2019-04-221-1/+54
| | | | | auto-import is purely an IDE concern, so it should be done outside of HIR
* complete_import: prevent panic when the anchor is the completion source rangeAndrea Pretto2019-04-211-7/+17
| | | | | | (fix rebase mess) Please enter the commit message for your changes. Lines starting
* complete_import: add new import resolver infrastructure with some hardcoded ↵Andrea Pretto2019-04-211-5/+50
| | | | | | importable name. Changes complete_scope to support that.
* hide resolverAleksey Kladov2019-04-131-1/+1
|
* remove resolver from CompletonContextAleksey Kladov2019-04-111-1/+1
|
* Refactor CallInfo function signatures to new FunctionSignature typeVille Penttinen2019-04-091-1/+1
| | | | | This is used by CallInfo to create a pretty printed function signature that can be used with completions and other places as well.
* move testing functionsAleksey Kladov2019-02-241-2/+1
|
* move res completion to presentationAleksey Kladov2019-02-241-6/+2
|
* Complete names from preludeFlorian Diebold2019-02-131-1/+20
|
* reformat the worldAleksey Kladov2019-02-081-7/+3
|
* Complete extern prelude (again)Florian Diebold2019-02-041-0/+14
|
* Some cleanup and additional testsFlorian Diebold2019-02-011-24/+33
|
* Use the new Resolver API in completionFlorian Diebold2019-02-011-46/+17
|
* move completion item tests closer to the codeAleksey Kladov2019-01-231-17/+0
| | | | | this is the reason why we need marks: the tests were spread across two files, because I've forgotten that there were tests already
* use a combination of `source_change` and `text_edit` for `CompleteItem`gfreezy2019-01-201-2/+2
|
* refactor to use `remove_range` and `replace_range` instead of TextEditgfreezy2019-01-191-6/+14
|
* refactor completions to use TextEdit instead of InsertTextgfreezy2019-01-191-22/+24
|
* switched to lowerd moduleAleksey Kladov2019-01-191-7/+4
|
* remove Canceled from impl of ra_ide_apiAleksey Kladov2019-01-151-8/+4
|
* remove Cancelable from nameresAleksey Kladov2019-01-151-1/+1
|
* remove Cancelable from fn_scopesAleksey Kladov2019-01-151-1/+1
|
* remove Cancelable from Module APIAleksey Kladov2019-01-151-1/+1
|
* Fix typo defenition -> definitionMarcus Klaas de Vries2019-01-081-1/+1
|
* fix usages after renameAleksey Kladov2019-01-081-0/+192