about summary refs log tree commit diff
path: root/editors/code/src/client.ts
AgeCommit message (Collapse)AuthorLines
2020-04-25Merge #4145bors[bot]-29/+0
4145: Remove dead code r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-04-25Remove dead codeAleksey Kladov-29/+0
2020-04-25Remove unnecessary async from vscode language client creationveetaha-1/+1
2020-04-08Enable the SemanticTokensFeature by defaultkjeremy-10/+6
This is covered under vscode's "editor.semanticHighlighting.enabled" setting plus the user has to have a theme that has opted into highlighting. Bumps required vscode stable to 1.44
2020-04-02Lean onto default implementation of configsAleksey Kladov-25/+1
2020-04-02Remove old syntax highlightingAleksey Kladov-1/+0
2020-03-31Pass string instread of WorkspaceFolderTim-2/+2
2020-03-31Throw error if no folder is openedTim-2/+2
2020-03-30Add basic task supportTim-3/+2
This adds basic support for running `cargo build`, `cargo run`, etc.
2020-03-30Code review fixesKirill Bulatov-1/+1
Co-Authored-By: Veetaha <veetaha2@gmail.com>
2020-03-30Style fixesKirill Bulatov-2/+2
2020-03-30Send the config from the clientKirill Bulatov-23/+26
2020-03-24Extension types and renderingMatt Hooper-0/+1
2020-03-24Don't try to enable proposed API's on stableAleksey Kladov-2/+4
2020-03-17Remove unused config from VSCode extEmil Lauridsen-1/+0
2020-03-13Merge #3561 #3577bors[bot]-0/+1
3561: feat: add debug code lens r=matklad a=hdevalke Refs #3539 3577: Protect against infinite macro expansion in def collector r=edwin0cheng a=flodiebold Something I noticed while trying to make macro expansion more resilient against errors. There was a test for this, but it wasn't actually working because the first recursive expansion failed. (The comma...) Even with this limit, that test (when fixed) still takes some time to pass because of the exponential growth of the expansions, so I disabled it and added a different one without growth. CC @edwin0cheng Co-authored-by: Hannes De Valkeneer <hannes@de-valkeneer.be> Co-authored-by: hdevalke <2261239+hdevalke@users.noreply.github.com> Co-authored-by: Florian Diebold <florian.diebold@freiheit.com>
2020-03-12fixup! feat: add debug code lensHannes De Valkeneer-0/+1
autodetect vscode-lldb
2020-03-12Simpler deserializationAleksey Kladov-1/+6
2020-03-12Merge #3543bors[bot]-1/+1
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 <steffenlyngbaek@gmail.com>
2020-03-11Switch from Vec<InlayKind> to object with propsSteffen Lyngbaek-1/+1
- 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
2020-03-10Parameter inlay hint separate from variable type inlay? #2876Steffen Lyngbaek-1/+1
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
2020-03-11Add additional_outdirs in configEdwin Cheng-0/+1
2020-02-27Fix lintAleksey Kladov-1/+1
2020-02-27Fix flickering with new syntax highlightingAleksey Kladov-1/+9
2020-02-26Config to switch to semantic tokensAleksey Kladov-2/+5
2020-02-26Enable SemanticTokens on the clientJeremy Kolb-0/+3
This will crash the extension on stable and insiders without the "--enable-proposed-api matklad.rust-analyzer" command line switch.
2020-02-17Push IO and error handling upAleksey Kladov-5/+1
2020-02-17Add arguments to rustfmtIlya Titkov-0/+1
2020-02-16vscode: add version and storage parameters to github binary sourceVeetaha-1/+1
2020-02-15vscode: renamed langServer to serverVeetaha-4/+4
2020-02-15vscode: renmed ArtifactMetadata -> ArtifactReleaseInfo, languageServer -> ↵Veetaha-2/+2
langServer
2020-02-14Merge #3131bors[bot]-10/+12
3131: vscode: simplified config and to removed one source of truth of default values r=matklad a=Veetaha Though not intended initially, the implementation of config design is alike [dart's one](https://github.com/Dart-Code/Dart-Code/blob/master/src/extension/config.ts) as pointed by @matklad in PM. Co-authored-by: Veetaha <gerzoh1@gmail.com>
2020-02-14vscode: moved to getters as per matkladVeetaha-9/+9
2020-02-14Do not register all proposed featureskjeremy-1/+6
Instead only opt-in to CallHierarchy since it has a vscode API but LSP support is still proposed. Discovered while working on SemanticTokens which does not have a vscode API and is still in the proposed state. Somehow enabling it would crash the language server. See https://github.com/microsoft/vscode-languageserver-node/issues/572
2020-02-13vscode: redesigned config with simplicity and Dart extension config ↵Veetaha-17/+19
implementation in mind
2020-02-09vscode: refactor platform artifact name query to switch statement, move ↵Veetaha-1/+1
BinarySource union variants into a namespace
2020-02-08vscode: amended config to use binary from globalStoragePath, added ui for ↵Veetaha-17/+5
downloading
2020-02-05vscode: yet another refactor commitVeetaha-17/+12
2020-02-02vscode extension: migrate from any to unknown where possibleVeetaha-1/+1
2020-01-28Provide better diagnostics if the server is not in pathAleksey Kladov-1/+7
2019-12-31Sanity check for missing server binaryAleksey Kladov-0/+4
2019-12-31Add semicolonsAleksey Kladov-1/+1
2019-12-31Refactor server lifecycleAleksey Kladov-0/+90