Veetaha
c29a502e25
vscode: care about alwaysDownloadServer option before asking
...
Also renamed BinarySource to ArtifactSource in anticipation of
nightlies installation that requires downloading
not a binary itself but .vsix package, thus generalized
to `artifact` term
2020-03-08 00:01:48 +02:00
Veetaha
6dc598fa63
vscode: simplify assert.eq() to assert() as per matklad
2020-02-29 00:59:42 +02:00
Veetaha
3ad0574d7e
vscode: add equality assertion
2020-02-29 00:26:22 +02:00
Veetaha
1b9ab04d4b
vscode: migrate to more type-safe assert impl
2020-02-28 23:56:17 +02:00
Aleksey Kladov
1f1bda2c5a
Remove unnecessary dep
2020-02-26 14:21:23 +01:00
Veetaha
6ec4a7db42
vscode: wrap non-single-line if body with curlies as per matklad
2020-02-25 01:58:43 +02:00
Veetaha
af57251c31
vscode: remove type assertion
2020-02-24 21:23:56 +02:00
Veetaha
b4db089a6b
add error handling to fetchArtifactReleaseInfo(), throw Error when no artifact found
2020-02-24 21:13:10 +02:00
Aleksey Kladov
cc1469fe9e
Cleanp
2020-02-24 15:41:13 +01:00
Veetaha
ef4dfab3cc
Quick fix circular json error when sanity-check fails
...
Related issue: #3280
2020-02-24 11:56:52 +02:00
Aleksey Kladov
49844ab717
Extract client-side logging
2020-02-22 16:03:47 +01:00
Veetaha
d905abfb11
vscode: migrate to tripple equals
2020-02-22 13:46:11 +02:00
Aleksey Kladov
28bf731751
enforce camel case
2020-02-21 11:22:45 +01:00
Aleksey Kladov
742459c8fe
Merge pull request #3204 from Veetaha/feature/vscode-remove-updates-notification-comment
...
vscode: remove comment about updates notification
2020-02-18 13:44:56 +01:00
Aleksey Kladov
c855e36696
Rename config value for server Path
2020-02-18 12:35:44 +01:00
Aleksey Kladov
07a77ffb35
Migrate to eslint
2020-02-17 23:42:25 +01:00
Veetaha
765852a444
vscode: remove comment about updates notification
2020-02-17 22:19:00 +02:00
Veetaha
7379964048
vscode: press ; to respect semicolons
2020-02-17 22:09:44 +02:00
Veetaha
467b925b53
vscode: save binary version when downloading and download only version that matches TypeScript extension version
2020-02-16 03:41:40 +02:00
Veetaha
b9188226fa
vscode: extract downloadArtifact() function
2020-02-16 03:41:40 +02:00
Veetaha
0f7abeb035
vscode: add release tag option to fetchArtifactReleaseInfo()
2020-02-16 03:41:40 +02:00
Veetaha
8533fc437b
vscode: add version and storage parameters to github binary source
2020-02-16 03:41:39 +02:00
Veetaha
80d5ba68da
vscode: renamed langServer to server
2020-02-15 00:42:32 +02:00
Veetaha
f61134e198
vscode: renmed ArtifactMetadata -> ArtifactReleaseInfo, languageServer -> langServer
2020-02-15 00:15:06 +02:00
Veetaha
574dc11a2f
vscode: removed nested errors as per matklad
2020-02-14 00:33:12 +02:00
Veetaha
da6ae3b6e0
vscode: replaced DownloadFileError with NestedError itself for simplicity
2020-02-13 22:21:19 +02:00
Veetaha
a3febc1c57
vscode: switched to stream.pipeline with .on(close) workaround
2020-02-12 21:40:35 +02:00
Veetaha
36dc3edb7a
vscode: added error handling to download file streams
2020-02-11 23:58:48 +02:00
Veetaha
b834b37682
vscode: remove chmod in favour of an option to createWriteStream()
2020-02-11 22:34:52 +02:00
bors[bot]
98aa709fa7
Merge #3100
...
3100: vscode: add error handling to downloadFile() r=matklad a=Veetaha
Inspired by #3094 .
Co-authored-by: Veetaha <gerzoh1@gmail.com>
2020-02-11 09:25:31 +00:00
Veetaha
f2c66605c2
vscode: add error handling to downloadFile()
2020-02-11 02:14:04 +02:00
Veetaha
78ee964f7c
vscode: fix ebusy error on windows
2020-02-10 23:12:20 +02:00
Veetaha
e709f113c1
vscode: changed dns sanity-check url from google.com to example.com
2020-02-09 22:27:01 +02:00
Veetaha
5d39f6d3b2
vscode: add on-success logic to dns resolution sanity check
2020-02-09 22:00:33 +02:00
Veetaha
fa7b91a2f7
vscode: removed unnecessary awaits
2020-02-09 21:55:29 +02:00
Veetaha
7cba77ed4e
vscode: added logging when donloading binaries
2020-02-09 15:01:00 +02:00
Veetaha
f3240e22c6
vscode: move throtting of download progress to call site
2020-02-09 14:18:05 +02:00
Veetaha
a63659badb
vscode: replaced unwrapNotNil() with ! as per @matklad
2020-02-09 13:59:27 +02:00
Veetaha
7a09274e52
vscode: refactor inverted ternaries to if statements as per @matklad
2020-02-09 13:45:06 +02:00
Veetaha
34241b9af9
vscode: remove noise data fields declarations as per @matklad
2020-02-09 13:39:54 +02:00
Veetaha
3159e87c49
vscode: refactor levels of code nesting and string literals quotes
2020-02-09 13:36:36 +02:00
Veetaha
a3e3fba7bf
vscode: fix chmod to octal literal
...
Co-Authored-By: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-02-09 12:54:51 +02:00
Veetaha
d08ae7e82f
vscode: minor names and message contents changes
2020-02-09 00:58:53 +02:00
Veetaha
539daf4454
vscode: refactor platform artifact name query to switch statement, move BinarySource union variants into a namespace
2020-02-09 00:27:04 +02:00
Veetaha
bdd88c2fad
vscode: reduce throttle latency of downloadFile() progress callback for smoother UX
2020-02-08 21:25:03 +02:00
Veetaha
9791b6a8de
vscode: add name to the second unused argument of withProgress() callback
2020-02-08 21:24:29 +02:00
Veetaha
4e85254444
vscode: add docs to installation module interfaces and sanity check to donloadFile()
2020-02-08 21:03:27 +02:00
Veetaha
6ef912f925
vscode: converted fetchLatestArtifactMetadata params to positional, added docs
2020-02-08 20:18:33 +02:00
Veetaha
f7ef72db64
vscode: changed chmod value to 755 as per @lnicola
2020-02-08 20:07:00 +02:00
Veetaha
5d88c1db38
vscode: amended config to use binary from globalStoragePath, added ui for downloading
2020-02-08 04:34:11 +02:00