aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/main.ts
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Encapsulate highlighting activationAleksey Kladov2019-12-301-6/+3
|
* Encapsulate inlay hints activationAleksey Kladov2019-12-301-37/+2
|
* status is not a commandAleksey Kladov2019-12-301-6/+6
|
* Hints are not commandsAleksey Kladov2019-12-301-1/+1
|
* Move all commands to ctxAleksey Kladov2019-12-301-17/+6
|
* Refactor runablesAleksey Kladov2019-12-301-4/+2
|
* Move expand macro to the new contextAleksey Kladov2019-12-301-14/+1
|
* Refactor show syntax tree actionAleksey Kladov2019-12-301-23/+3
|
* Move parentModule to the new CtxAleksey Kladov2019-12-301-10/+10
|
* Refactor applySourceChangeAleksey Kladov2019-12-301-42/+10
|
* Move joinLines to the new CtxAleksey Kladov2019-12-301-1/+1
|
* Move matching brace to new CtxAleksey Kladov2019-12-301-4/+1
|
* Run prettierAleksey Kladov2019-12-301-10/+10
|
* More second command to CtxAleksey Kladov2019-12-301-8/+2
|
* Start new ctx moduleAleksey Kladov2019-12-301-13/+19
|
* Rename extension.ts -> main.tsAleksey Kladov2019-12-301-0/+203