aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/complete_dot.rs
Commit message (Collapse)AuthorAgeFilesLines
* Auto-upgrade some insta snapshotsAleksey Kladov2019-11-151-47/+47
|
* tweak fn labels in completionAleksey Kladov2019-10-101-7/+7
|
* if completion does auto-insertion, indicate this in the labelAleksey Kladov2019-10-101-89/+96
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
| | | | #1856
* rename AdtDef -> AdtAleksey Kladov2019-09-121-2/+2
|
* :arrow_up: instaAleksey Kladov2019-08-291-14/+14
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-231-1/+1
|
* Employ early return pattern moreEvgenii P2019-08-041-15/+19
|
* Use std::future::Future trait from stdlibEvgenii P2019-08-031-11/+8
|
* do fixup: remove unused imports in complete_dot.rsEvgenii P2019-08-021-4/+1
|
* Change postfix completion to keyword completionEvgenii P2019-08-021-22/+8
|
* Use future lang item instead of hardcoded std::future::FutureEvgenii P2019-08-021-6/+11
|
* rustfmtEvgenii P2019-08-021-6/+6
|
* Implement completion for the .await syntaxEvgenii P2019-08-021-10/+70
|
* migrate ra_ide_api to the new rowanAleksey Kladov2019-07-191-4/+5
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-2/+2
| | | | | | 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
* Deduplicate method candidatesFlorian Diebold2019-06-291-1/+31
|
* rename XSignature -> XDataAleksey Kladov2019-06-181-2/+2
|
* Implement autoderef using the Deref traitFlorian Diebold2019-06-151-1/+1
| | | | - add support for other lang item targets, since we need the Deref lang item
* Fix clippy::single_matchAlan Du2019-06-041-4/+3
|
* :arrow_up: rustcAleksey Kladov2019-05-231-117/+135
|
* Differentiate Tuple / FnPtr type constructors by cardinalityFlorian Diebold2019-05-041-1/+1
| | | | | This is necessary because Chalk (reasonably) expects each 'struct' to know how many type parameters it takes.
* Refactor method candidate generation a bitFlorian Diebold2019-04-141-1/+27
| | | | | | This fixes the order in which candidates are chosen a bit (not completely though, as the ignored test demonstrates), and makes autoderef work with trait methods. As a side effect, this also makes completion of trait methods work :)
* generalize SourceAnalyzer to handle all defs with bodiesAleksey Kladov2019-04-111-0/+24
|
* introduce SourceAnalyzerAleksey Kladov2019-04-111-9/+2
|
* Use inline snapshots in complete_dotVille Penttinen2019-04-101-27/+136
|
* Rudimentarily autocomplete tuple struct field accessrobojumper2019-04-061-0/+22
|
* replace todo with fixmeAleksey Kladov2019-03-231-1/+1
|
* Rename name field to ctor as wellFlorian Diebold2019-03-211-1/+1
|
* TypeName => TypeCtorFlorian Diebold2019-03-211-3/+3
|
* Remove the old variants replaced by Ty::ApplyFlorian Diebold2019-03-211-15/+12
|
* rename syntax_mapping as wellAleksey Kladov2019-03-021-2/+2
|
* rename syntax-mapping -> source-mapAleksey Kladov2019-03-021-1/+1
|
* move testing functionsAleksey Kladov2019-02-241-2/+1
|
* simplifyAleksey Kladov2019-02-241-4/+4
|
* move function rendering to presentationAleksey Kladov2019-02-241-9/+2
|
* introduce completion presentationAleksey Kladov2019-02-241-20/+4
| | | | | This module should remove completion rendering boilerplate from the "brains" of completion engine.
* Unify with the autorefed/autoderefed receiver type during method resolutionFlorian Diebold2019-02-171-1/+1
|
* Filter attributes from the completion details/labelLaurențiu Nicola2019-02-121-0/+20
|
* reformat the worldAleksey Kladov2019-02-081-3/+1
|
* Add docs to struct fieldsJeremy A. Kolb2019-01-251-2/+6
|
* use positional ids for fieldsAleksey Kladov2019-01-251-2/+2
|
* Merge #623bors[bot]2019-01-241-4/+5
|\ | | | | | | | | | | | | | | | | | | | | 623: WIP: module id is not def id r=matklad a=matklad This achieves two things: * makes module_tree & item_map per crate, not per source_root * begins the refactoring to remove universal `DefId` in favor of having separate ids for each kind of `Def`. Currently, only modules get a differnt ID though. Co-authored-by: Aleksey Kladov <[email protected]>
| * adapt ide_api to the new APIAleksey Kladov2019-01-241-17/+15
| |
| * new struct idAleksey Kladov2019-01-241-15/+18
| |
* | Display type when completing tuplesJeremy Kolb2019-01-241-1/+15
|/
* Merge #574bors[bot]2019-01-201-18/+27
|\ | | | | | | | | | | | | | | | | 574: refactor completions to use TextEdit instead of InsertText r=matklad a=gfreezy 1. migrate from `insertText` to `TextEdit` from `CompleteItem` 2. use `insta` to test completions Co-authored-by: gfreezy <[email protected]>
| * use a combination of `source_change` and `text_edit` for `CompleteItem`gfreezy2019-01-201-5/+9
| |
| * refactor to use `remove_range` and `replace_range` instead of TextEditgfreezy2019-01-191-6/+10
| |
| * refactor completions to use TextEdit instead of InsertTextgfreezy2019-01-191-13/+14
| |