aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api
Commit message (Collapse)AuthorAgeFilesLines
...
* | Basic resolution for ADTkjeremy2019-04-232-0/+76
|/
* Merge #1194bors[bot]2019-04-222-6/+118
|\ | | | | | | | | | | | | | | | | 1194: Pr 1190 r=matklad a=matklad Co-authored-by: Andrea Pretto <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
| * remove path_ident from CompletionContextAleksey Kladov2019-04-222-39/+38
| | | | | | | | | | | | | | | | | | 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-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.
* | fix postfix match indentAleksey Kladov2019-04-222-4/+4
|/
* 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
|
* add a couple of profiling pointsAleksey Kladov2019-04-142-0/+3
|
* 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 :)
* Get substs for trait refs in impl blocksFlorian Diebold2019-04-141-1/+1
|
* hide resolverAleksey Kladov2019-04-133-3/+3
|
* fold ScopeWithSyntax into SourceAnalyzerAleksey Kladov2019-04-131-1/+1
|
* obsolete fixmAleksey Kladov2019-04-131-1/+0
|
* hide some scopesAleksey Kladov2019-04-131-13/+9
|
* use really correct resolver for expressionsAleksey Kladov2019-04-124-4/+5
|
* fix typoAleksey Kladov2019-04-111-3/+3
|
* remove resolver from CompletonContextAleksey Kladov2019-04-114-7/+4
|
* generalize SourceAnalyzer to handle all defs with bodiesAleksey Kladov2019-04-111-0/+24
|
* minimize the APIAleksey Kladov2019-04-111-4/+2
|
* renameAleksey Kladov2019-04-114-5/+5
|
* reduce visibilityAleksey Kladov2019-04-111-3/+3
|
* Make call info to use real name resolutionAleksey Kladov2019-04-112-23/+20
|
* introduce SourceAnalyzerAleksey Kladov2019-04-116-139/+81
|
* 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-103-9/+11
|
* migrate to salsas interningAleksey Kladov2019-04-092-15/+1
|
* Fix doc commentVille Penttinen2019-04-091-1/+1
|
* Move display related things from hover to displayVille Penttinen2019-04-093-109/+110
|
* Move FunctionSignature to display/function_signatureVille Penttinen2019-04-092-100/+104
|
* Make display modules privateVille Penttinen2019-04-092-5/+6
|
* Move structure to display/structureVille Penttinen2019-04-094-9/+9
|
* Move navigation_target to display/navigation_targetVille Penttinen2019-04-094-4/+6
|
* Move completion label functions to displayVille Penttinen2019-04-094-31/+32
|
* Add FunctionSignature::from_hirVille Penttinen2019-04-092-6/+11
|
* Normalize line-endings in display.rsVille Penttinen2019-04-091-112/+112
| | | | This changes from CRLF to LF
* Move FunctionSignature creation to displayVille Penttinen2019-04-093-50/+54
|
* Add no parameter test to call_infoVille Penttinen2019-04-091-0/+19
|
* Move FunctionSignature to display, remove write_joinedVille Penttinen2019-04-092-49/+36
| | | | | write_joined is replaced with `join_to_string::join` which provides the necessary functionality.
* Move test specific thingsVille Penttinen2019-04-091-10/+11
|
* Update test snapshotsVille Penttinen2019-04-092-10/+10
|
* Refactor CallInfo function signatures to new FunctionSignature typeVille Penttinen2019-04-095-51/+177
| | | | | 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
|
* always show token textAleksey Kladov2019-04-021-84/+85
|
* fix a panic with glob-import missing a source mapAleksey Kladov2019-04-021-0/+12
|
* More future-proof comment kindAleksey Kladov2019-04-022-3/+6
|