aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/main.ts
Commit message (Collapse)AuthorAgeFilesLines
* "rust-analyzer.newDebugConfig" commandvsrs2020-05-111-0/+1
|
* "rust-analyzer.debug" commandvsrs2020-05-111-0/+1
|
* Fix cargo not found on macos bug at vscode extension sideveetaha2020-05-061-6/+2
|
* vscode: log server binary pathveetaha2020-04-041-0/+2
|
* Remove old syntax highlightingAleksey Kladov2020-04-021-4/+0
|
* Pass string instread of WorkspaceFolderTim2020-03-311-1/+1
|
* Remove unnecessary null checkTim2020-03-311-3/+1
|
* Throw error if no folder is openedTim2020-03-311-1/+6
|
* Add basic task supportTim2020-03-301-1/+8
| | | | This adds basic support for running `cargo build`, `cargo run`, etc.
* Code review fixesKirill Bulatov2020-03-301-1/+1
| | | | Co-Authored-By: Veetaha <[email protected]>
* Client side draftKirill Bulatov2020-03-301-0/+6
|
* vscode: small post-refactorveetaha2020-03-261-3/+1
|
* vscode: fix memory leak on server restartveetaha2020-03-261-15/+13
| | | | The memory leak was because on the server restrart the array of extensionContext.substiptions was not cleared
* vscode: fix local develveetaha2020-03-261-4/+6
| | | | The value of releaseTag is not undefined, but null in actual package.json
* Use the right arch name for x86 (32 bit)Aleksey Kladov2020-03-251-1/+1
|
* Don't try to enable proposed API's on stableAleksey Kladov2020-03-241-7/+7
|
* Make from-source install use cargo installed binary by defaultAleksey Kladov2020-03-201-0/+2
|
* Simplify extension tag sniffingAleksey Kladov2020-03-191-2/+2
|
* Rewrite auto-updateAleksey Kladov2020-03-191-20/+138
| | | | | | | | | | | | | | 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).
* Separate persistent mutable state from configAleksey Kladov2020-03-161-4/+6
| | | | | That way, we clearly see which things are not change, and we also clearly see which things are persistent.
* Merge #3534bors[bot]2020-03-161-1/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> Co-authored-by: Veetaha <[email protected]>
| * vscode-postrefactor: unhandled promise rejections shall not pass 2Veetaha2020-03-141-1/+1
| |
| * vscode-postrefactor: unhandled promise rejections shall not passVeetaha2020-03-141-1/+1
| |
| * vscode: amend server installation logic to account for nightliesVeetaha2020-03-141-1/+8
| |
* | feat: add debug code lensHannes De Valkeneer2020-03-111-0/+1
|/ | | | Refs #3539
* Config to switch to semantic tokensAleksey Kladov2020-02-261-1/+3
|
* Don't break onEnter if rust-analyzer fails to startAleksey Kladov2020-02-241-0/+23
| | | | closes #3253
* Extract client-side loggingAleksey Kladov2020-02-221-1/+2
|
* Improve server version infoEdwin Cheng2020-02-211-0/+1
|
* vscode: press ; to respect semicolonsVeetaha2020-02-171-6/+6
|
* Remove two stage constuctionAleksey Kladov2020-02-171-7/+4
|
* Fix link to the manualAleksey Kladov2020-02-171-1/+1
|
* Push IO and error handling upAleksey Kladov2020-02-171-1/+10
|
* Simplify startupAleksey Kladov2020-02-171-10/+11
|
* Simplify TS reload logicAleksey Kladov2020-02-171-2/+19
| | | | Fixes #3164
* Init implementation of structural search replaceMikhail Modin2020-02-141-0/+1
|
* vscode: yet another refactor commitVeetaha2020-02-041-1/+1
|
* Remove enableEnhancedTyping and type overriding infrastructure.Gregoire Geis2020-02-031-3/+0
|
* Add regular onEnter command, allowing onEnter to be called without ↵Gregoire Geis2020-02-031-1/+2
| | | | overriding the type command.
* vscode: fix typeVeetaha2020-02-021-1/+1
|
* vscode refactoring: use more laconic export snytax, split huge string to ↵Veetaha2020-02-021-1/+1
| | | | several lines
* Apply the api design suggestionsKirill Bulatov2020-01-151-0/+1
|
* Fixes to progress displayAleksey Kladov2019-12-311-11/+10
|
* Work around synchrnonisation issueAleksey Kladov2019-12-311-6/+11
|
* Refactor server lifecycleAleksey Kladov2019-12-311-28/+7
|
* Move config to CtxAleksey Kladov2019-12-311-1/+1
|
* Refactor status activationAleksey Kladov2019-12-311-14/+3
|
* Restore internal applySourceChange commandAleksey Kladov2019-12-301-0/+1
|
* Privatize highlightingAleksey Kladov2019-12-301-7/+2
|
* Add config to CtxAleksey Kladov2019-12-301-5/+3
|