Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #3322 from matklad/semantic-tokens-config | Aleksey Kladov | 2020-02-26 | 4 | -3/+15 |
|\ | | | | | Config to switch to semantic tokens | ||||
| * | Config to switch to semantic tokens | Aleksey Kladov | 2020-02-26 | 4 | -3/+15 |
|/ | |||||
* | Merge pull request #3321 from kjeremy/semantic-client | Aleksey Kladov | 2020-02-26 | 2 | -0/+4 |
|\ | | | | | Enable SemanticTokens on the client | ||||
| * | Enable SemanticTokens on the client | Jeremy Kolb | 2020-02-26 | 2 | -0/+4 |
| | | | | | | | | This will crash the extension on stable and insiders without the "--enable-proposed-api matklad.rust-analyzer" command line switch. | ||||
* | | Merge pull request #3314 from edwin0cheng/original-range-recursive | Aleksey Kladov | 2020-02-26 | 2 | -14/+57 |
|\ \ | | | | | | | Add recursive macro support in `original_range` | ||||
| * | | Remove duplicate comment | Edwin Cheng | 2020-02-26 | 1 | -1/+0 |
| | | | |||||
| * | | Add recursive support in original_range | Edwin Cheng | 2020-02-26 | 2 | -14/+58 |
| |/ | |||||
* | | Merge pull request #3320 from matklad/no-dep | Aleksey Kladov | 2020-02-26 | 3 | -26/+8 |
|\ \ | |/ |/| | Remove unnecessary dep | ||||
| * | Remove unnecessary dep | Aleksey Kladov | 2020-02-26 | 3 | -26/+8 |
|/ | |||||
* | Merge pull request #3318 from matklad/cleanup | Aleksey Kladov | 2020-02-26 | 5 | -101/+90 |
|\ | | | | | Reduce visibility | ||||
| * | Remove dead code | Aleksey Kladov | 2020-02-26 | 2 | -25/+9 |
| | | |||||
| * | Reduce visibility | Aleksey Kladov | 2020-02-26 | 3 | -76/+81 |
| | | |||||
* | | Merge pull request #3222 from matklad/identity | Aleksey Kladov | 2020-02-26 | 49 | -979/+1027 |
|\| | | | | | Introduce Semantics API | ||||
| * | Refactor primary IDE API | Aleksey Kladov | 2020-02-26 | 49 | -979/+1027 |
|/ | | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax. | ||||
* | Merge pull request #3317 from matklad/no-unicase | Aleksey Kladov | 2020-02-26 | 3 | -19/+0 |
|\ | | | | | Actually drop unicase dependency | ||||
| * | Actually drop unicase dependency | Aleksey Kladov | 2020-02-26 | 3 | -19/+0 |
| | | |||||
* | | Merge pull request #3316 from matklad/dedup | Aleksey Kladov | 2020-02-26 | 3 | -101/+74 |
|\ \ | |/ |/| | Remove code duplication in tests | ||||
| * | Remove code duplication in tests | Aleksey Kladov | 2020-02-26 | 3 | -101/+74 |
|/ | |||||
* | Merge #3307 | bors[bot] | 2020-02-25 | 6 | -41/+131 |
|\ | | | | | | | | | | | | | | | | | 3307: Semantic Ranges r=matklad a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: kjeremy <[email protected]> | ||||
| * | Rename back to highlight and check event's again highlight range | kjeremy | 2020-02-25 | 2 | -40/+54 |
| | | |||||
| * | Semantic Ranges | Jeremy Kolb | 2020-02-25 | 6 | -16/+92 |
|/ | |||||
* | Merge #3305 | bors[bot] | 2020-02-25 | 1 | -11/+13 |
|\ | | | | | | | | | | | | | | | | | | | | | 3305: Simplify r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Simplify | Aleksey Kladov | 2020-02-25 | 1 | -11/+13 |
| | | |||||
* | | Merge #3304 | bors[bot] | 2020-02-25 | 2 | -3/+3 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | 3304: :arrow_up: rowan r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | :arrow_up: rowan | Aleksey Kladov | 2020-02-25 | 2 | -3/+3 |
|/ | |||||
* | Merge #3303 | bors[bot] | 2020-02-25 | 2 | -15/+7 |
|\ | | | | | | | | | | | | | | | | | | | | | 3303: Simplify r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Simplify | Aleksey Kladov | 2020-02-25 | 2 | -15/+7 |
|/ | |||||
* | Merge #3298 | bors[bot] | 2020-02-25 | 4 | -65/+74 |
|\ | | | | | | | | | | | | | | | 3298: Bump chalk and replace TypeFamily with Interner r=flodiebold a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]> | ||||
| * | Bump chalk and replace TypeFamily with Interner | Laurențiu Nicola | 2020-02-24 | 4 | -65/+74 |
| | | |||||
* | | Merge #3302 | bors[bot] | 2020-02-25 | 2 | -13/+14 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3302: Replace generic with a concrete type r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | Replace generic with a concrete type | Aleksey Kladov | 2020-02-25 | 2 | -13/+14 |
| | | | |||||
* | | | Merge #3295 | bors[bot] | 2020-02-25 | 3 | -21/+42 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3295: Refactoring fetchArtifactReleaseInfo() r=matklad a=Veetaha https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unnecessary-type-assertion.md I fact this rule doesn't work when you put an unnecessary non-null assertion in an expression (as we had `(awat f())!`, but it is useful in other cases... Closes #3295, i guess... Co-authored-by: Veetaha <[email protected]> | ||||
| * | | vscode: wrap non-single-line if body with curlies as per matklad | Veetaha | 2020-02-24 | 1 | -3/+5 |
| | | | |||||
| * | | vscode: remove type assertion | Veetaha | 2020-02-24 | 2 | -2/+3 |
| | | | |||||
| * | | add error handling to fetchArtifactReleaseInfo(), throw Error when no ↵ | Veetaha | 2020-02-24 | 1 | -19/+37 |
| |/ | | | | | | | artifact found | ||||
* | | Merge #3159 | bors[bot] | 2020-02-25 | 9 | -40/+247 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3159: Server-side Semantic Tokens r=matklad a=kjeremy Takes the output of `syntax_highlighting` and converts it to the proposed semantic tokens API (so far only `textDocument/semanticTokens`. There's a lot of cool stuff we could do with this and the "Inspect Editor Tokens and Scopes" vscode command (pic below) is a cool way to see what has tokens and what doesn't. Incredibly hacky and could panic due to unwraps, `panic!` etc. To use: run with `code-insiders --enable-proposed-api matklad.rust-analyzer`. If you try to run this without `--enable-proposed-api` it will crash. ![image](https://user-images.githubusercontent.com/4325700/74595603-7c66cf00-5011-11ea-9593-312663f04fc1.png) @matklad I'm mostly looking for design feedback. Co-authored-by: kjeremy <[email protected]> Co-authored-by: Jeremy Kolb <[email protected]> | ||||
| * | | Add docs | Jeremy Kolb | 2020-02-25 | 1 | -0/+8 |
| | | | |||||
| * | | Teach the server about Semantic Tokens proposed LSP | kjeremy | 2020-02-25 | 9 | -40/+239 |
| | | | |||||
* | | | Merge #3299 | bors[bot] | 2020-02-25 | 15 | -198/+203 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 3299: vscode: migrate to request type api r=matklad a=Veetaha More type-safety to the god of type-safety. Co-authored-by: Veetaha <[email protected]> | ||||
| * | | vscode: migrate rust-analyzer-api to import * as lc as per matklad and kjeremy | Veetaha | 2020-02-24 | 1 | -23/+23 |
| | | | |||||
| * | | vscode: run fmt | Veetaha | 2020-02-24 | 1 | -1/+1 |
| | | | |||||
| * | | vscode: migrate inlay_hints to rust-analyzer-api.ts | Veetaha | 2020-02-24 | 2 | -31/+16 |
| | | | |||||
| * | | vscode: migrate syntax_tree to rust-analyzer-api.ts | Veetaha | 2020-02-24 | 1 | -20/+7 |
| | | | |||||
| * | | vscode: migrate ssr to rust-analyzer-api.ts | Veetaha | 2020-02-24 | 1 | -11/+5 |
| | | | |||||
| * | | vscode: migrate runnables to rust-analyzer-api.ts | Veetaha | 2020-02-24 | 1 | -22/+7 |
| | | | |||||
| * | | vscode: migrate parent_module to rust-analyzer-api.ts | Veetaha | 2020-02-24 | 1 | -7/+3 |
| | | | |||||
| * | | vscode: migrate on_enter to rust-analyzer-api.ts | Veetaha | 2020-02-24 | 1 | -14/+7 |
| | | | |||||
| * | | vscode: migrate matching_brace to rust-analyzer-api.ts | Veetaha | 2020-02-24 | 1 | -12/+3 |
| | | | |||||
| * | | vscode: migrate join_lines to rust-analyzer-api.ts | Veetaha | 2020-02-24 | 1 | -13/+4 |
| | | | |||||
| * | | vscode: migrate collectGarbage to rust-analyzer-api.ts | Veetaha | 2020-02-24 | 1 | -5/+4 |
| | | |