Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | refactor import resolution | Aleksey Kladov | 2019-01-25 | 4 | -99/+146 | |
| | | | | | | | | | | extract path resolution use enums instead of bools | |||||
* | | Merge #630 | bors[bot] | 2019-01-25 | 5 | -59/+179 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | 630: Fill in DocumentSymbol::detail r=matklad a=hban Closes: #516 I just pulled type text from the syntax node and "formatted" is bit. VS Code can't really handle multi-line symbol detail (it's will crop it when rendering), so that formatting will just collapse all white-space to singe space. It isn't pretty, but maybe there's a better way. Issue also mentions "need to be done for `NavigationTarget` to `SymbolInformation`", but `SymbolInformation` doesn't have detail field on it? Co-authored-by: Hrvoje Ban <[email protected]> | |||||
| * | Fill in DocumentSymbol::detail | Hrvoje Ban | 2019-01-24 | 5 | -59/+179 | |
| | | ||||||
* | | Merge #633 | bors[bot] | 2019-01-24 | 4 | -8/+523 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 633: use ToOwned trait instead of inherent method r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | use ToOwned trait instead of inherent method | Aleksey Kladov | 2019-01-24 | 4 | -8/+523 | |
| | | | ||||||
* | | | Merge #623 | bors[bot] | 2019-01-24 | 36 | -977/+939 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 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]> | |||||
| * | | move adt to adt | Aleksey Kladov | 2019-01-24 | 3 | -24/+23 | |
| | | | ||||||
| * | | Kill DefId | Aleksey Kladov | 2019-01-24 | 2 | -31/+11 | |
| | | | ||||||
| * | | kill DefKindc | Aleksey Kladov | 2019-01-24 | 3 | -55/+15 | |
| | | | ||||||
| * | | ModuleDef is Def-free | Aleksey Kladov | 2019-01-24 | 4 | -12/+2 | |
| | | | ||||||
| * | | Migrate trait & type to new ids | Aleksey Kladov | 2019-01-24 | 13 | -186/+104 | |
| | | | ||||||
| * | | generalize | Aleksey Kladov | 2019-01-24 | 1 | -4/+17 | |
| | | | ||||||
| * | | move consts&statics to new id | Aleksey Kladov | 2019-01-24 | 8 | -47/+86 | |
| | | | ||||||
| * | | remove boilerplate | Aleksey Kladov | 2019-01-24 | 6 | -92/+72 | |
| | | | ||||||
| * | | generalize boilerplate | Aleksey Kladov | 2019-01-24 | 3 | -39/+51 | |
| | | | ||||||
| * | | remove dead code | Aleksey Kladov | 2019-01-24 | 1 | -11/+1 | |
| | | | ||||||
| * | | removed untyped typabledef | Aleksey Kladov | 2019-01-24 | 1 | -26/+3 | |
| | | | ||||||
| * | | adapt ide_api to the new API | Aleksey Kladov | 2019-01-24 | 4 | -6/+12 | |
| | | | ||||||
| * | | move enum variant to the new API | Aleksey Kladov | 2019-01-24 | 6 | -142/+97 | |
| | | | ||||||
| * | | remove useless aliases | Aleksey Kladov | 2019-01-24 | 3 | -38/+14 | |
| | | | ||||||
| * | | macro-generate froms | Aleksey Kladov | 2019-01-24 | 4 | -78/+17 | |
| | | | ||||||
| * | | adapt ide_api to the new API | Aleksey Kladov | 2019-01-24 | 4 | -46/+45 | |
| | | | ||||||
| * | | kill unused defs | Aleksey Kladov | 2019-01-24 | 2 | -7/+0 | |
| | | | ||||||
| * | | migrate enums to new id | Aleksey Kladov | 2019-01-24 | 9 | -143/+191 | |
| | | | ||||||
| * | | introduce EnumId | Aleksey Kladov | 2019-01-24 | 1 | -0/+19 | |
| | | | ||||||
| * | | new struct id | Aleksey Kladov | 2019-01-24 | 12 | -106/+200 | |
| | | | ||||||
| * | | add StructId | Aleksey Kladov | 2019-01-24 | 1 | -0/+19 | |
| | | | ||||||
| * | | update ide_api to new hir | Aleksey Kladov | 2019-01-24 | 5 | -10/+14 | |
| | | | ||||||
| * | | remove DefKind::Function | Aleksey Kladov | 2019-01-24 | 2 | -6/+4 | |
| | | | ||||||
| * | | Functions use new id scheme | Aleksey Kladov | 2019-01-24 | 13 | -201/+297 | |
| | | | ||||||
| * | | add FunctionId | Aleksey Kladov | 2019-01-24 | 1 | -0/+23 | |
| | | | ||||||
| * | | Change ids strategy | Aleksey Kladov | 2019-01-24 | 26 | -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 | |||||
* | | | Reformat | DJMcNab | 2019-01-24 | 1 | -15/+16 | |
| | | | ||||||
* | | | Apply suggestions from code review | Daniel McNab | 2019-01-24 | 1 | -2/+1 | |
| | | | | | | | | | Co-Authored-By: DJMcNab <[email protected]> | |||||
* | | | Dedupe PATH_FIRST in ATOM_EXPR_FIRST | DJMcNab | 2019-01-24 | 1 | -7/+2 | |
| | | | ||||||
* | | | Support universal function call syntax in function calls | DJMcNab | 2019-01-24 | 6 | -6/+226 | |
| |/ |/| | ||||||
* | | Merge #627 | bors[bot] | 2019-01-24 | 1 | -1/+1 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 627: Use stable toolchain r=matklad a=kjeremy Fixes #622 Co-authored-by: Jeremy Kolb <[email protected]> | |||||
| * | | Use stable toolchain | Jeremy Kolb | 2019-01-24 | 1 | -1/+1 | |
| | | | ||||||
* | | | Display type when completing tuples | Jeremy Kolb | 2019-01-24 | 2 | -1/+55 | |
|/ / | ||||||
* / | minor rename | Aleksey Kladov | 2019-01-24 | 1 | -4/+4 | |
|/ | ||||||
* | encapsulate hir locations | Aleksey Kladov | 2019-01-24 | 7 | -74/+45 | |
| | ||||||
* | Add a comment | Jeremy Kolb | 2019-01-24 | 1 | -0/+1 | |
| | ||||||
* | Fix snap | Jeremy A. Kolb | 2019-01-23 | 2 | -6/+12 | |
| | ||||||
* | Add a bunch of new documentation to completions | Jeremy A. Kolb | 2019-01-23 | 3 | -20/+54 | |
| | ||||||
* | Add way of getting docs from the code model and use for completion | Jeremy A. Kolb | 2019-01-23 | 5 | -20/+72 | |
| | ||||||
* | Make EnumVariant a DocCommentsOwner | Jeremy A. Kolb | 2019-01-23 | 3 | -2/+4 | |
| | ||||||
*-. | Merge #617 #618 | bors[bot] | 2019-01-23 | 1 | -2/+2 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]> | |||||
| * | | Use npm ci instead of install | Hirokazu Hata | 2019-01-23 | 1 | -2/+2 | |
| | | | ||||||
* | | | More correct raw ident handling | Josh Robson Chase | 2019-01-23 | 3 | -5/+58 | |
| | | | ||||||
* | | | Use IDENT for both raw and normal idents | Josh Robson Chase | 2019-01-23 | 22 | -78/+39 | |
| | | |