Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #3388 | bors[bot] | 2020-03-03 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3388: Remove inlay hint in diff views r=matklad a=vbfox If the left side of a diff view that contain the old version of the file apply inlays they are misplaced and produce a weird display: ![image](https://user-images.githubusercontent.com/131878/75628802-b1ac1900-5bdc-11ea-8c26-6722d8e38371.png) After the change: ![image](https://user-images.githubusercontent.com/131878/75628831-e91ac580-5bdc-11ea-9039-c6b4ffbdb2be.png) The detection is done by blacklisting the url schemes used by git and subversion scm extensions, whitelisting `file` is also possible but neither is perfect as VSCode now support both pluggable scm extensions and pluggable remote filesystems. But I suspect that the list of scm extensions is more easily manageable. **Note**: I can rebase on #3378 if needed as it touches the same lines of code Co-authored-by: Julien Roncaglia <[email protected]> | ||||
| * | Centralize the check for languageId on document | Julien Roncaglia | 2020-03-02 | 1 | -2/+2 |
| | | | | | | | | Also move visibleRustEditors to Ctx | ||||
* | | Don't fail loudly if the old highlighting breaks | Aleksey Kladov | 2020-03-02 | 1 | -4/+6 |
|/ | |||||
* | vscode: migrate highlighting to rust-analyzer-api.ts | Veetaha | 2020-02-24 | 1 | -39/+21 |
| | |||||
* | vscode: gracefully handle cancellation errors | Veetaha | 2020-02-23 | 1 | -1/+2 |
| | |||||
* | Improved compatibility with themes | eaglgenes101 | 2020-02-20 | 1 | -4/+4 |
| | |||||
* | vscode: press ; to respect semicolons | Veetaha | 2020-02-17 | 1 | -1/+1 |
| | |||||
* | Simplify startup | Aleksey Kladov | 2020-02-17 | 1 | -2/+3 |
| | |||||
* | Simplify TS reload logic | Aleksey Kladov | 2020-02-17 | 1 | -1/+1 |
| | | | | Fixes #3164 | ||||
* | Merge #3024 | bors[bot] | 2020-02-05 | 1 | -0/+2 |
|\ | | | | | | | | | | | | | | | 3024: vscode: eliminate floating promises and insane amount of resource handle leaks r=matklad a=Veetaha Khm, yeah ... Co-authored-by: Veetaha <[email protected]> | ||||
| * | vscode: eliminate floating promises and insane amount of resource handle leaks | Veetaha | 2020-02-05 | 1 | -0/+2 |
| | | |||||
* | | vscode: yet another refactor commit | Veetaha | 2020-02-04 | 1 | -4/+4 |
|/ | |||||
* | Use simple prng instead of a dependency | Aleksey Kladov | 2020-02-03 | 1 | -3/+22 |
| | | | | closes #2999 | ||||
* | vscode extension cleanup: migrate to prefer-const tslint rule | Veetaha | 2020-02-02 | 1 | -3/+3 |
| | |||||
* | Fix seedrandom in packaged extension | bjorn3 | 2020-02-01 | 1 | -2/+1 |
| | | | | Fixes #2971 | ||||
* | Add semicolons | Aleksey Kladov | 2019-12-31 | 1 | -6/+6 |
| | |||||
* | Refactor server lifecycle | Aleksey Kladov | 2019-12-31 | 1 | -25/+31 |
| | |||||
* | Refactor status activation | Aleksey Kladov | 2019-12-31 | 1 | -22/+20 |
| | |||||
* | Drop support for legacy colorization | Aleksey Kladov | 2019-12-31 | 1 | -65/+41 |
| | |||||
* | Rename file | Aleksey Kladov | 2019-12-31 | 1 | -1/+1 |
| | |||||
* | Switch impure functional style to pure imperative | Aleksey Kladov | 2019-12-31 | 1 | -3/+5 |
| | |||||
* | Rearrange code | Aleksey Kladov | 2019-12-31 | 1 | -106/+105 |
| | |||||
* | Use Ctx in highlighter | Aleksey Kladov | 2019-12-30 | 1 | -5/+10 |
| | |||||
* | Reformat with tsfmt | Aleksey Kladov | 2019-12-30 | 1 | -26/+26 |
| | |||||
* | Privatize highlighting | Aleksey Kladov | 2019-12-30 | 1 | -2/+38 |
| | |||||
* | Thoughtlessly copy-paste a fix to a problem I don't understand | Aleksey Kladov | 2019-12-30 | 1 | -1/+2 |
| | |||||
* | Add config to Ctx | Aleksey Kladov | 2019-12-30 | 1 | -1/+1 |
| | |||||
* | Encapsulate highlighting activation | Aleksey Kladov | 2019-12-30 | 1 | -1/+21 |
| | |||||
* | Fix ↵ | Seivan Heidari | 2019-12-23 | 1 | -2/+2 |
| | | | | | | https://github.com/rust-analyzer/rust-analyzer/pull/2061#discussion_r348716036 Fix https://github.com/rust-analyzer/rust-analyzer/pull/2061/files/68a5ff050faf514e9d122212a66703ca8ce66ab7#r361019340 | ||||
* | Merge branch 'master' into feature/themes | Seivan Heidari | 2019-12-23 | 1 | -12/+18 |
|\ | |||||
| * | Fix highlighting token names | Aleksey Kladov | 2019-12-17 | 1 | -4/+4 |
| | | |||||
| * | removed `type.alias` | Omer Ben-Amram | 2019-12-14 | 1 | -0/+1 |
| | | |||||
| * | added decorations | Omer Ben-Amram | 2019-12-14 | 1 | -0/+6 |
| | | |||||
| * | Code: enable prettier trailing commas | Laurențiu Nicola | 2019-12-09 | 1 | -8/+8 |
| | | |||||
| * | Code: bump deps | Laurențiu Nicola | 2019-12-08 | 1 | -3/+4 |
| | | |||||
* | | 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 | 1 | -52/+29 |
| | | | | | | | | 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 |
| | | |||||
* | | 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 | 1 | -16/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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" } ``` | ||||
* | | Adding better debugging for testing themes missing tags and which scopes ↵ | Seivan Heidari | 2019-10-31 | 1 | -1/+4 |
| | | | | | | | | | | | | didn't map. Since this file is no longer being pushed upstream, double down on monads. | ||||
* | | Adding debugging to figure out missing scopes from theme. | Seivan Heidari | 2019-10-27 | 1 | -5/+4 |
| | | |||||
* | | Introducing a Scopes Mapper to map from RA scopes to TextMate scopes with ↵ | Seivan Heidari | 2019-10-27 | 1 | -4/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Proof of concept theming and 'tokenColorCustomizations' support. | Seivan Heidari | 2019-10-24 | 1 | -25/+69 |
|/ | |||||
* | underline mutable bindings | Aleksey Kladov | 2019-07-19 | 1 | -27/+34 |
| | |||||
* | highlight mutable variables differently | Ekaterina Babshukova | 2019-07-18 | 1 | -0/+1 |
| | |||||
* | Make rainbows optional | Pascal Hertleif | 2019-05-27 | 1 | -5/+6 |
| | |||||
* | Semantic highlighting spike | Pascal Hertleif | 2019-05-27 | 1 | -3/+42 |
| | | | | | | | | | | Very simple approach: For each identifier, set the hash of the range where it's defined as its 'id' and use it in the VSCode extension to generate unique colors. Thus, the generated colors are per-file. They are also quite fragile, and I'm not entirely sure why. Looks like we need to make sure the same ranges aren't overwritten by a later request? | ||||
* | Improve highlighting of name refs | Laurențiu Nicola | 2019-05-23 | 1 | -1/+6 |
| |