aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * refactor import resolutionAleksey Kladov2019-01-254-99/+146
| | | | | | | | | | extract path resolution use enums instead of bools
* | Merge #630bors[bot]2019-01-255-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::detailHrvoje Ban2019-01-245-59/+179
| |
* | Merge #633bors[bot]2019-01-244-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 methodAleksey Kladov2019-01-244-8/+523
| | |
* | | Merge #623bors[bot]2019-01-2436-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 adtAleksey Kladov2019-01-243-24/+23
| | |
| * | Kill DefIdAleksey Kladov2019-01-242-31/+11
| | |
| * | kill DefKindcAleksey Kladov2019-01-243-55/+15
| | |
| * | ModuleDef is Def-freeAleksey Kladov2019-01-244-12/+2
| | |
| * | Migrate trait & type to new idsAleksey Kladov2019-01-2413-186/+104
| | |
| * | generalizeAleksey Kladov2019-01-241-4/+17
| | |
| * | move consts&statics to new idAleksey Kladov2019-01-248-47/+86
| | |
| * | remove boilerplateAleksey Kladov2019-01-246-92/+72
| | |
| * | generalize boilerplateAleksey Kladov2019-01-243-39/+51
| | |
| * | remove dead codeAleksey Kladov2019-01-241-11/+1
| | |
| * | removed untyped typabledefAleksey Kladov2019-01-241-26/+3
| | |
| * | 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
* | | ReformatDJMcNab2019-01-241-15/+16
| | |
* | | Apply suggestions from code reviewDaniel McNab2019-01-241-2/+1
| | | | | | | | | Co-Authored-By: DJMcNab <[email protected]>
* | | Dedupe PATH_FIRST in ATOM_EXPR_FIRSTDJMcNab2019-01-241-7/+2
| | |
* | | Support universal function call syntax in function callsDJMcNab2019-01-246-6/+226
| |/ |/|
* | Merge #627bors[bot]2019-01-241-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 627: Use stable toolchain r=matklad a=kjeremy Fixes #622 Co-authored-by: Jeremy Kolb <[email protected]>
| * | Use stable toolchainJeremy Kolb2019-01-241-1/+1
| | |
* | | Display type when completing tuplesJeremy Kolb2019-01-242-1/+55
|/ /
* / minor renameAleksey Kladov2019-01-241-4/+4
|/
* encapsulate hir locationsAleksey Kladov2019-01-247-74/+45
|
* 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-231-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 installHirokazu Hata2019-01-231-2/+2
| | |
* | | More correct raw ident handlingJosh Robson Chase2019-01-233-5/+58
| | |
* | | Use IDENT for both raw and normal identsJosh Robson Chase2019-01-2322-78/+39
| | |