Veetaha
ef223b9e64
Fix: allow for binaries from $PATH to pass validity check
2020-07-06 13:41:38 +03:00
Veetaha
46163acf62
Revert "Dispose logger on extension deactivation"
...
This reverts commit 13872543e0
.
That commit was wrong because we use-after-free the logger
2020-07-05 21:10:31 +03:00
Veetaha
13872543e0
Dispose logger on extension deactivation
2020-07-05 21:05:38 +03:00
Veetaha
3602f07bbe
Improve client logging (use output channel and more log levels)
2020-07-05 17:50:29 +03:00
Veetaha
c2221ff7e8
Never disable error logging on the frontend
2020-06-22 21:30:32 +03:00
veetaha
d605ec9c32
Change Runnable.bin -> Runnable.kind
...
As per matklad, we now pass the responsibility for finding the binary to the frontend.
Also, added caching for finding the binary path to reduce
the amount of filesystem interactions.
2020-05-31 05:21:45 +03:00
vsrs
f3e04fbbab
Add inRustProject
when-clause for commands.
2020-05-27 19:46:23 +03:00
veetaha
3c749b6224
Partially fix displaying inlay hints in Github PR diff views
2020-05-26 22:55:35 +03:00
veetaha
c9b395be2b
Fix cargo not found on macos bug at vscode extension side
2020-05-05 16:12:56 -07:00
veetaha
09a760e52e
vscode: add syntax tree inspection hovers and highlights
2020-03-31 16:20:59 +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
Veetaha
98b2a942d1
vscode-prerefactor: add some utility functions
2020-03-14 02:01:46 +02: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
6dc598fa63
vscode: simplify assert.eq() to assert() as per matklad
2020-02-29 00:59:42 +02:00
Veetaha
e7bf99e6fd
vscode: add dat semicolon
2020-02-29 00:33:34 +02:00
Veetaha
3ad0574d7e
vscode: add equality assertion
2020-02-29 00:26:22 +02:00
Veetaha
9cf2577054
vscode: rename nodeAssert -> nativeAssert
2020-02-29 00:07:29 +02:00
Veetaha
b88887e70e
vscode: add error loging on failed assertion
2020-02-29 00:02:19 +02:00
Veetaha
1b9ab04d4b
vscode: migrate to more type-safe assert impl
2020-02-28 23:56:17 +02:00
Veetaha
c9230b88b4
vscode: migrate inlay_hints to rust-analyzer-api.ts
2020-02-25 00:57:49 +02:00
Veetaha
4cee7cddc8
vscode: gracefully handle cancellation errors
2020-02-23 15:49:09 +02:00
Aleksey Kladov
49844ab717
Extract client-side logging
2020-02-22 16:03:47 +01:00