aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion
Commit message (Collapse)AuthorAgeFilesLines
* Add HasResolver traitAleksey Kladov2019-11-201-0/+7
|
* Rename Source::ast -> Source::valueAleksey Kladov2019-11-202-5/+5
|
* Force passing Source when creating a SourceAnalyzerAleksey Kladov2019-11-151-2/+5
|
* Auto-upgrade some insta snapshotsAleksey Kladov2019-11-1512-1128/+1199
|
* Use Local moreAleksey Kladov2019-11-151-8/+6
|
* fix typoGreg2019-11-121-1/+1
|
* Implement postfix completions feature flagGreg2019-11-121-0/+4
|
* Add tests for resolving types in core and std preludesMatthias Einwag2019-11-101-0/+62
|
* Merge #2179bors[bot]2019-11-061-14/+13
|\ | | | | | | | | | | | | | | | | | | | | | | 2179: Use HirDatabase to compute `is_deprecated` r=matklad a=martskins This PR fixes #2167 by introducing `attributes_query` and adding `fn attrs(&self, def: crate::AttrDef) -> Option<Arc<[Attr]>>;` to the `DefDatabase` trait. I'm a little concerned about the two spots in `attributes_query` where code is repeated, but I couldn't figure out a way to avoid that, so.. I welcome suggestions :smile: Co-authored-by: Martin Asquino <[email protected]>
| * HirDatabase stored attributesMartin Asquino2019-11-041-14/+13
| |
* | Cleanup complete_postfixAleksey Kladov2019-11-061-52/+57
|/
* Move CrateDefMap to hir_defAleksey Kladov2019-11-031-4/+4
|
* Use `bool` instead of `Option<bool>` and print it's value only when `true`Martin Asquino2019-11-028-78/+5
|
* Set `deprecated` field on `CompletionItem`sMartin Asquino2019-11-028-1/+185
|
* Change SourceAnalyzer method resoltion APIFlorian Diebold2019-11-012-32/+18
|
* Complete items on traits as wellFlorian Diebold2019-11-011-2/+46
|
* Complete trait assoc itemsFlorian Diebold2019-11-012-12/+48
|
* Add failing tests for trait assoc method completionFlorian Diebold2019-11-011-0/+60
|
* Refactor to unify with method resolutionFlorian Diebold2019-11-011-4/+6
|
* Some clippy fixeskjeremy2019-10-302-3/+3
|
* Move ids to hir_def crateAleksey Kladov2019-10-301-1/+1
|
* don't add macro braces in use itemsAleksey Kladov2019-10-301-17/+53
|
* avoid TextEditorBuilder for simple editsAleksey Kladov2019-10-262-11/+7
|
* Guess macro braces from docsoxalica2019-10-202-7/+91
|
* #1435 postfix completion for integer literalsSergey Parilin2019-10-142-2/+77
|
* tweak fn labels in completionAleksey Kladov2019-10-104-36/+33
|
* if completion does auto-insertion, indicate this in the labelAleksey Kladov2019-10-105-475/+562
|
* add <> for type aliases as wellAleksey Kladov2019-10-091-52/+80
|
* smal cleanupAleksey Kladov2019-10-091-5/+5
|
* add `<>` when completing generic typesAleksey Kladov2019-10-083-78/+197
|
* simplifyAleksey Kladov2019-10-081-4/+5
|
* refactorAleksey Kladov2019-10-081-8/+15
|
* Address comments: fix docs, add completion test for `Self`.ice10002019-10-081-0/+29
|
* Support inferring `Self` type in enum definitionsice10002019-10-081-1/+1
| | | | Signed-off-by: ice1000 <[email protected]>
* replace AST visitors with macroEkaterina Babshukova2019-10-052-16/+18
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-3014-0/+27
| | | | #1856
* move assists to subdirAleksey Kladov2019-09-251-2/+2
|
* Remove redundant clone()Shotaro Yamada2019-09-252-2/+2
|
* introduce FromSource traitEkaterina Babshukova2019-09-191-2/+5
|
* Remove TraitItem and ImplItem in favor of AssocItemFlorian Diebold2019-09-171-3/+3
|
* Remove a dbg!Florian Diebold2019-09-141-1/+1
|
* rename add_resolution -> add_scope_defAleksey Kladov2019-09-131-18/+0
|
* Specify desirable namespace when calling resolveAleksey Kladov2019-09-135-56/+76
| | | | That way, we are able to get rid of a number of unreachable statements
* rename AdtDef -> AdtAleksey Kladov2019-09-124-12/+10
|
* make various enums "inherit" from AdtDefAleksey Kladov2019-09-123-13/+14
|
* Complete vec macros with square bracketsKirill Bulatov2019-09-122-3/+36
|
* Add `!` to the macro completion labelKirill Bulatov2019-09-124-20/+24
|
* Complete macros parenthesisKirill Bulatov2019-09-124-9/+9
|
* Split out `complete_macro_in_item_position`uHOOCCOOHu2019-09-112-37/+50
|
* Fix typouHOOCCOOHu2019-09-111-1/+1
|