aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* adapt ide_api to the new APIAleksey Kladov2019-01-244-6/+12
|
* move enum variant to the new APIAleksey Kladov2019-01-246-142/+97
|
* remove useless aliasesAleksey Kladov2019-01-243-38/+14
|
* macro-generate fromsAleksey Kladov2019-01-244-78/+17
|
* adapt ide_api to the new APIAleksey Kladov2019-01-244-46/+45
|
* kill unused defsAleksey Kladov2019-01-242-7/+0
|
* migrate enums to new idAleksey Kladov2019-01-249-143/+191
|
* introduce EnumIdAleksey Kladov2019-01-241-0/+19
|
* new struct idAleksey Kladov2019-01-2412-106/+200
|
* add StructIdAleksey Kladov2019-01-241-0/+19
|
* update ide_api to new hirAleksey Kladov2019-01-245-10/+14
|
* remove DefKind::FunctionAleksey Kladov2019-01-242-6/+4
|
* Functions use new id schemeAleksey Kladov2019-01-2413-201/+297
|
* add FunctionIdAleksey Kladov2019-01-241-0/+23
|
* Change ids strategyAleksey Kladov2019-01-2426-431/+366
| | | | | | | 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
* Merge #624bors[bot]2019-01-247-74/+45
|\ | | | | | | | | | | | | | | 624: encapsulate hir locations r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * encapsulate hir locationsAleksey Kladov2019-01-247-74/+45
|/
* Merge #621bors[bot]2019-01-249-43/+138
|\ | | | | | | | | | | | | | | | | 621: Completion docs for code model r=kjeremy a=kjeremy Adds a way to access documentation through the code model and exposes it to completions. Also allows us to document enum variants. Co-authored-by: Jeremy A. Kolb <[email protected]> Co-authored-by: Jeremy Kolb <[email protected]>
| * Add a commentJeremy Kolb2019-01-241-0/+1
| |
| * Fix snapJeremy A. Kolb2019-01-232-6/+12
| |
| * Add a bunch of new documentation to completionsJeremy A. Kolb2019-01-233-20/+54
| |
| * Add way of getting docs from the code model and use for completionJeremy A. Kolb2019-01-235-20/+72
| |
| * Make EnumVariant a DocCommentsOwnerJeremy A. Kolb2019-01-233-2/+4
|/
*-. Merge #617 #618bors[bot]2019-01-233-3/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 617: Use npm ci instead of install r=matklad a=h-michael fix #422 `npm install` is always recreate `package-lock.json`. So we might use `npm ci` with `install-code` https://docs.npmjs.com/cli/ci.html#description 618: Add install-lsp subcommand r=matklad a=h-michael related https://github.com/rust-analyzer/rust-analyzer/pull/617#issuecomment-456914650 Co-authored-by: Hirokazu Hata <[email protected]>
| | * Add install-lsp subcommandHirokazu Hata2019-01-232-1/+5
| | |
| * | Use npm ci instead of installHirokazu Hata2019-01-231-2/+2
| | |
* | | Merge #619bors[bot]2019-01-233-5/+58
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 619: More correct raw ident handling r=matklad a=jrobsonchase Also added the suggested test from #616. It passed before the change to `scan_ident`, but at least now it should ensure that the behavior stays the same. Co-authored-by: Josh Robson Chase <[email protected]>
| * | | More correct raw ident handlingJosh Robson Chase2019-01-233-5/+58
|/ / /
* | | Merge #616bors[bot]2019-01-238-8/+53
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 616: Lex raw idents correctly r=matklad a=jrobsonchase One question: What's the intent of the text by the `IDENT` node under `NAME`? Should it be the actual token text or the semantic name? Closes #611 Co-authored-by: Josh Robson Chase <[email protected]>
| * | Use IDENT for both raw and normal identsJosh Robson Chase2019-01-2322-78/+39
| | |
| * | Add raw idents to lexer and parserJosh Robson Chase2019-01-2326-40/+124
|/ /
* | Merge #615bors[bot]2019-01-234-7/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | 615: Bumpup lsp-types to v0.55.0 r=DJMcNab a=h-michael https://github.com/gluon-lang/lsp-types/compare/v0.54.0...v0.55.0 Co-authored-by: Hirokazu Hata <[email protected]>
| * | Fix target_selection_range typeHirokazu Hata2019-01-231-1/+1
| | |
| * | Bumpup lsp-types to v0.55.0Hirokazu Hata2019-01-233-6/+6
| |/
* / drop obsolete commentAleksey Kladov2019-01-231-1/+0
|/
* Merge #614bors[bot]2019-01-231-0/+73
|\ | | | | | | | | | | | | | | 614: Add supported LSP features to README.md r=matklad a=h-michael Co-authored-by: Hirokazu Hata <[email protected]>
| * Add supported LSP features to README.mdHirokazu Hata2019-01-231-0/+73
| |
* | Merge #613bors[bot]2019-01-234-107/+99
|\ \ | |/ |/| | | | | | | | | | | 613: assign DefIds when lowering r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * assign DefIds when loweringAleksey Kladov2019-01-234-107/+99
|/
* Merge #612bors[bot]2019-01-234-143/+152
|\ | | | | | | | | | | | | | | 612: Some random refactorings r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * introduced better typed AstPtrAleksey Kladov2019-01-233-9/+40
| |
| * refactorAleksey Kladov2019-01-231-98/+81
| |
| * simiplifyAleksey Kladov2019-01-231-24/+20
| |
| * better namesAleksey Kladov2019-01-231-14/+13
|/
* Merge #610bors[bot]2019-01-2312-108/+109
|\ | | | | | | | | | | | | | | 610: move SyntaxPtr to ra_syntax r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * move SyntaxPtr to ra_syntaxAleksey Kladov2019-01-2312-108/+109
|/
* Merge #608bors[bot]2019-01-2311-60/+124
|\ | | | | | | | | | | | | | | 608: Complete parens r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * don't insert parens for self methodsAleksey Kladov2019-01-235-13/+52
| |
| * move completion item tests closer to the codeAleksey Kladov2019-01-237-47/+72
|/ | | | | this is the reason why we need marks: the tests were spread across two files, because I've forgotten that there were tests already
* Merge #606bors[bot]2019-01-236-86/+91
|\ | | | | | | | | | | | | | | 606: generalize marking infrastructure r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>