aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/complete_scope.rs
Commit message (Collapse)AuthorAgeFilesLines
* tweak fn labels in completionAleksey Kladov2019-10-101-12/+12
|
* if completion does auto-insertion, indicate this in the labelAleksey Kladov2019-10-101-249/+285
|
* add `<>` when completing generic typesAleksey Kladov2019-10-081-73/+81
|
* Address comments: fix docs, add completion test for `Self`.ice10002019-10-081-0/+29
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
| | | | #1856
* move assists to subdirAleksey Kladov2019-09-251-2/+2
|
* Specify desirable namespace when calling resolveAleksey Kladov2019-09-131-2/+3
| | | | That way, we are able to get rid of a number of unreachable statements
* Add `!` to the macro completion labelKirill Bulatov2019-09-121-12/+12
|
* Complete macros parenthesisKirill Bulatov2019-09-121-6/+6
|
* Split out `complete_macro_in_item_position`uHOOCCOOHu2019-09-111-37/+0
|
* Support completion for macrosuHOOCCOOHu2019-09-101-0/+229
|
* simplifyAleksey Kladov2019-09-061-38/+40
|
* :arrow_up: instaAleksey Kladov2019-08-291-13/+13
|
* Rerun cargo format, to make tests pass and formatting incorrectPhil Ellison2019-07-281-5/+5
|
* Remove vertical ellipses from tests in complete_scope.rsPhil Ellison2019-07-281-243/+225
|
* cargo formatPhil Ellison2019-07-281-59/+59
|
* Inline snapshots for all tests in complete_scope.rsPhil Ellison2019-07-281-103/+362
|
* migrate ra_ide_api to the new rowanAleksey Kladov2019-07-191-2/+2
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-5/+5
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* 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