aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/main.ts
Commit message (Collapse)AuthorAgeFilesLines
* More style fixesKirill Bulatov2021-05-231-15/+14
|
* Style fixKirill Bulatov2021-05-231-8/+10
|
* Better releaseId namingKirill Bulatov2021-05-231-7/+6
|
* Remove nightly release id from local storage for stable extensionsKirill Bulatov2021-05-231-1/+3
|
* Download nightly extension when configured and run from stable extension versionKirill Bulatov2021-05-231-3/+10
|
* Add a "Debug ItemTree" LSP requestJonas Schievink2021-05-211-0/+1
|
* Allow viewing the crate graph in a webviewJonas Schievink2021-05-111-0/+1
|
* Item up and down moversivan7702021-03-181-0/+2
|
* Merge #7799bors[bot]2021-03-131-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | 7799: Related tests r=matklad a=vsrs ![tests](https://user-images.githubusercontent.com/62505555/109397453-a9013680-7947-11eb-8b11-ac03079f7645.gif) This adds an ability to look for tests for the item under the cursor: function, constant, data type, etc The LSP part is bound to change. But the feature itself already works and I'm looking for a feedback :) Co-authored-by: vsrs <[email protected]>
| * Add LSP request and VSCode commandvsrs2021-02-271-0/+1
| |
* | Make extension respect http proxy settingsKam Y. Tse2021-03-071-2/+4
|/
* Try to detect musl distros in the Code extensionLaurențiu Nicola2021-02-201-2/+12
|
* fix: tolerate spaces in nix binary patchingYaroslav Bolyukin2021-02-131-3/+3
| | | | | | | | | | If path to original file contains space (I.e on code insiders, where default data directory is ~/Code - Insiders/), then there is syntax error evaluating src arg. Instead pass path as str, and coerce to path back in nix expression Signed-off-by: Yaroslav Bolyukin <[email protected]>
* Merge #7625bors[bot]2021-02-101-0/+1
|\ | | | | | | | | | | | | | | | | 7625: Add **Copy Run Command Line** command for vscode r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Add **Copy Run Command Line** command for vscodeAleksey Kladov2021-02-101-0/+1
| | | | | | | | | | This is useful when you want to, e.g., run a specific test in a terminal with `--release`.
* | use await insteadSahandevs2021-02-091-9/+6
| |
* | formatSahandevs2021-02-071-5/+5
| |
* | handle Thenable type rejectsSahandevs2021-02-071-5/+9
|/
* Simplify file download codeLaurențiu Nicola2021-01-251-2/+0
|
* Download aarch64-unknown-linux-gnu from GitHubLaurențiu Nicola2021-01-171-0/+1
|
* Fix server path comparisonLaurențiu Nicola2021-01-141-1/+1
|
* Don't update the server if managed by the userLaurențiu Nicola2021-01-071-1/+6
|
* Allow download of aarch64-pc-windows-msvc binariesLaurențiu Nicola2021-01-041-10/+9
|
* Initial implementation of view-hir commandPhil Ellison2020-12-281-0/+1
|
* Merge #7001bors[bot]2020-12-221-6/+8
|\ | | | | | | | | | | | | | | | | | | 7001: Add support for downloading aarch64-apple-darwin binaries r=matklad a=lnicola There's also a slight behavior change here: we no longer download our 64-binaries on 32-bit Darwin and Linux. We still do that on Windows, as I don't know how to detect 32-bit Node on 64 Windows. But some people install the 32-bit Code by mistake, I doubt 32-bit Windows is that popular in the Rust crowd. Co-authored-by: LaurenČ›iu Nicola <[email protected]>
| * Add support for downloading aarch64-apple-darwin binaries, change naming ↵Laurențiu Nicola2020-12-221-6/+8
| | | | | | | | convention
* | Fix grammar nitP. Horban2020-12-221-1/+1
| | | | | | Co-authored-by: LaurenČ›iu Nicola <[email protected]>
* | Extension conflict check detests more combinationsPrzemyslaw Horban2020-12-221-5/+15
|/
* Don't download x64 binaries on non-Mac arm64Laurențiu Nicola2020-12-211-1/+3
|
* Allow code extension to download binary in apple armSon2020-12-211-1/+1
|
* Remove outdated FIXMELaurențiu Nicola2020-12-211-3/+2
|
* Use /etc/os-release to check for NixOSLaurențiu Nicola2020-12-211-1/+10
| | | | | | The motivation in #5641 isn't too strong, but /etc/os-release exists on pretty much every Linux distro, while /etc/nixos sounds like an implementation detail.
* Fixed formattingPrzemyslaw Horban2020-12-181-2/+2
|
* Added a warning if conflicting rust-lang.rust is enabled.Przemyslaw Horban2020-12-181-0/+11
|
* add open Cargo.toml actionAnatol Liu2020-11-131-0/+1
|
* WIP: Command to open docs under cursorZac Pullar-Strecker2020-10-081-0/+1
|
* Move unlink on download into download functionMatthias Einwag2020-09-231-11/+3
| | | | | Since this is required by all callsites its easier to have it in the function itself.
* Remane functionMatthias Einwag2020-09-231-5/+5
|
* Use closure in trailing position and strongly type header mapMatthias Einwag2020-09-231-17/+20
|
* Apply suggestions from code reviewMatthias Einwag2020-09-231-1/+1
| | | Co-authored-by: Veetaha <[email protected]>
* Remove stray newlineMatthias Einwag2020-09-231-1/+0
|
* Fix clearing the tokenMatthias Einwag2020-09-231-3/+8
| | | | | | | The previous version would have interpreted an empty token as an abort of the dialog and would have not properly cleared the token. This is now fixed by checking for `undefined` for a an abort and by setting the token to `undefined` in order to clear it.
* Add a command for updating the Github API tokenMatthias Einwag2020-09-231-0/+4
|
* Use retry dialog also for downloadsMatthias Einwag2020-09-231-20/+30
| | | | | | Since the change already implements a retry dialog for network operations, let's also use it for allowing to retry the actual file.
* Fix tslintMatthias Einwag2020-09-231-2/+2
|
* Allow to use a Github Auth token for fetching releasesMatthias Einwag2020-09-231-2/+53
| | | | | | | | | | | | | | | | | | | This change allows to use a authorization token provided by Github in order to fetch metadata for a RA release. Using an authorization token prevents to get rate-limited in environments where lots of RA users use a shared client IP (e.g. behind a company NAT). The auth token is stored in `ExtensionContext.globalState`. As far as I could observe through testing with a local WSL2 environment that state is synced between an extension installed locally and a remote version. The change provides no explicit command to query for an auth token. However in case a download fails it will provide a retry option as well as an option to enter the auth token. This should be more discoverable for most users. Closes #3688
* Gzip artifactsVeetaha2020-07-071-8/+9
| | | | | | | | | | Co-authored-by: bjorn3 <[email protected]> Override miniz_oxide to build it with optimizations Building this crate with optimizations decreases the gzipping part of `cargo xtask dist` from `30-40s` down to `3s`, the overhead for `rustc` to apply optimizations is miserable on this background
* Add a command to compute memory usage statisticsJonas Schievink2020-07-071-0/+1
|
* Consider EPERM error as other vscode processes using rust-analyzerVeetaha2020-07-071-1/+1
|
* Revert "Dispose logger on extension deactivation"Veetaha2020-07-051-2/+0
| | | | | This reverts commit 13872543e074adc153b440660beda441fd562f53. That commit was wrong because we use-after-free the logger