aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion
Commit message (Collapse)AuthorAgeFilesLines
* new struct idAleksey Kladov2019-01-241-15/+18
|
* update ide_api to new hirAleksey Kladov2019-01-243-2/+4
|
* Change ids strategyAleksey Kladov2019-01-242-55/+43
| | | | | | | this is a part of larghish hir refactoring which aims to * replace per-source-root module trees with per crate trees * switch from a monotyped DedId to type-specific ids
* Fix snapJeremy A. Kolb2019-01-232-6/+12
|
* Add a bunch of new documentation to completionsJeremy A. Kolb2019-01-232-20/+30
|
* Add way of getting docs from the code model and use for completionJeremy A. Kolb2019-01-232-7/+11
|
* don't insert parens for self methodsAleksey Kladov2019-01-235-13/+52
|
* move completion item tests closer to the codeAleksey Kladov2019-01-233-44/+60
| | | | | this is the reason why we need marks: the tests were spread across two files, because I've forgotten that there were tests already
* fix completion bugsgfreezy2019-01-2326-133/+154
|
* Move label from hir to ide_apiJeremy A. Kolb2019-01-221-2/+25
|
* Add function signature to CompletionItem detailJeremy A. Kolb2019-01-2215-30/+68
|
* Update snapsJeremy A. Kolb2019-01-2244-176/+385
|
* Move docs to FunctionJeremy Kolb2019-01-221-3/+2
|
* Thread documentation through FnSignature and CompletionItemJeremy Kolb2019-01-221-0/+5
|
* Teach CompletionItem about documentationJeremy Kolb2019-01-221-0/+16
|
* Fix .not postfix completionFlorian Diebold2019-01-214-9/+9
|
* postfix completiongfreezy2019-01-215-29/+310
|
* Merge #574bors[bot]2019-01-2050-287/+2177
|\ | | | | | | | | | | | | | | | | 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]>
| * fix testsgfreezy2019-01-208-19/+19
| |
| * workaround for trigger charactergfreezy2019-01-201-1/+5
| |
| * use a combination of `source_change` and `text_edit` for `CompleteItem`gfreezy2019-01-2047-288/+301
| |
| * refactor to use `remove_range` and `replace_range` instead of TextEditgfreezy2019-01-1946-748/+606
| |
| * ignore unused methodsgfreezy2019-01-191-0/+3
| |
| * refactor completions to use TextEdit instead of InsertTextgfreezy2019-01-1950-282/+2294
| |
* | Implement beginnings of genericsFlorian Diebold2019-01-191-2/+4
|/ | | | | | | - add HIR for generic params - resolve generic params in type paths - add substitions for ADTs - insert type variables for substitutions
* switched to lowerd moduleAleksey Kladov2019-01-191-7/+4
|
* remove Canceled from impl of ra_ide_apiAleksey Kladov2019-01-154-24/+15
|
* remove Cancelable from type inferenceAleksey Kladov2019-01-151-10/+5
|
* remove Cancelable from TyAleksey Kladov2019-01-151-4/+3
|
* remove Cancelable from nameresAleksey Kladov2019-01-152-3/+3
|
* remove Cancelable from fn_scopesAleksey Kladov2019-01-151-1/+1
|
* remove Cancelable from funciton bodyAleksey Kladov2019-01-151-1/+1
|
* remove Cancelable from navigation targetAleksey Kladov2019-01-153-3/+3
|
* remove Cancelable from adt APIAleksey Kladov2019-01-152-2/+2
|
* remove Cancelable from Module APIAleksey Kladov2019-01-151-1/+1
|
* remove Cancelable from source bindersAleksey Kladov2019-01-151-1/+1
|
* args -> paramsFlorian Diebold2019-01-122-2/+2
|
* Complete inherent methodsFlorian Diebold2019-01-122-4/+62
|
* actually produce missing def kindsAleksey Kladov2019-01-111-0/+20
|
* Use name resolution for goto definitionFlorian Diebold2019-01-101-3/+3
|
* Merge #470bors[bot]2019-01-101-8/+9
|\ | | | | | | | | | | | | | | | | | | 470: Type inference for enum variants r=flodiebold a=marcusklaas Opened a new PR instead of https://github.com/rust-analyzer/rust-analyzer/pull/461. Totally botched that one. I think I resolved all the issues mentioned there. Co-authored-by: Marcus Klaas de Vries <[email protected]>
| * Save variant names in EnumData to reduce needless queriesMarcus Klaas de Vries2019-01-101-10/+5
| | | | | | | | | | | | We already have their names when anyway, and when in all (current) situations where we're interested in an Enum's variants, we want their names.
| * Implement type inference for enum variantsMarcus Klaas de Vries2019-01-101-8/+14
| |
* | dont complete () if they are already thereAleksey Kladov2019-01-104-6/+26
|/
* show field types in completionAleksey Kladov2019-01-092-9/+16
|
* add completion detailAleksey Kladov2019-01-091-0/+12
|
* Fix typo defenition -> definitionMarcus Klaas de Vries2019-01-081-1/+1
|
* fix usages after renameAleksey Kladov2019-01-088-0/+1404