Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | | 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 | |
| | | | | | | | | ||||||
* | | | | | | | | Code: bump deps | Laurențiu Nicola | 2019-12-08 | 2 | -6/+8 | |
|/ / / / / / / | ||||||
* | | | | | / | Code: check whether the LSP binary is in PATH | Laurențiu Nicola | 2019-12-08 | 2 | -6/+17 | |
| |_|_|_|_|/ |/| | | | | | ||||||
* | | | | | | rename ra_ide_api -> ra_ide | Aleksey Kladov | 2019-11-27 | 1 | -0/+0 | |
| |_|_|_|/ |/| | | | | ||||||
* | | | | | Merge pull request #2297 from kiljacken/master | Aleksey Kladov | 2019-11-20 | 2 | -13/+2 | |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | Add fancy truncation of type hints. | |||||
| * | | | | Move type inlay hint truncation to language server | Emil Lauridsen | 2019-11-19 | 2 | -13/+2 | |
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit implements a general truncation framework for HirFormatter that keeps track of how much has been output so far. This information can then be used to perform truncation inside the language server, instead of relying on the client. Initial support is implemented for truncating types hints using the maxInlayHintLength server config option. The existing solution in the VSCode extension has been removed in favor of letting the server truncate type hints. | |||||
* | | | | Minor fix for outpu text formating | Edwin Cheng | 2019-11-19 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Use DocumentProvider instead of Hover | Edwin Cheng | 2019-11-19 | 2 | -33/+70 | |
| | | | | ||||||
* | | | | Change return type of expand_macro | Edwin Cheng | 2019-11-19 | 1 | -5/+8 | |
| | | | | ||||||
* | | | | Fix npm formatting | Edwin Cheng | 2019-11-19 | 2 | -14/+14 | |
| | | | |