Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | Merge branch 'master' of https://github.com/rust-analyzer/rust-analyzer into ↵ | Seivan Heidari | 2019-11-18 | 1 | -1/+8 | |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | feature/themes | |||||
| * | | | | | | Probably a better approach to check for values before assigning lest we ↵ | Seivan Heidari | 2019-11-10 | 1 | -3/+27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | replace something. | |||||
| * | | | | | | Vscode wasn't running the linter automatically so ran `npm run fix` - wonder ↵ | Seivan Heidari | 2019-11-09 | 5 | -105/+109 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | if it's related to `tslint` being deprecated. | |||||
| * | | | | | | See if this satisfies the CI. | Seivan Heidari | 2019-11-05 | 1 | -5/+5 | |
| | | | | | | | ||||||
| * | | | | | | Fix typo. | Seivan Heidari | 2019-11-04 | 1 | -1/+1 | |
| | | | | | | | ||||||
| * | | | | | | Remove new line. | Seivan Heidari | 2019-11-04 | 1 | -1/+0 | |
| | | | | | | | ||||||
| * | | | | | | Logging fallback tag in case scopes are missing. | Seivan Heidari | 2019-11-04 | 1 | -3/+5 | |
| | | | | | | | ||||||
| * | | | | | | * Adding scope mapping configuration manifest in `package.json` | Seivan Heidari | 2019-11-04 | 4 | -65/+77 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Loading configurable scope mappings from settings. * Updating Readme with `rust-analyzer.scopeMappings`. `rust-analyzer.scopeMappings` -- a scheme backed JSON object to tweak Rust Analyzer scopes to TextMate scopes. ```jsonc { //Will autocomplete keys to available RA scopes. "keyword.unsafe": ["keyword", "keyword.control"], //Values are string | TextMateScope | [string | TextMateScope] "comments": "comment.block" } ``` | |||||
| * | | | | | | Making loadColors more readable by monading all the things. | Seivan Heidari | 2019-10-31 | 1 | -23/+16 | |
| | | | | | | | ||||||
| * | | | | | | Adding better debugging for testing themes missing tags and which scopes ↵ | Seivan Heidari | 2019-10-31 | 3 | -45/+58 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | didn't map. Since this file is no longer being pushed upstream, double down on monads. | |||||
| * | | | | | | Merge branch 'master' into feature/themes | Seivan Heidari | 2019-10-31 | 3 | -10/+1 | |
| |\ \ \ \ \ \ | ||||||
| * | | | | | | | Adding debugging to figure out missing scopes from theme. | Seivan Heidari | 2019-10-27 | 2 | -11/+10 | |
| | | | | | | | | ||||||
| * | | | | | | | Adding all the decorators from RA to map. | Seivan Heidari | 2019-10-27 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Useful for more granular control. | |||||
| * | | | | | | | Introducing a Scopes Mapper to map from RA scopes to TextMate scopes with ↵ | Seivan Heidari | 2019-10-27 | 4 | -13/+60 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fallbacks. Current scopes defined: ``` ['keyword.unsafe', ['storage.modifier', 'keyword.other', 'keyword.control']], ['function', ['entity.name.function']], ['parameter', ['variable.parameter']], ['type', ['entity.name.type']], ['builtin', ['variable.language', 'support.type', 'support.type']], ['text', ['string', 'string.quoted', 'string.regexp']], ['attribute', ['keyword']], ['literal', ['string', 'string.quoted', 'string.regexp']], ['macro', ['support.other']], ['variable.mut', ['variable']], ['field', ['variable.object.property']], ['module', ['entity.name.section']] ``` Need to complement with further fallbacks as some themes fail. | |||||
| * | | | | | | | Refactor how themes are found in packages without relying on parsing JSONC. | Seivan Heidari | 2019-10-26 | 1 | -21/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | However, there is still an issue where themes could have been defined in JSONC - but so far with testing very few of them actually do. The issue was in loading packages and now we're letting VSCode tackle that. Fix: https://github.com/rust-analyzer/rust-analyzer/pull/2061#discussion_r339015610 | |||||
| * | | | | | | | Making it clear we're using default settings. | Seivan Heidari | 2019-10-24 | 1 | -11/+7 | |
| | | | | | | | | ||||||
| * | | | | | | | Fixing linting issues, but also hides failures. Has to be a better approach ↵ | Seivan Heidari | 2019-10-24 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to error handling. | |||||
| * | | | | | | | Only loading `tokenColorCustomizations` once. | Seivan Heidari | 2019-10-24 | 1 | -4/+4 | |
| | | | | | | | | ||||||
| * | | | | | | | Proof of concept theming and 'tokenColorCustomizations' support. | Seivan Heidari | 2019-10-24 | 4 | -31/+221 | |
| | | | | | | | | ||||||
* | | | | | | | | Keep VSCode config mostly backwards compatible | Emil Lauridsen | 2019-12-25 | 3 | -15/+26 | |
| | | | | | | | | ||||||
* | | | | | | | | Re-format VSCode extension changes | Emil Lauridsen | 2019-12-25 | 2 | -19/+20 | |
| | | | | | | | | ||||||
* | | | | | | | | Re-implement status display using LSP 3.15 progress event | Emil Lauridsen | 2019-12-25 | 2 | -0/+51 | |
| | | | | | | | | ||||||
* | | | | | | | | Remove cargo watch supporting code and tests from vscode extension | Emil Lauridsen | 2019-12-25 | 14 | -1684/+0 | |
| | | | | | | | | ||||||
* | | | | | | | | Configuration plumbing for cargo watcher | Emil Lauridsen | 2019-12-25 | 2 | -44/+18 | |
| | | | | | | | | ||||||
* | | | | | | | | Remove cargo-watch from vscode extension. | Emil Lauridsen | 2019-12-25 | 5 | -443/+0 | |
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | Still keeps tests around for reference when porting them to rust | |||||
* | | | | | | | Protect against null as revealed by `npm test` | kjeremy | 2019-12-20 | 1 | -2/+7 | |
| | | | | | | | ||||||
* | | | | | | | Use substr instead of endswith | Edwin Cheng | 2019-12-18 | 1 | -3/+3 | |
| | | | | | | | ||||||
* | | | | | | | Add tests | Edwin Cheng | 2019-12-18 | 2 | -0/+295 | |
| | | | | | | | ||||||
* | | | | | | | Add macro span handling | Edwin Cheng | 2019-12-18 | 1 | -0/+38 | |
| | | | | | | | ||||||
* | | | | | | | Merge #2580 | bors[bot] | 2019-12-17 | 1 | -4/+4 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2580: Fix highlighting token names r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | | | | | Fix highlighting token names | Aleksey Kladov | 2019-12-17 | 1 | -4/+4 | |
| | | | | | | | | ||||||
* | | | | | | | | Merge #2568 | bors[bot] | 2019-12-17 | 2 | -2/+13 | |
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2568: Add option to disable all-targets. r=matklad a=pftbest Can be useful in embedded. Co-authored-by: Vadzim Dambrouski <[email protected]> | |||||
| * | | | | | | | Fix formatting | Vadzim Dambrouski | 2019-12-16 | 1 | -2/+1 | |
| | | | | | | | | ||||||
| * | | | | | | | Add option to disable all-targets. | Vadzim Dambrouski | 2019-12-15 | 2 | -1/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Can be useful in embedded. | |||||
* | | | | | | | | Default to client watching on VS Code | Aleksey Kladov | 2019-12-17 | 1 | -2/+2 | |
|/ / / / / / / | ||||||
* | | | | | | | `npm run fix` | Omer Ben-Amram | 2019-12-15 | 1 | -8/+6 | |
| | | | | | | | ||||||
* | | | | | | | fixed comment | Omer Ben-Amram | 2019-12-15 | 1 | -2/+1 | |
| | | | | | | | ||||||
* | | | | | | | Lowercase drive letters on windows before sending to extension. | Omer Ben-Amram | 2019-12-15 | 1 | -2/+1 | |
| | | | | | | | ||||||
* | | | | | | | make drive comparison case-insensitive. | Omer Ben-Amram | 2019-12-15 | 1 | -1/+10 | |
| | | | | | | | ||||||
* | | | | | | | Merge branch 'refs/heads/master' into feature/granular-scopes | Omer Ben-Amram | 2019-12-14 | 2 | -13/+65 | |
|\ \ \ \ \ \ \ | ||||||
| * | | | | | | | Enable `allFeatures` by default and fix lints | oxalica | 2019-12-13 | 1 | -9/+16 | |
| | | | | | | | | ||||||
| * | | | | | | | Support setting cargo features | oxalica | 2019-12-13 | 2 | -13/+58 | |
| | | | | | | | | ||||||
* | | | | | | | | removed `type.alias` | Omer Ben-Amram | 2019-12-14 | 1 | -0/+1 | |
| | | | | | | | | ||||||
* | | | | | | | | added decorations | Omer Ben-Amram | 2019-12-14 | 1 | -0/+6 | |
|/ / / / / / / | ||||||
* | | | | | | | Enable noImplicitReturns option for vscode extension | Tetsuharu OHZEKI | 2019-12-11 | 4 | -11/+18 | |
| | | | | | | | ||||||
* | | | | | | | Enable noUnusedParameters option for vscode extension | Tetsuharu OHZEKI | 2019-12-11 | 3 | -3/+3 | |
| | | | | | | | ||||||
* | | | | | | | Code: enable prettier trailing commas | Laurențiu Nicola | 2019-12-09 | 30 | -231/+231 | |
| | | | | | | | ||||||
* | | | | | | | Allow disabling sysroot | Aleksey Kladov | 2019-12-09 | 2 | -1/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Might be helpful for debugging | |||||
* | | | | | | | Merge #2508 | bors[bot] | 2019-12-08 | 1 | -5/+9 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2508: Code: don't check for ra_lsp_server on Windows r=matklad a=lnicola Workaround for https://github.com/rust-analyzer/rust-analyzer/pull/2503#issuecomment-562980020. ~~(not yet tested on Windows)~~ We can't run `ra_lsp_server --version` right now because the server doesn't seem to handle arguments (so it hangs). Co-authored-by: Laurențiu Nicola <[email protected]> | |||||
| * | | | | | | | Code: don't check for ra_lsp_server on Windows | Laurențiu Nicola | 2019-12-08 | 1 | -5/+9 | |
| | | | | | | | |