aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge #662bors[bot]2019-01-272-8/+2
|\ \ | |/ |/| | | | | | | | | | | 662: Preserve indentation in doc comments r=matklad a=kjeremy Fixes #502 Co-authored-by: Jeremy Kolb <[email protected]>
| * Make doc comments optionalJeremy Kolb2019-01-262-8/+2
| |
* | fix panic in call infoAleksey Kladov2019-01-262-2/+21
|/ | | | | closes #317 closes #675
* rename source_file -> parseAleksey Kladov2019-01-2612-28/+28
|
* rename FilesDatabase -> SourceDatabaseAleksey Kladov2019-01-2612-15/+15
|
* move ide queries to ide dbAleksey Kladov2019-01-262-9/+14
|
* fold syntax database into files databaseAleksey Kladov2019-01-2611-14/+13
|
* :arrow_up: salsaAleksey Kladov2019-01-254-13/+12
|
* print one size for symbolsAleksey Kladov2019-01-251-1/+1
|
* Add docs to struct fieldsJeremy A. Kolb2019-01-252-6/+14
|
* print one size for symbolsAleksey Kladov2019-01-252-15/+5
|
* Merge #647bors[bot]2019-01-252-38/+11
|\ | | | | | | | | | | | | | | 647: fix todo r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * fix todoAleksey Kladov2019-01-252-38/+11
| |
* | Merge #646bors[bot]2019-01-253-1/+43
|\ \ | |/ |/| | | | | | | | | | | 646: Add module documentation support r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Add module documentation supportJeremy A. Kolb2019-01-253-1/+43
| |
* | Merge #645bors[bot]2019-01-253-6/+47
|\ \ | |/ |/| | | | | | | | | | | 645: WIP: support goto for fields. r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * add ability to get strcut field sourceAleksey Kladov2019-01-253-6/+47
| |
* | Merge #644bors[bot]2019-01-254-6/+108
|\ \ | |/ |/| | | | | | | | | | | 644: EnumVariant details for completion r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
| * EnumVariant details for completionJeremy A. Kolb2019-01-254-6/+108
| |
* | add gc requestAleksey Kladov2019-01-252-2/+7
|/
* more statsAleksey Kladov2019-01-252-33/+130
|
* better statsAleksey Kladov2019-01-251-2/+48
|
* Merge #639bors[bot]2019-01-254-75/+23
|\ | | | | | | | | | | | | | | 639: Update salsa r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * use set methodsAleksey Kladov2019-01-251-25/+14
| |
| * :arrow_up salsaAleksey Kladov2019-01-253-50/+9
| |
* | use positional ids for fieldsAleksey Kladov2019-01-251-2/+2
|/
* pack enum variants into arenaAleksey Kladov2019-01-252-6/+5
|
* rename def_id -> defAleksey Kladov2019-01-251-4/+1
|
* 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
* :arrow_up: instaAleksey Kladov2019-01-231-1/+1
|
* 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
| |