Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enable noFallthroughCasesInSwitch option for vscode extension | Tetsuharu OHZEKI | 2019-12-11 | 1 | -1/+2 |
| | |||||
* | Enable noImplicitReturns option for vscode extension | Tetsuharu OHZEKI | 2019-12-11 | 5 | -12/+20 |
| | |||||
* | Enable noUnusedParameters option for vscode extension | Tetsuharu OHZEKI | 2019-12-11 | 5 | -5/+8 |
| | |||||
* | Use ES2018 for vscode extension | Tetsuharu OHZEKI | 2019-12-11 | 1 | -2/+2 |
| | | | | | | | Today's latest vscode v1.40 (Node.jsv12.4/V8 v7.6) supports ES2018 features natively. We don't have to transform codes to ES6. | ||||
* | Code: enable prettier trailing commas | Laurențiu Nicola | 2019-12-09 | 31 | -232/+233 |
| | |||||
* | Allow disabling sysroot | Aleksey Kladov | 2019-12-09 | 2 | -1/+7 |
| | | | | Might be helpful for debugging | ||||
* | Add rollup sourcemap and fix launch.json | Edwin Cheng | 2019-12-08 | 3 | -0/+57 |
| | |||||
* | 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 | 4 | -418/+253 |
|/ | |||||
* | Code: check whether the LSP binary is in PATH | Laurențiu Nicola | 2019-12-08 | 4 | -6/+23 |
| | |||||
* | Fix npm vulnerability warning | Edwin Cheng | 2019-12-06 | 1 | -3/+3 |
| | |||||
* | rename ra_ide_api -> ra_ide | Aleksey Kladov | 2019-11-27 | 1 | -0/+0 |
| | |||||
* | Add rust-analyzer-expand-macro function for Emacs | Florian Diebold | 2019-11-20 | 1 | -0/+28 |
| | |||||
* | 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 | 3 | -33/+75 |
| | | |||||
* | | 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 |
| | | |||||
* | | Add recursive expand in vscode | Edwin Cheng | 2019-11-19 | 3 | -5/+62 |
|/ | |||||
* | 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 |
| | |||||
* | Add link to the vscode VIM extension compatibility warning. | krk | 2019-10-30 | 1 | -1/+1 |
| | |||||
* | document feature flags | Aleksey Kladov | 2019-10-25 | 3 | -14/+0 |
| | |||||
* | Merge #1980 | bors[bot] | 2019-10-23 | 3 | -1/+28 |
|\ | | | | | | | | | | | | | | | 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 | 3 | -14/+37 |
| | | |||||
| * | 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 | 3 | -2/+21 |
| | | |||||
* | | Add rust-analyzer.showWorkspaceLoadedNotification to package.json | Laurențiu Nicola | 2019-10-17 | 1 | -0/+5 |
| | | |||||
* | | Merge #1984 | bors[bot] | 2019-10-10 | 2 | -29/+21 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1984: Bump rollup and vsce r=matklad a=kjeremy I got sick of the vsce warning on install and noticed that rollup was also out of date. Co-authored-by: kjeremy <[email protected]> | ||||
| * | | Bump rollup and vsce | kjeremy | 2019-10-10 | 2 | -29/+21 |
| |/ | |||||
* / | engine.vscode and @types/vscode should match | kjeremy | 2019-10-10 | 1 | -1/+1 |
|/ | |||||
* | Fix | arsdragonfly | 2019-09-28 | 1 | -3/+1 |
| | |||||
* | Fix tests | arsdragonfly | 2019-09-27 | 2 | -6/+5 |
| | |||||
* | Support the new deprecated tag | arsdragonfly | 2019-09-27 | 1 | -1/+20 |
| | |||||
* | add rollup bundler for vscode extension | JasperDeSutter | 2019-09-23 | 5 | -22/+214 |
| | |||||
* | Update minimal required vscode version to 1.37 | Lucas Spits | 2019-09-10 | 1 | -1/+1 |
| | |||||
* | Replace watcher file existence check with vscode.fs version | Lucas Spits | 2019-09-09 | 1 | -11/+10 |
| | |||||
* | add option to disable notify | Aleksey Kladov | 2019-09-06 | 3 | -0/+10 |
| | |||||
* | Switch to `@types/vscode` and `vscode-test` | Bastian Köcher | 2019-08-26 | 6 | -450/+802 |
| | | | | | | The old `vscode` package is outdated and it is recommened to switch to these two new packages. This also solves a problem of a missing `.d.ts` for `vscode` in Nixos. | ||||
* | implement feature flags | Aleksey Kladov | 2019-08-22 | 3 | -5/+10 |
| | |||||
* | fix default for the exlude key | Aleksey Kladov | 2019-08-21 | 1 | -1/+1 |
| | |||||
* | fix #1424 | xfoxfu | 2019-08-19 | 1 | -1/+9 |
| | | | | resolve "~" in raLspServerPath | ||||
* | Drop support for old extendSelection API | Aleksey Kladov | 2019-08-12 | 1 | -29/+3 |
| | | | | | | Emacs now handles this via native LSP request https://github.com/emacs-lsp/lsp-mode/commit/dc86bbb227147aa8141e690ad5648fdbd2ebdb9f | ||||
* | Improvements to emacs inlay hints | Florian Diebold | 2019-08-10 | 1 | -17/+24 |
| | | | | | | - only send request if workspace is initialized (emacs-lsp doesn't seem to prevent sending requests before the initialized notification is sent) - check whether we're still in the correct buffer before sending request | ||||
* | Merge #1652 | bors[bot] | 2019-08-06 | 2 | -41/+55 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 1652: Improve type hints behavior r=matklad a=SomeoneToIgnore This PR fixed the following type hints issues: * Restructures the `InlayKind` enum contents based on the discussion here: https://github.com/rust-analyzer/rust-analyzer/pull/1606#issuecomment-515968055 * Races described in #1639 * Caches the latest decorations received for each file to show them the next time the file is opened (instead of a new server request) Co-authored-by: Kirill Bulatov <[email protected]> | ||||
| * | Avoid shared mutable state | Kirill Bulatov | 2019-08-05 | 2 | -71/+55 |
| | |