aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | explain that completion shouldn't do filteringAleksey Kladov2019-01-031-1/+15
|/ /
* | Merge #408bors[bot]2019-01-021-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 momentBernardo2019-01-011-2/+29
| | |
| * | fix regex and add rustc-watch problem matcherBernardo2019-01-011-23/+32
| | |
* | | Merge #407bors[bot]2019-01-027-124/+65
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 407: run r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | simplify runnablesAleksey Kladov2019-01-027-124/+65
| | | |
* | | | Merge #406bors[bot]2019-01-024-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 compilationAleksey Kladov2019-01-022-2/+2
| | | |
| * | | doctringsAleksey Kladov2019-01-021-28/+62
| | | |
| * | | get rid of AnalysisImplAleksey Kladov2019-01-022-101/+80
| | | |
| * | | remove AnalysisHostImplAleksey Kladov2019-01-022-45/+26
| | | |
| * | | remove some methods from analysis implAleksey Kladov2019-01-022-22/+13
| | | |
| * | | move world-symbols to file_symbolsAleksey Kladov2019-01-023-42/+42
| | | |
* | | | Merge #405bors[bot]2019-01-022-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 firstgfreezy2019-01-022-5/+21
|/ / /
* | | Merge #404bors[bot]2019-01-029-298/+329
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 404: Move FileSymbol to ra_analysis r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | fix testsAleksey Kladov2019-01-021-5/+5
| | | |
| * | | make FileSymbol privateAleksey Kladov2019-01-022-8/+7
| | | |
| * | | use navigation target in APIAleksey Kladov2019-01-024-26/+44
| | | |
| * | | introduce navigation targetAleksey Kladov2019-01-023-13/+28
| | | |
| * | | move symbols to ra_analysisAleksey Kladov2019-01-026-256/+255
| |/ /
* | | Merge #403bors[bot]2019-01-0222-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 renameAleksey Kladov2019-01-022-3/+3
| | |
| * | commentsAleksey Kladov2019-01-023-12/+35
| | |
| * | renameAleksey Kladov2019-01-022-2/+2
| | |
| * | move macro id to idsAleksey Kladov2019-01-015-40/+40
| | |
| * | move more stuff to idsAleksey Kladov2019-01-016-185/+183
| | |
| * | rename MFileId -> HirFileIdAleksey Kladov2019-01-0113-99/+135
| | |
| * | introduce ids moduleAleksey Kladov2019-01-012-14/+34
| | |
| * | add tests for macro generated itemsAleksey Kladov2019-01-011-1/+83
| | |
| * | add items from macros to modulesAleksey Kladov2019-01-013-12/+67
| | |
| * | wipAleksey Kladov2019-01-012-47/+49
| | |
| * | fix testsAleksey Kladov2019-01-013-2/+3
| | |
| * | use MFileAleksey Kladov2019-01-017-30/+62
| | |
| * | introduce MFileIdAleksey Kladov2019-01-011-0/+7
| | |
| * | work towards brining macros to nameresAleksey Kladov2019-01-012-3/+16
| | |
| * | save top-level macros in module itemsAleksey Kladov2019-01-013-14/+18
| | |
| * | hard-code expansion of query_groupAleksey Kladov2019-01-012-8/+60
| | |
| * | fix testsAleksey Kladov2019-01-012-2/+9
| | |
| * | renameAleksey Kladov2019-01-014-19/+19
| | |
| * | move more macros to hirAleksey Kladov2019-01-018-85/+127
| | |
| * | use macros database in analysisAleksey Kladov2019-01-016-68/+70
| | |
| * | introduce MacrosDatabaseAleksey Kladov2019-01-012-0/+58
|/ /
* | Merge #401bors[bot]2019-01-012-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_keywordgfreezy2019-01-013-77/+67
| | |
| * | move to a seperate complete_use_tree_keyword modgfreezy2019-01-013-64/+77
| | |
| * | complete "self" and "super"gfreezy2019-01-011-20/+44
| | |
| * | complete "use crate" for "use cr" toogfreezy2019-01-011-2/+14
| | |
| * | complete crate in use stmtgfreezy2019-01-011-0/+29
|/ /
* | Merge #400bors[bot]2019-01-012-27/+27
|\ \ | | | | | | | | | | | | | | | | | | | | | 400: updates r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>