aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion
Commit message (Collapse)AuthorAgeFilesLines
* reformat the worldAleksey Kladov2019-02-087-46/+19
|
* Some clippy cleanupskjeremy2019-02-062-9/+6
|
* Complete extern prelude (again)Florian Diebold2019-02-042-0/+36
|
* fold complete_postfix tests into oneHoàng Đức Hiếu2019-02-035-411/+3
|
* add postfix completion for `dbg!()` with `.dbg`Hoàng Đức Hiếu2019-02-025-6/+212
|
* Some cleanup and additional testsFlorian Diebold2019-02-014-24/+120
|
* Make the Resolution variants tuple variantsFlorian Diebold2019-02-012-18/+14
|
* CleanupFlorian Diebold2019-02-012-4/+4
|
* Use the new Resolver API in completionFlorian Diebold2019-02-015-68/+74
|
* Pass Documentation up to LSP and add "rust" to our codeblocks thereJeremy Kolb2019-01-301-25/+10
|
* Sort completions in testsFlorian Diebold2019-01-2725-270/+271
|
* Add docs to struct fieldsJeremy A. Kolb2019-01-252-6/+14
|
* Add module documentation supportJeremy A. Kolb2019-01-253-1/+43
|
* EnumVariant details for completionJeremy A. Kolb2019-01-253-6/+107
|
* use positional ids for fieldsAleksey Kladov2019-01-251-2/+2
|
* pack enum variants into arenaAleksey Kladov2019-01-251-5/+5
|
* rename def_id -> defAleksey Kladov2019-01-251-4/+1
|
* Merge #623bors[bot]2019-01-244-46/+30
|\ | | | | | | | | | | | | | | | | | | | | 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]>
| * ModuleDef is Def-freeAleksey Kladov2019-01-241-1/+0
| |
| * Migrate trait & type to new idsAleksey Kladov2019-01-242-11/+4
| |
| * move consts&statics to new idAleksey Kladov2019-01-242-2/+4
| |
| * adapt ide_api to the new APIAleksey Kladov2019-01-242-1/+5
| |
| * adapt ide_api to the new APIAleksey Kladov2019-01-243-39/+32
| |
| * 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
* | Display type when completing tuplesJeremy Kolb2019-01-242-1/+55
|/
* 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
|