bors[bot]
200c275c2e
Merge #3534
...
3534: Feature: vscode impl nightlies download and installation r=Veetaha a=Veetaha
I need to test things more, but the core shape of the code is quite well-formed.
The main problem is that we save the release date only for nightlies and there are no means to get the release date of the stable extension (i.e. for this we would need to consult the github releases via a network request, or we would need to somehow save this info into package.json or any other file accessible from the extension code during the deployment step, but this will be very hard I guess).
So there is an invariant that the users can install nightly only from our extension and they can't do it manually, because when installing the nightly `.vsix` we actually save its release date to `globalState`
Closes : #3402
TODO:
- [x] More manual tests and documentation
cc @matklad @lnicola
Co-authored-by: Veetaha <gerzoh1@gmail.com >
Co-authored-by: Veetaha <veetaha2@gmail.com >
2020-03-16 10:26:31 +00:00
bors[bot]
a99cac671c
Merge #3540
...
3540: Swtches to rust SSR query check r=matklad a=mikhail-m1
related to #3186
Co-authored-by: Mikhail Modin <mikhailm1@gmail.com >
2020-03-16 09:48:09 +00:00
Mikhail Modin
b150965ed7
Swtches to rust SSR query check
2020-03-15 21:23:18 +00:00
Veetaha
1e73811fbe
vscode: amend server installation logic to account for nightlies
2020-03-14 02:01:46 +02:00
Hannes De Valkeneer
e9d025b618
fixup! feat: add debug code lens
...
avoid repetition of `--no-run`
2020-03-12 21:28:26 +01:00
Hannes De Valkeneer
a034257e5e
fixup! feat: add debug code lens
2020-03-12 21:00:40 +01:00
Hannes De Valkeneer
e903fd0d97
feat: add debug code lens
...
Refs #3539
2020-03-11 22:26:47 +01: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
72e81dae71
vscode: run fmt
2020-02-25 01:00:00 +02:00
Veetaha
8aea0ec511
vscode: migrate syntax_tree to rust-analyzer-api.ts
2020-02-25 00:57:14 +02:00
Veetaha
9ea63d5a86
vscode: migrate ssr to rust-analyzer-api.ts
2020-02-25 00:56:57 +02:00
Veetaha
8a8a4d08ef
vscode: migrate runnables to rust-analyzer-api.ts
2020-02-25 00:56:38 +02:00
Veetaha
d6a96a90f4
vscode: migrate parent_module to rust-analyzer-api.ts
2020-02-25 00:56:19 +02:00
Veetaha
8c6581dcc3
vscode: migrate on_enter to rust-analyzer-api.ts
2020-02-25 00:55:48 +02:00
Veetaha
56d1ff6532
vscode: migrate matching_brace to rust-analyzer-api.ts
2020-02-25 00:55:13 +02:00
Veetaha
38d7945ec7
vscode: migrate join_lines to rust-analyzer-api.ts
2020-02-25 00:54:50 +02:00
Veetaha
c9a2fa1835
vscode: migrate collectGarbage to rust-analyzer-api.ts
2020-02-25 00:50:57 +02:00
Veetaha
31d9932d18
vscode: migrate expand_macro to rust-analyzer-api.ts
2020-02-25 00:50:36 +02:00
Veetaha
603bc71a57
vscode: migrate analyzer_status to rust-analyzer-api.ts
2020-02-25 00:50:14 +02:00
Aleksey Kladov
910adb9dc7
Don't block onEnter if request fails
...
closes #3286
2020-02-24 12:45:34 +01:00
Edwin Cheng
319a09847b
Use stdout directly
2020-02-21 18:33:45 +08:00
Edwin Cheng
489be40d3a
Use ensureServerBinary instead
2020-02-21 18:33:45 +08:00
Edwin Cheng
e7a0d8f8d0
Add trailing newline
2020-02-21 18:33:45 +08:00
Edwin Cheng
4e48a73f9c
Improve server version info
2020-02-21 18:33:45 +08:00
Aleksey Kladov
28bf731751
enforce camel case
2020-02-21 11:22:45 +01:00
Veetaha
7379964048
vscode: press ; to respect semicolons
2020-02-17 22:09:44 +02:00
Aleksey Kladov
3717b0e03f
Simplify some more ctors
2020-02-17 14:23:23 +01:00
Aleksey Kladov
dcdbbddd16
Simplify TS reload logic
...
Fixes #3164
2020-02-17 13:40:47 +01:00
Mikhail Modin
f8f454ab5c
Init implementation of structural search replace
2020-02-14 21:45:42 +00:00
bors[bot]
ea9d18ba83
Merge #3024
...
3024: vscode: eliminate floating promises and insane amount of resource handle leaks r=matklad a=Veetaha
Khm, yeah ...
Co-authored-by: Veetaha <gerzoh1@gmail.com >
2020-02-05 20:57:08 +00:00
Veetaha
8153b60e1d
vscode: eliminate floating promises and insane amount of resource handle leaks
2020-02-05 22:39:47 +02:00
Veetaha
b89b22e43e
vscode: yet another refactor commit
2020-02-05 00:13:46 +02:00
Grégoire Geis
875dc6d1a4
Merge two if statements into one in editors/code/src/commands/on_enter.ts.
...
Co-Authored-By: Veetaha <veetaha2@gmail.com >
2020-02-04 01:44:12 +01:00
Gregoire Geis
b70ad7e5f3
Remove enableEnhancedTyping and type overriding infrastructure.
2020-02-03 20:24:50 +01:00
Gregoire Geis
23ef22dd48
Add regular onEnter command, allowing onEnter to be called without overriding the type command.
2020-02-03 20:18:10 +01:00
Veetaha
2fd7af2a62
vscode: use void where possible
2020-02-02 23:24:09 +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
Kirill Bulatov
78a21253b4
Apply the api design suggestions
2020-01-15 20:17:17 +02:00
Kirill Bulatov
73dc8b6f06
Another attempt to add multiple edits
2020-01-15 20:16:27 +02:00
Aleksey Kladov
ff0ceb30a9
Add semicolons
2019-12-31 18:55:34 +01:00
Aleksey Kladov
cb41ffbbbd
Fix NPEs
2019-12-31 18:50:32 +01:00
Aleksey Kladov
087af54069
Refactor server lifecycle
2019-12-31 18:32:17 +01:00
Aleksey Kladov
68b7d84974
Restore internal applySourceChange command
2019-12-30 23:46:13 +01:00
Aleksey Kladov
04f0f5077a
Reformat with tsfmt
2019-12-30 23:30:35 +01:00
Aleksey Kladov
b8368f09b4
Dead code
2019-12-30 20:16:57 +01:00
Aleksey Kladov
6cc55e4c5c
status is not a command
2019-12-30 20:16:07 +01:00
Aleksey Kladov
7b199f6a4b
Hints are not commands
2019-12-30 20:10:40 +01:00
Aleksey Kladov
3d008a78d0
Move all commands to ctx
2019-12-30 20:07:04 +01:00