Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | use LocalSyntaxPtr for file symbol | Aleksey Kladov | 2019-01-03 | 3 | -53/+49 | |
| | | | | ||||||
| * | | | move some logic to navigation target | Aleksey Kladov | 2019-01-03 | 3 | -113/+127 | |
| | | | | ||||||
| * | | | add kind to LocalSyntaxPtr | Aleksey Kladov | 2019-01-03 | 1 | -0/+4 | |
|/ / / | ||||||
* / / | explain that completion shouldn't do filtering | Aleksey Kladov | 2019-01-03 | 1 | -1/+15 | |
|/ / | ||||||
* | | Merge #408 | bors[bot] | 2019-01-02 | 1 | -14/+50 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 408: vscode problem matcher improvements r=matklad a=vemoo The problem matcher wasn't working properly and looking at the rustc errors i realized it could be simplified. I also added a new problem matcher that can be used with https://github.com/passcod/cargo-watch to get the errors in the editor on save. To use it one can create a tasks.json file with: ```json { "version": "2.0.0", "tasks": [ { "type": "shell", "label": "cargo watch", "command": "cargo", "isBackground": true, "args": [ "watch", "-c" ], "problemMatcher": [ "$rustc-watch" ] } ] } ``` I initially implemented it like this: https://github.com/rust-analyzer/rust-analyzer/commit/cff9f62d321a90c45e622f5304e60a248cbcf4f2 but i think there's a bug in vscode so i worked around it by copying the pattern for both problem matchers. The first commit can be used if https://github.com/Microsoft/vscode/pull/65840 is merged. Co-authored-by: Bernardo <[email protected]> | |||||
| * | | named multiline problem patterns are not parsed properly in vscode at the moment | Bernardo | 2019-01-01 | 1 | -2/+29 | |
| | | | ||||||
| * | | fix regex and add rustc-watch problem matcher | Bernardo | 2019-01-01 | 1 | -23/+32 | |
| | | | ||||||
* | | | Merge #407 | bors[bot] | 2019-01-02 | 7 | -124/+65 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 407: run r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | simplify runnables | Aleksey Kladov | 2019-01-02 | 7 | -124/+65 | |
| | | | | ||||||
* | | | | Merge #406 | bors[bot] | 2019-01-02 | 4 | -218/+203 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 406: Simplify r=matklad a=matklad Get rid of `AnalysisImpl` wrapper around salsa database. It was useful before we migrated by salsa, but it's long have been just a useless boilerplate. Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | fix compilation | Aleksey Kladov | 2019-01-02 | 2 | -2/+2 | |
| | | | | ||||||
| * | | | doctrings | Aleksey Kladov | 2019-01-02 | 1 | -28/+62 | |
| | | | | ||||||
| * | | | get rid of AnalysisImpl | Aleksey Kladov | 2019-01-02 | 2 | -101/+80 | |
| | | | | ||||||
| * | | | remove AnalysisHostImpl | Aleksey Kladov | 2019-01-02 | 2 | -45/+26 | |
| | | | | ||||||
| * | | | remove some methods from analysis impl | Aleksey Kladov | 2019-01-02 | 2 | -22/+13 | |
| | | | | ||||||
| * | | | move world-symbols to file_symbols | Aleksey Kladov | 2019-01-02 | 3 | -42/+42 | |
| | | | | ||||||
* | | | | Merge #405 | bors[bot] | 2019-01-02 | 2 | -5/+21 | |
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | 405: extend selection inside a string literal should select a word first r=matklad a=gfreezy fixed #402 Co-authored-by: gfreezy <[email protected]> | |||||
| * | | | extend selection inside a string literal should select a word first | gfreezy | 2019-01-02 | 2 | -5/+21 | |
|/ / / | ||||||
* | | | Merge #404 | bors[bot] | 2019-01-02 | 9 | -298/+329 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 404: Move FileSymbol to ra_analysis r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | fix tests | Aleksey Kladov | 2019-01-02 | 1 | -5/+5 | |
| | | | | ||||||
| * | | | make FileSymbol private | Aleksey Kladov | 2019-01-02 | 2 | -8/+7 | |
| | | | | ||||||
| * | | | use navigation target in API | Aleksey Kladov | 2019-01-02 | 4 | -26/+44 | |
| | | | | ||||||
| * | | | introduce navigation target | Aleksey Kladov | 2019-01-02 | 3 | -13/+28 | |
| | | | | ||||||
| * | | | move symbols to ra_analysis | Aleksey Kladov | 2019-01-02 | 6 | -256/+255 | |
| |/ / | ||||||
* | | | Merge #403 | bors[bot] | 2019-01-02 | 22 | -344/+778 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 403: initial support for macros r=matklad a=matklad I'll write a more comprehensive description when this is closer to being done. Basically this investigates one question: "how do we represent code which is a result of a macro call". This is an interesting question: currently everything is `FileId` based, but macro expansion does not have a file! Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | small rename | Aleksey Kladov | 2019-01-02 | 2 | -3/+3 | |
| | | | ||||||
| * | | comments | Aleksey Kladov | 2019-01-02 | 3 | -12/+35 | |
| | | | ||||||
| * | | rename | Aleksey Kladov | 2019-01-02 | 2 | -2/+2 | |
| | | | ||||||
| * | | move macro id to ids | Aleksey Kladov | 2019-01-01 | 5 | -40/+40 | |
| | | | ||||||
| * | | move more stuff to ids | Aleksey Kladov | 2019-01-01 | 6 | -185/+183 | |
| | | | ||||||
| * | | rename MFileId -> HirFileId | Aleksey Kladov | 2019-01-01 | 13 | -99/+135 | |
| | | | ||||||
| * | | introduce ids module | Aleksey Kladov | 2019-01-01 | 2 | -14/+34 | |
| | | | ||||||
| * | | add tests for macro generated items | Aleksey Kladov | 2019-01-01 | 1 | -1/+83 | |
| | | | ||||||
| * | | add items from macros to modules | Aleksey Kladov | 2019-01-01 | 3 | -12/+67 | |
| | | | ||||||
| * | | wip | Aleksey Kladov | 2019-01-01 | 2 | -47/+49 | |
| | | | ||||||
| * | | fix tests | Aleksey Kladov | 2019-01-01 | 3 | -2/+3 | |
| | | | ||||||
| * | | use MFile | Aleksey Kladov | 2019-01-01 | 7 | -30/+62 | |
| | | | ||||||
| * | | introduce MFileId | Aleksey Kladov | 2019-01-01 | 1 | -0/+7 | |
| | | | ||||||
| * | | work towards brining macros to nameres | Aleksey Kladov | 2019-01-01 | 2 | -3/+16 | |
| | | | ||||||
| * | | save top-level macros in module items | Aleksey Kladov | 2019-01-01 | 3 | -14/+18 | |
| | | | ||||||
| * | | hard-code expansion of query_group | Aleksey Kladov | 2019-01-01 | 2 | -8/+60 | |
| | | | ||||||
| * | | fix tests | Aleksey Kladov | 2019-01-01 | 2 | -2/+9 | |
| | | | ||||||
| * | | rename | Aleksey Kladov | 2019-01-01 | 4 | -19/+19 | |
| | | | ||||||
| * | | move more macros to hir | Aleksey Kladov | 2019-01-01 | 8 | -85/+127 | |
| | | | ||||||
| * | | use macros database in analysis | Aleksey Kladov | 2019-01-01 | 6 | -68/+70 | |
| | | | ||||||
| * | | introduce MacrosDatabase | Aleksey Kladov | 2019-01-01 | 2 | -0/+58 | |
|/ / | ||||||
* | | Merge #401 | bors[bot] | 2019-01-01 | 2 | -0/+68 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 401: complete `crate` `self` and `super` in use stmt r=matklad a=gfreezy fixed #387 Co-authored-by: gfreezy <[email protected]> | |||||
| * | | place complete_use_tree_keyword in the same mod with complete_expr_keyword | gfreezy | 2019-01-01 | 3 | -77/+67 | |
| | | | ||||||
| * | | move to a seperate complete_use_tree_keyword mod | gfreezy | 2019-01-01 | 3 | -64/+77 | |
| | | | ||||||
| * | | complete "self" and "super" | gfreezy | 2019-01-01 | 1 | -20/+44 | |
| | | |