aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion
Commit message (Collapse)AuthorAgeFilesLines
* move auto-imoprter into IDEAleksey Kladov2019-04-222-13/+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-212-8/+70
| | | | | | importable name. Changes complete_scope to support that.
* New krate() method in Resolver.Marco Groppo2019-04-191-2/+2
| | | | Renamed Impl to ImplBlock.
* Initial support for lang items.Marco Groppo2019-04-191-10/+13
|
* 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 :)
* hide resolverAleksey Kladov2019-04-133-3/+3
|
* use really correct resolver for expressionsAleksey Kladov2019-04-121-1/+2
|
* remove resolver from CompletonContextAleksey Kladov2019-04-114-7/+4
|
* generalize SourceAnalyzer to handle all defs with bodiesAleksey Kladov2019-04-111-0/+24
|
* renameAleksey Kladov2019-04-111-2/+2
|
* Make call info to use real name resolutionAleksey Kladov2019-04-111-6/+0
|
* introduce SourceAnalyzerAleksey Kladov2019-04-113-18/+7
|
* Merge #1131bors[bot]2019-04-1010-180/+136
|\ | | | | | | | | | | | | | | 1131: Use inline snapshots in complete_dot r=matklad a=vipentti Relates to #1127 Co-authored-by: Ville Penttinen <[email protected]>
| * Use inline snapshots in complete_dotVille Penttinen2019-04-1010-180/+136
| |
* | Use inline snapshots in complete_fn_paramVille Penttinen2019-04-104-72/+58
|/
* type-safer source-map for bindingsAleksey Kladov2019-04-101-5/+3
|
* Move completion label functions to displayVille Penttinen2019-04-091-1/+4
|
* Update test snapshotsVille Penttinen2019-04-092-10/+10
|
* 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.
* Rudimentarily autocomplete tuple struct field accessrobojumper2019-04-062-0/+38
|
* always produce source for importAleksey Kladov2019-04-021-5/+8
|
* fix a panic with glob-import missing a source mapAleksey Kladov2019-04-021-0/+12
|
* fix comment namingAleksey Kladov2019-04-021-3/+6
|
* switch to new rowanAleksey Kladov2019-04-013-16/+16
|
* replace todo with fixmeAleksey Kladov2019-03-233-3/+3
|
* 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-212-18/+15
|
* Replace Display by a pretty printing trait for TyFlorian Diebold2019-03-161-4/+7
| | | | | This allows removing the names from Adt and FnDef (and more later), as a first step towards aligning more with chalk's Ty :)
* rename syntax_mapping as wellAleksey Kladov2019-03-022-4/+4
|
* rename syntax-mapping -> source-mapAleksey Kladov2019-03-022-2/+2
|
* complete patternsAleksey Kladov2019-02-242-0/+101
|
* Rename Type => TypeAliasFlorian Diebold2019-02-242-3/+3
|
* move testing functionsAleksey Kladov2019-02-249-20/+11
|
* move the rest of presentation to presentationAleksey Kladov2019-02-242-50/+20
|
* move more code to presentationAleksey Kladov2019-02-242-88/+57
|
* move res completion to presentationAleksey Kladov2019-02-243-41/+42
|
* simplifyAleksey Kladov2019-02-241-31/+31
|
* move enum-variants to presentationAleksey Kladov2019-02-242-21/+21
|
* simplifyAleksey Kladov2019-02-244-35/+31
|
* move presentaion completion to presentationAleksey Kladov2019-02-242-80/+80
|
* move function rendering to presentationAleksey Kladov2019-02-245-24/+49
|
* introduce completion presentationAleksey Kladov2019-02-243-32/+40
| | | | | This module should remove completion rendering boilerplate from the "brains" of completion engine.
* complete fields in struct literalsAleksey Kladov2019-02-241-7/+16
|
* complete struct literalsAleksey Kladov2019-02-242-0/+70
|
* more compact edits in instaAleksey Kladov2019-02-1855-1161/+339
|
* Don't use additional_text_edits API internallyAleksey Kladov2019-02-1856-378/+1274
|
* More orthogonal method namingAleksey Kladov2019-02-184-9/+4
|
* More compact debug representation for completionAleksey Kladov2019-02-1855-1883/+610
|