about summary refs log tree commit diff
path: root/editors/code/src/main.ts
AgeCommit message (Collapse)AuthorLines
2020-04-04vscode: log server binary pathveetaha-0/+2
2020-04-02Remove old syntax highlightingAleksey Kladov-4/+0
2020-03-31Pass string instread of WorkspaceFolderTim-1/+1
2020-03-31Remove unnecessary null checkTim-3/+1
2020-03-31Throw error if no folder is openedTim-1/+6
2020-03-30Add basic task supportTim-1/+8
This adds basic support for running `cargo build`, `cargo run`, etc.
2020-03-30Code review fixesKirill Bulatov-1/+1
Co-Authored-By: Veetaha <veetaha2@gmail.com>
2020-03-30Client side draftKirill Bulatov-0/+6
2020-03-26vscode: small post-refactorveetaha-3/+1
2020-03-26vscode: fix memory leak on server restartveetaha-15/+13
The memory leak was because on the server restrart the array of extensionContext.substiptions was not cleared
2020-03-26vscode: fix local develveetaha-4/+6
The value of releaseTag is not undefined, but null in actual package.json
2020-03-25Use the right arch name for x86 (32 bit)Aleksey Kladov-1/+1
2020-03-24Don't try to enable proposed API's on stableAleksey Kladov-7/+7
2020-03-20Make from-source install use cargo installed binary by defaultAleksey Kladov-0/+2
2020-03-19Simplify extension tag sniffingAleksey Kladov-2/+2
2020-03-19Rewrite auto-updateAleksey Kladov-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).
2020-03-16Separate persistent mutable state from configAleksey Kladov-4/+6
That way, we clearly see which things are not change, and we also clearly see which things are persistent.
2020-03-16Merge #3534bors[bot]-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 <gerzoh1@gmail.com> Co-authored-by: Veetaha <veetaha2@gmail.com>
2020-03-14vscode-postrefactor: unhandled promise rejections shall not pass 2Veetaha-1/+1
2020-03-14vscode-postrefactor: unhandled promise rejections shall not passVeetaha-1/+1
2020-03-14vscode: amend server installation logic to account for nightliesVeetaha-1/+8
2020-03-11feat: add debug code lensHannes De Valkeneer-0/+1
Refs #3539
2020-02-26Config to switch to semantic tokensAleksey Kladov-1/+3
2020-02-24Don't break onEnter if rust-analyzer fails to startAleksey Kladov-0/+23
closes #3253
2020-02-22Extract client-side loggingAleksey Kladov-1/+2
2020-02-21Improve server version infoEdwin Cheng-0/+1
2020-02-17vscode: press ; to respect semicolonsVeetaha-6/+6
2020-02-17Remove two stage constuctionAleksey Kladov-7/+4
2020-02-17Fix link to the manualAleksey Kladov-1/+1
2020-02-17Push IO and error handling upAleksey Kladov-1/+10
2020-02-17Simplify startupAleksey Kladov-10/+11
2020-02-17Simplify TS reload logicAleksey Kladov-2/+19
Fixes #3164
2020-02-14Init implementation of structural search replaceMikhail Modin-0/+1
2020-02-05vscode: yet another refactor commitVeetaha-1/+1
2020-02-03Remove enableEnhancedTyping and type overriding infrastructure.Gregoire Geis-3/+0
2020-02-03Add regular onEnter command, allowing onEnter to be called without ↵Gregoire Geis-1/+2
overriding the type command.
2020-02-02vscode: fix typeVeetaha-1/+1
2020-02-02vscode refactoring: use more laconic export snytax, split huge string to ↵Veetaha-1/+1
several lines
2020-01-15Apply the api design suggestionsKirill Bulatov-0/+1
2019-12-31Fixes to progress displayAleksey Kladov-11/+10
2019-12-31Work around synchrnonisation issueAleksey Kladov-6/+11
2019-12-31Refactor server lifecycleAleksey Kladov-28/+7
2019-12-31Move config to CtxAleksey Kladov-1/+1
2019-12-31Refactor status activationAleksey Kladov-14/+3
2019-12-30Restore internal applySourceChange commandAleksey Kladov-0/+1
2019-12-30Privatize highlightingAleksey Kladov-7/+2
2019-12-30Add config to CtxAleksey Kladov-5/+3
2019-12-30Encapsulate highlighting activationAleksey Kladov-6/+3
2019-12-30Encapsulate inlay hints activationAleksey Kladov-37/+2
2019-12-30status is not a commandAleksey Kladov-6/+6