Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cleanup | Aleksey Kladov | 2019-12-30 | 2 | -11/+11 |
| | |||||
* | Cleanup imports | Aleksey Kladov | 2019-12-30 | 5 | -8/+12 |
| | |||||
* | Refactor show syntax tree action | Aleksey Kladov | 2019-12-30 | 3 | -77/+107 |
| | |||||
* | Run prettier on all files | Aleksey Kladov | 2019-12-30 | 6 | -22/+17 |
| | |||||
* | Move parentModule to the new Ctx | Aleksey Kladov | 2019-12-30 | 2 | -27/+27 |
| | |||||
* | Refactor applySourceChange | Aleksey Kladov | 2019-12-30 | 5 | -96/+31 |
| | |||||
* | Move joinLines to the new Ctx | Aleksey Kladov | 2019-12-30 | 2 | -20/+20 |
| | |||||
* | Move matching brace to new Ctx | Aleksey Kladov | 2019-12-30 | 2 | -28/+27 |
| | |||||
* | More second command to Ctx | Aleksey Kladov | 2019-12-30 | 2 | -2/+9 |
| | |||||
* | Start new ctx module | Aleksey Kladov | 2019-12-30 | 2 | -7/+14 |
| | |||||
* | Simplify | Aleksey Kladov | 2019-12-30 | 1 | -32/+29 |
| | |||||
* | Re-format VSCode extension changes | Emil Lauridsen | 2019-12-25 | 1 | -15/+14 |
| | |||||
* | Re-implement status display using LSP 3.15 progress event | Emil Lauridsen | 2019-12-25 | 1 | -0/+43 |
| | |||||
* | Remove cargo-watch from vscode extension. | Emil Lauridsen | 2019-12-25 | 2 | -355/+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 |
| | |||||
* | Fix formatting | Vadzim Dambrouski | 2019-12-16 | 1 | -2/+1 |
| | |||||
* | Add option to disable all-targets. | Vadzim Dambrouski | 2019-12-15 | 1 | -1/+4 |
| | | | | Can be useful in embedded. | ||||
* | Enable noImplicitReturns option for vscode extension | Tetsuharu OHZEKI | 2019-12-11 | 1 | -6/+8 |
| | |||||
* | 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 | 13 | -88/+88 |
| | |||||
* | Merge pull request #2297 from kiljacken/master | Aleksey Kladov | 2019-11-20 | 1 | -13/+1 |
|\ | | | | | Add fancy truncation of type hints. | ||||
| * | Move type inlay hint truncation to language server | Emil Lauridsen | 2019-11-19 | 1 | -13/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -23/+58 |
| | | |||||
* | | Change return type of expand_macro | Edwin Cheng | 2019-11-19 | 1 | -5/+8 |
| | | |||||
* | | Fix npm formatting | Edwin Cheng | 2019-11-19 | 1 | -8/+8 |
| | | |||||
* | | Add recursive expand in vscode | Edwin Cheng | 2019-11-19 | 2 | -0/+47 |
|/ | |||||
* | Fix format | oxalica | 2019-11-16 | 1 | -1/+3 |
| | |||||
* | Check exit code of `cargo watch` | oxalica | 2019-11-15 | 1 | -3/+3 |
| | |||||
* | Handle errors when `cargo watch` fails | oxalica | 2019-11-15 | 1 | -0/+5 |
| | |||||
* | Merge #1980 | bors[bot] | 2019-10-23 | 1 | -1/+17 |
|\ | | | | | | | | | | | | | | | 1980: Shorten inline type hints r=matklad a=detrumi Implements #1946 Co-authored-by: Wilco Kusee <[email protected]> | ||||
| * | Do not truncate the range | Wilco Kusee | 2019-10-23 | 1 | -30/+10 |
| | | |||||
| * | Make inlay hint length configurable | Wilco Kusee | 2019-10-18 | 1 | -14/+26 |
| | | |||||
| * | Truncate hints longer than 20 characters | Wilco Kusee | 2019-10-10 | 1 | -4/+28 |
| | | |||||
* | | Adds config option for cargo-watch `--ignore` flag | Roberto Vidal | 2019-10-17 | 1 | -1/+6 |
|/ | |||||
* | Replace watcher file existence check with vscode.fs version | Lucas Spits | 2019-09-09 | 1 | -11/+10 |
| | |||||
* | Avoid shared mutable state | Kirill Bulatov | 2019-08-05 | 1 | -67/+39 |
| | |||||
* | Cache decorations before the first change only | Kirill Bulatov | 2019-08-05 | 1 | -20/+21 |
| | |||||
* | Use WeakMap to avoid memory leaks | Kirill Bulatov | 2019-08-05 | 1 | -10/+12 |
| | |||||
* | Style and test fixes | Kirill Bulatov | 2019-08-04 | 1 | -6/+17 |
| | |||||
* | Query less hints on file open | Kirill Bulatov | 2019-08-04 | 1 | -18/+34 |
| | |||||
* | Style fixes | Kirill Bulatov | 2019-07-29 | 1 | -1/+4 |
| | |||||
* | Ignore cancelled inlay hints responses | Kirill Bulatov | 2019-07-29 | 1 | -6/+8 |
| | |||||
* | npm run fix | Kirill Bulatov | 2019-07-25 | 1 | -1/+5 |
| | |||||
* | Code review fixes | Kirill Bulatov | 2019-07-25 | 1 | -7/+7 |
| | |||||
* | Remove unnecessary hacks | Kirill Bulatov | 2019-07-25 | 1 | -29/+0 |
| | |||||
* | Fix linter issues | Kirill Bulatov | 2019-07-25 | 2 | -29/+63 |
| | |||||
* | Simplify the hints display | Kirill Bulatov | 2019-07-25 | 1 | -53/+6 |
| | |||||
* | Show type decorators | Kirill Bulatov | 2019-07-25 | 2 | -1/+145 |
| | |||||
* | Fix `cargo watch` code action filtering | Ryan Cumming | 2019-06-29 | 1 | -46/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | There are two issues with the implementation of `provideCodeActions` introduced in #1439: 1. We're returning the code action based on the file its diagnostic is in; not the file the suggested fix is in. I'm not sure how often fixes are suggested cross-file but it's something we should handle. 2. We're not filtering code actions based on the passed range. The means if there is any suggestion in a file we'll show an action for every line of the file. I naively thought that VS Code would filter for us but that was wrong. Unfortunately the VS Code `CodeAction` object is very complex - it can handle edits across multiple files, run commands, etc. This makes it complex to check them for equality or see if any of their edits intersects with a specified range. To make it easier to work with suggestions this introduces a `SuggestedFix` model object and a `SuggestFixCollection` code action provider. This is a layer between the raw Rust JSON and VS Code's `CodeAction`s. I was reluctant to introduce another layer of abstraction here but my attempt to work directly with VS Code's model objects was worse. |