Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | vscode: fix vscode-vim keybindings conflict | Veetaha | 2020-02-25 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vscode-vim extension overrides the `type` command so that it prevents some keypresses to reach the text document editor. It conflicts with our `onEnter` keybinding that is used to support automatic doc comments extending and indentation insertion. The VSCode-native way to implement this would be to use regular expressions, but as per matklad it is considered not acceptable for the language server. Thus we implement it via a `Enter` keybinding that invokes our `onEnter` command which sends a request to rust-analyzer process and applies the appropriate source change recieved from it. At the end of the day we may only apply ad hoc workarounds for conflicting extensions. But vscode has another bug for that. You either cannot use parantheses in `when` condition of a keybinding or it just malfunctions. See an issue about that here: https://github.com/microsoft/vscode/issues/91473 To get the ultimate context, follow this zulip thread: https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Enhanced.20typing | |||||
* | | Color constants | Aleksey Kladov | 2020-02-27 | 1 | -0/+9 | |
| | | ||||||
* | | Better highlightign API | Aleksey Kladov | 2020-02-27 | 1 | -0/+19 | |
| | | ||||||
* | | wip | Aleksey Kladov | 2020-02-26 | 1 | -0/+14 | |
| | | ||||||
* | | 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. | |||||
* / | Remove unnecessary dep | Aleksey Kladov | 2020-02-26 | 3 | -26/+8 | |
|/ | ||||||
* | 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 #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 | |
| | | | ||||||
| * | | vscode: migrate expand_macro to rust-analyzer-api.ts | Veetaha | 2020-02-24 | 1 | -13/+5 | |
| | | | ||||||
| * | | vscode: migrate analyzer_status to rust-analyzer-api.ts | Veetaha | 2020-02-24 | 1 | -4/+2 | |
| | | | ||||||
| * | | vscode: migrate highlighting to rust-analyzer-api.ts | Veetaha | 2020-02-24 | 1 | -39/+21 | |
| | | | ||||||
| * | | vscode: migrate source_cnage.rs to rust-analyzer-api.rs | Veetaha | 2020-02-24 | 1 | -7/+2 | |
| | | | ||||||
| * | | vscode: create rust-analyzer-api.ts | Veetaha | 2020-02-24 | 1 | -0/+117 | |
| |/ | ||||||
* / | vscode: bump TypeScript version | Veetaha | 2020-02-24 | 2 | -4/+4 | |
|/ | ||||||
* | Cleanp | Aleksey Kladov | 2020-02-24 | 1 | -2/+2 | |
| | ||||||
* | Merge #3290 | bors[bot] | 2020-02-24 | 1 | -0/+6 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 3290: Don't block onEnter if request fails r=matklad a=matklad closes #3286 bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Don't block onEnter if request fails | Aleksey Kladov | 2020-02-24 | 1 | -0/+6 | |
| | | | | | | | | closes #3286 | |||||
* | | Merge #3288 | bors[bot] | 2020-02-24 | 1 | -2/+5 | |
|\ \ | |/ |/| | | | | | | | | | | | 3288: Quick fix circular json error when sanity-check fails r=matklad a=Veetaha Related issue: #3280 Co-authored-by: Veetaha <[email protected]> | |||||
| * | Quick fix circular json error when sanity-check fails | Veetaha | 2020-02-24 | 1 | -2/+5 | |
| | | | | | | Related issue: #3280 | |||||
* | | Don't break onEnter if rust-analyzer fails to start | Aleksey Kladov | 2020-02-24 | 1 | -0/+23 | |
|/ | | | | closes #3253 | |||||
* | vscode: gracefully handle cancellation errors | Veetaha | 2020-02-23 | 4 | -44/+60 | |
| | ||||||
* | Extract client-side logging | Aleksey Kladov | 2020-02-22 | 10 | -21/+51 | |
| | ||||||
* | vscode: migrate to tripple equals | Veetaha | 2020-02-22 | 4 | -9/+10 | |
| | ||||||
* | Use stdout directly | Edwin Cheng | 2020-02-21 | 1 | -2/+1 | |
| | ||||||
* | Use ensureServerBinary instead | Edwin Cheng | 2020-02-21 | 1 | -5/+17 | |
| | ||||||
* | Add trailing newline | Edwin Cheng | 2020-02-21 | 1 | -1/+2 | |
| | ||||||
* | Improve server version info | Edwin Cheng | 2020-02-21 | 4 | -0/+16 | |
| | ||||||
* | enforce camel case | Aleksey Kladov | 2020-02-21 | 4 | -6/+8 | |
| | ||||||
* | Improved compatibility with themes | eaglgenes101 | 2020-02-20 | 2 | -6/+10 | |
| | ||||||
* | Merge pull request #3204 from ↵ | Aleksey Kladov | 2020-02-18 | 1 | -1/+0 | |
|\ | | | | | | | | | Veetaha/feature/vscode-remove-updates-notification-comment vscode: remove comment about updates notification | |||||
| * | vscode: remove comment about updates notification | Veetaha | 2020-02-17 | 1 | -1/+0 | |
| | | ||||||
* | | Rename config value for server Path | Aleksey Kladov | 2020-02-18 | 3 | -3/+3 | |
| | | ||||||
* | | Rename the binary to rust-analyzer | Aleksey Kladov | 2020-02-18 | 2 | -6/+6 | |
| | | ||||||
* | | Merge pull request #3209 from matklad/eslint | Aleksey Kladov | 2020-02-18 | 6 | -80/+900 | |
|\ \ | | | | | | | Eslint |