aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src
Commit message (Collapse)AuthorAgeFilesLines
...
* write path resolution code only onceAleksey Kladov2019-01-251-3/+1
|
* Merge #623bors[bot]2019-01-249-98/+108
|\ | | | | | | | | | | | | | | | | | | | | 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-242-2/+0
| |
| * Migrate trait & type to new idsAleksey Kladov2019-01-243-42/+32
| |
| * move consts&statics to new idAleksey Kladov2019-01-243-10/+18
| |
| * adapt ide_api to the new APIAleksey Kladov2019-01-243-5/+12
| |
| * adapt ide_api to the new APIAleksey Kladov2019-01-244-46/+45
| |
| * new struct idAleksey Kladov2019-01-241-15/+18
| |
| * update ide_api to new hirAleksey Kladov2019-01-245-10/+14
| |
| * Change ids strategyAleksey Kladov2019-01-247-75/+76
| | | | | | | | | | | | | | 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
|/
* encapsulate hir locationsAleksey Kladov2019-01-242-30/+10
|
* 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
|
* move SyntaxPtr to ra_syntaxAleksey Kladov2019-01-233-10/+10
|
* don't insert parens for self methodsAleksey Kladov2019-01-235-13/+52
|
* move completion item tests closer to the codeAleksey Kladov2019-01-235-44/+66
| | | | | 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
|
* Merge #598bors[bot]2019-01-2315-31/+92
|\ | | | | | | | | | | | | | | 598: Add function signature to CompletionItem detail r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
| * 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
| |
* | ad status commandAleksey Kladov2019-01-222-0/+21
| |
* | Simplify CallInfo label and documentationJeremy A. Kolb2019-01-221-40/+7
|/
* Update snapsJeremy A. Kolb2019-01-2252-208/+433
|
* 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
|
* Merge #582bors[bot]2019-01-216-30/+312
|\ | | | | | | | | | | | | | | 582: Postfix completion r=matklad a=gfreezy resolved #525 Co-authored-by: gfreezy <[email protected]>
| * postfix completiongfreezy2019-01-216-30/+312
| |
* | typos fixgfreezy2019-01-211-4/+4
|/
* Merge #574bors[bot]2019-01-2052-301/+2179
|\ | | | | | | | | | | | | | | | | 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-1952-296/+2296
| |
* | extend selection expands macros and can totally panicAleksey Kladov2019-01-202-3/+3
| |
* | somewhat better nameAleksey Kladov2019-01-201-1/+1
| |
* | make matching brace consistentAleksey Kladov2019-01-201-2/+3
| |
* | use with_db consistentlyAleksey Kladov2019-01-201-14/+7
| |
* | Generics -> GenericParamsFlorian Diebold2019-01-191-1/+1
| |
* | Implement beginnings of genericsFlorian Diebold2019-01-192-2/+5
|/ | | | | | | - add HIR for generic params - resolve generic params in type paths - add substitions for ADTs - insert type variables for substitutions
* rename LoweredImport -> ImportIdAleksey Kladov2019-01-191-1/+0
|
* switched to lowerd moduleAleksey Kladov2019-01-192-7/+7
|
* prefer inline testsgfreezy2019-01-193-0/+208
|
* fix commentsgfreezy2019-01-193-9/+2
|
* move rename to a new modgfreezy2019-01-194-93/+144
|