Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vscode-postrefactor: prefer arrow functions | Veetaha | 2020-03-16 | 1 | -1/+1 |
| | |||||
* | vscode: sync package-lock.json version with package.json | Veetaha | 2020-03-14 | 1 | -1/+1 |
| | |||||
* | vscode-postrefactor: more logging and better error handling | Veetaha | 2020-03-14 | 3 | -23/+31 |
| | |||||
* | vscode-postrefactor: enforcing more reentrancy | Veetaha | 2020-03-14 | 2 | -4/+7 |
| | |||||
* | vscode-postrefactor: minor config refactorings | Veetaha | 2020-03-14 | 2 | -4/+5 |
| | |||||
* | vscode-postrefactor: unhandled promise rejections shall not pass 2 | Veetaha | 2020-03-14 | 1 | -1/+1 |
| | |||||
* | vscode-postrefactor: add achtung comment | Veetaha | 2020-03-14 | 1 | -0/+4 |
| | |||||
* | vscode-postrefactor: remove remainders of debug logging | Veetaha | 2020-03-14 | 1 | -1/+0 |
| | |||||
* | vscode-postrefactor: unhandled promise rejections shall not pass | Veetaha | 2020-03-14 | 1 | -1/+1 |
| | |||||
* | vscode-postrefactor: compare dates by value, not by reference | Veetaha | 2020-03-14 | 1 | -2/+2 |
| | |||||
* | vscode-postrefactor: eliminate my-mistake floating promise @matklad | Veetaha | 2020-03-14 | 1 | -1/+1 |
| | |||||
* | vscode-postrefactor: global storages | Veetaha | 2020-03-14 | 1 | -20/+19 |
| | |||||
* | vscode: put comma back | Veetaha | 2020-03-14 | 1 | -1/+1 |
| | |||||
* | vscode: make bailing out on custom serverPath more evident | Veetaha | 2020-03-14 | 2 | -10/+8 |
| | |||||
* | vscode: npm run fix | Veetaha | 2020-03-14 | 2 | -4/+4 |
| | |||||
* | vscode: amend server installation logic to account for nightlies | Veetaha | 2020-03-14 | 3 | -52/+57 |
| | |||||
* | vscode: add nightly extension installation logic | Veetaha | 2020-03-14 | 1 | -0/+131 |
| | |||||
* | vscode: prepare config for nightlies | Veetaha | 2020-03-14 | 1 | -15/+96 |
| | |||||
* | vscode: prepare package.json for nightlies | Veetaha | 2020-03-14 | 2 | -3/+16 |
| | |||||
* | vscode: get release date from release info | Veetaha | 2020-03-14 | 2 | -14/+7 |
| | |||||
* | vscode-prerefactor: add some utility functions | Veetaha | 2020-03-14 | 1 | -6/+63 |
| | |||||
* | vscode-prerefactor: merge two files into downloads.ts | Veetaha | 2020-03-14 | 2 | -50/+46 |
| | |||||
* | Simpler deserialization | Aleksey Kladov | 2020-03-12 | 1 | -1/+6 |
| | |||||
* | Merge #3543 | bors[bot] | 2020-03-12 | 4 | -8/+25 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 3543: Parameter inlay hint separate from variable type inlay? #2876 r=matklad a=slyngbaek Add setting to allow enabling either type inlay hints or parameter inlay hints or both. Group the the max inlay hint length option into the object. - Add a new type for the inlayHint options. - Add tests to ensure the inlays don't happen on the server side Co-authored-by: Steffen Lyngbaek <[email protected]> | ||||
| * | Make maxLength nullable again | Steffen Lyngbaek | 2020-03-12 | 2 | -3/+6 |
| | | |||||
| * | Switch from Vec<InlayKind> to object with props | Steffen Lyngbaek | 2020-03-12 | 4 | -29/+20 |
| | | | | | | | | | | | | | | - Instead of a single object type, use several individual nested types to allow toggling from the settings GUI - Remove unused struct definitions - Install and test that the toggles work | ||||
| * | Address Issues from Github | Steffen Lyngbaek | 2020-03-10 | 1 | -1/+3 |
| | | | | | | | | | | | | | | - Updated naming of config - Define struct in ra_ide and use remote derive in rust-analyzer/config - Make inlayConfig type more flexible to support more future types - Remove constructor only used in tests | ||||
| * | Parameter inlay hint separate from variable type inlay? #2876 | Steffen Lyngbaek | 2020-03-10 | 4 | -8/+29 |
| | | | | | | | | | | | | | | | | | | Add setting to allow enabling either type inlay hints or parameter inlay hints or both. Group the the max inlay hint length option into the object. - Add a new type for the inlayHint options. - Add tests to ensure the inlays don't happen on the server side | ||||
* | | settings: rust-analyzer.cargo-watch.enable: clarify that the setting enables ↵ | Matthias Krüger | 2020-03-11 | 1 | -1/+1 |
| | | | | | | | | the cargo-watch command and not "cargo check" | ||||
* | | Merge #3549 | bors[bot] | 2020-03-11 | 3 | -0/+7 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 3549: Implement env! macro r=matklad a=edwin0cheng This PR implements `env!` macro by adding following things: 1. Added `additional_outdirs` settings in vscode. (naming to be bikeshed) 2. Added `ExternSourceId` which is a wrapping for SourceRootId but only used in extern sources. It is because `OUT_DIR` is not belonged to any crate and we have to access it behind an `AstDatabase`. 3. This PR does not implement the `OUT_DIR` parsing from `cargo check`. I don't have general design about this, @kiljacken could we reuse some cargo watch code for that ? ~~Block on [#3536]~~ PS: After this PR , we (kind of) completed the `include!(concat!(env!('OUT_DIR'), "foo.rs")` macro call combo. [Exodia Obliterate!](https://www.youtube.com/watch?v=RfqNH3FoGi0) Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Add additional_outdirs in config | Edwin Cheng | 2020-03-10 | 3 | -0/+7 |
| | | |||||
* | | Force latest stable | kjeremy | 2020-03-10 | 2 | -5/+5 |
|/ | |||||
* | Merge #3514 | bors[bot] | 2020-03-09 | 4 | -23/+36 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 3514: vscode: askBeforeDownload option r=matklad a=Veetaha This is a small step towards #3402, also implements my proposal stated in #3403 Also renamed `BinarySource` to `ArtifactSource` in anticipation of nightlies installation that requires downloading not a binary itself but `.vsix` package, thus generalized to `artifact` term. @matklad @lnicola Co-authored-by: Veetaha <[email protected]> | ||||
| * | vscode: groupd updates-related config under `updates` section as per @matklad | Veetaha | 2020-03-09 | 2 | -2/+2 |
| | | |||||
| * | vscode: fix inversion of askBeforeDownload | Veetaha | 2020-03-08 | 1 | -1/+1 |
| | | |||||
| * | vscode: rename alwaysDownloadServer -> askBeforeDownload | Veetaha | 2020-03-08 | 2 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | The new name seems much simpler and it doesn't limit this config value only to downloading the server binary. Thus we wouldn't need to create another config properties to handle other downloads whatsoever. Anyway, I believe (heuristically) that most of the users would want to set "askBeforeDownload": false once and never bother clicking on the notification again (because otherwise there is no big point in installing rust-analyzer if it cannot install the server) | ||||
| * | vscode: care about alwaysDownloadServer option before asking | Veetaha | 2020-03-07 | 3 | -23/+31 |
| | | | | | | | | | | | | | | Also renamed BinarySource to ArtifactSource in anticipation of nightlies installation that requires downloading not a binary itself but .vsix package, thus generalized to `artifact` term | ||||
| * | vscode: contribute "alwaysDownloadServer" option to config | Veetaha | 2020-03-07 | 1 | -0/+5 |
| | | |||||
* | | Use markdown description in vscode | Julien Roncaglia | 2020-03-08 | 1 | -9/+9 |
|/ | |||||
* | vscode: post refactor HintsUpdater (simplify create() -> constructor call) | Veetaha | 2020-03-07 | 1 | -16/+10 |
| | |||||
* | vscode: more privacy for HintsUpdater | Veetaha | 2020-03-07 | 1 | -1/+1 |
| | |||||
* | vscode: remove logging from inlays, run fix lint issues | Veetaha | 2020-03-07 | 1 | -18/+7 |
| | |||||
* | vscode: remove logic for caching editors as per @matklad | Veetaha | 2020-03-07 | 1 | -222/+136 |
| | |||||
* | vscode: prerefactor util.ts and ctx.ts | Veetaha | 2020-03-07 | 2 | -10/+14 |
| | |||||
* | vscode: refresh all editors on text changes, simplify inlays api | Veetaha | 2020-03-07 | 1 | -13/+11 |
| | |||||
* | vscode: add dat semicolon | Veetaha | 2020-03-07 | 1 | -1/+1 |
| | |||||
* | vscode: simpify | Veetaha | 2020-03-07 | 1 | -5/+1 |
| | |||||
* | vscode: redesign inlay hints to be capable of handling multiple editors | Veetaha | 2020-03-07 | 2 | -106/+273 |
| | |||||
* | vscode: extract Type and Param hint cases of InlayHint at type level (needed ↵ | Veetaha | 2020-03-07 | 1 | -8/+14 |
| | | | | further) | ||||
* | :arrow_up: npm deps | Aleksey Kladov | 2020-03-06 | 2 | -7/+7 |
| |