Tim
3eb45b9922
Pass string instread of WorkspaceFolder
2020-03-31 10:24:01 +01:00
Tim
a781a58fe2
Throw error if no folder is opened
2020-03-31 09:06:52 +01:00
Tim
768aa4259f
Add basic task support
...
This adds basic support for running `cargo build`, `cargo run`, etc.
2020-03-30 21:23:21 +01:00
Kirill Bulatov
8a23bec2cd
Style fixes
2020-03-30 13:39:14 +03:00
Kirill Bulatov
a9dd442733
Send the config from the client
2020-03-30 13:39:14 +03:00
Aleksey Kladov
fb6e655de8
Rewrite auto-update
...
Everything now happens in main.ts, in the bootstrap family of
functions. The current flow is:
* check everything only on extension installation.
* if the user is on nightly channel, try to download the nightly
extension and reload.
* when we install nightly extension, we persist its release id, so
that we can check if the current release is different.
* if server binary was not downloaded by the current version of the
extension, redownload it (we persist the version of ext that
downloaded the server).
2020-03-19 09:04:59 +01:00
Aleksey Kladov
ae662617a2
Separate persistent mutable state from config
...
That way, we clearly see which things are not change, and we also
clearly see which things are persistent.
2020-03-16 22:02:11 +01:00
Veetaha
a63446f254
vscode: prerefactor util.ts and ctx.ts
2020-03-07 14:08:35 +02:00
Julien Roncaglia
2f54c1d653
Centralize the check for languageId on document
...
Also move visibleRustEditors to Ctx
2020-03-02 22:54:29 +01:00
Veetaha
4cee7cddc8
vscode: gracefully handle cancellation errors
2020-02-23 15:49:09 +02:00
Aleksey Kladov
3c12cd49ec
Simplify ctor
2020-02-17 14:22:09 +01:00
Aleksey Kladov
89afb1a841
Remove two stage constuction
2020-02-17 14:11:01 +01:00
Aleksey Kladov
ee4e41cbea
Push IO and error handling up
2020-02-17 14:03:33 +01:00
Aleksey Kladov
d24e612106
Simplify startup
2020-02-17 13:40:47 +01:00
Aleksey Kladov
dcdbbddd16
Simplify TS reload logic
...
Fixes #3164
2020-02-17 13:40:47 +01:00
Veetaha
bd113623a0
vscode: minor refactorings
2020-02-17 02:07:11 +02:00
Veetaha
8533fc437b
vscode: add version and storage parameters to github binary source
2020-02-16 03:41:39 +02:00
Veetaha
d08ae7e82f
vscode: minor names and message contents changes
2020-02-09 00:58:53 +02:00
Veetaha
5d88c1db38
vscode: amended config to use binary from globalStoragePath, added ui for downloading
2020-02-08 04:34:11 +02:00
Veetaha
1bdb78a89f
vscode: add FIXME about language client shared resource protection
2020-02-08 04:34:11 +02:00
Gregoire Geis
b70ad7e5f3
Remove enableEnhancedTyping and type overriding infrastructure.
2020-02-03 20:24:50 +01:00
Veetaha
2fd7af2a62
vscode: use void where possible
2020-02-02 23:24:09 +02:00
Veetaha
5411d65a7f
vscode: fix, fallback to any for cmd type
2020-02-02 22:36:12 +02:00
Veetaha
12d0970f7e
vscode extension: migrate from any to unknown where possible
2020-02-02 22:19:59 +02:00
Veetaha
8184752470
vscode refactoring: use more laconic export snytax, split huge string to several lines
2020-02-02 21:37:22 +02:00
Veetaha
420462421d
vscode extension cleanup: migrate to prefer-const tslint rule
2020-02-02 21:12:59 +02:00
Aleksey Kladov
ff0ceb30a9
Add semicolons
2019-12-31 18:55:34 +01:00
Aleksey Kladov
087af54069
Refactor server lifecycle
2019-12-31 18:32:17 +01:00
Aleksey Kladov
0849f7001c
Refactor config
2019-12-31 17:34:52 +01:00
Aleksey Kladov
433000be34
Move config to Ctx
2019-12-31 17:28:01 +01:00
Aleksey Kladov
e4b588868f
Refactor status activation
2019-12-31 17:22:43 +01:00
Aleksey Kladov
519bd0deb5
Fix #2700
2019-12-31 11:44:52 +01:00
Aleksey Kladov
8346bdc04d
Rearrange code
2019-12-31 02:17:50 +01:00
Aleksey Kladov
233f1dd2a8
Privatize highlighting
2019-12-30 23:17:56 +01:00
Aleksey Kladov
cdd7118cbf
Don't request inline hints repeatedly
2019-12-30 22:53:21 +01:00
Aleksey Kladov
23bac12062
Retry inlay hints on content modified error
2019-12-30 22:20:04 +01:00
Aleksey Kladov
efbbc903e6
Add config to Ctx
2019-12-30 21:32:04 +01:00
Aleksey Kladov
ca5c59507f
Refactor show syntax tree action
2019-12-30 19:07:59 +01:00
Aleksey Kladov
5aebf1081d
Refactor applySourceChange
2019-12-30 19:07:59 +01:00
Aleksey Kladov
5dd9edaeaf
Move matching brace to new Ctx
2019-12-30 15:23:55 +01:00
Aleksey Kladov
57df9bed70
Run prettier
2019-12-30 15:11:30 +01:00
Aleksey Kladov
29e86c0c72
More second command to Ctx
2019-12-30 14:53:43 +01:00
Aleksey Kladov
e53ccb6e99
Start new ctx module
2019-12-30 14:42:59 +01:00