aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands
Commit message (Collapse)AuthorAgeFilesLines
* Separate persistent mutable state from configAleksey Kladov2020-03-161-1/+1
| | | | | 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-2/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: amend server installation logic to account for nightliesVeetaha2020-03-141-2/+1
| |
* | Merge #3540bors[bot]2020-03-161-7/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | 3540: Swtches to rust SSR query check r=matklad a=mikhail-m1 related to #3186 Co-authored-by: Mikhail Modin <[email protected]>
| * | Swtches to rust SSR query checkMikhail Modin2020-03-151-7/+9
| |/
* | fixup! feat: add debug code lensHannes De Valkeneer2020-03-121-6/+1
| | | | | | | | avoid repetition of `--no-run`
* | fixup! feat: add debug code lensHannes De Valkeneer2020-03-121-2/+1
| |
* | feat: add debug code lensHannes De Valkeneer2020-03-111-1/+27
|/ | | | Refs #3539
* Centralize the check for languageId on documentJulien Roncaglia2020-03-021-2/+3
| | | | Also move visibleRustEditors to Ctx
* vscode: run fmtVeetaha2020-02-241-1/+1
|
* vscode: migrate syntax_tree to rust-analyzer-api.tsVeetaha2020-02-241-20/+7
|
* vscode: migrate ssr to rust-analyzer-api.tsVeetaha2020-02-241-11/+5
|
* vscode: migrate runnables to rust-analyzer-api.tsVeetaha2020-02-241-22/+7
|
* vscode: migrate parent_module to rust-analyzer-api.tsVeetaha2020-02-241-7/+3
|
* vscode: migrate on_enter to rust-analyzer-api.tsVeetaha2020-02-241-14/+7
|
* vscode: migrate matching_brace to rust-analyzer-api.tsVeetaha2020-02-241-12/+3
|
* vscode: migrate join_lines to rust-analyzer-api.tsVeetaha2020-02-241-13/+4
|
* vscode: migrate collectGarbage to rust-analyzer-api.tsVeetaha2020-02-241-5/+4
|
* vscode: migrate expand_macro to rust-analyzer-api.tsVeetaha2020-02-241-13/+5
|
* vscode: migrate analyzer_status to rust-analyzer-api.tsVeetaha2020-02-241-4/+2
|
* Don't block onEnter if request failsAleksey Kladov2020-02-241-0/+6
| | | | closes #3286
* Use stdout directlyEdwin Cheng2020-02-211-2/+1
|
* Use ensureServerBinary insteadEdwin Cheng2020-02-211-5/+17
|
* Add trailing newlineEdwin Cheng2020-02-211-1/+2
|
* Improve server version infoEdwin Cheng2020-02-212-0/+10
|
* enforce camel caseAleksey Kladov2020-02-211-2/+2
|
* vscode: press ; to respect semicolonsVeetaha2020-02-172-3/+3
|
* Simplify some more ctorsAleksey Kladov2020-02-173-9/+3
|
* Simplify TS reload logicAleksey Kladov2020-02-171-7/+0
| | | | Fixes #3164
* Init implementation of structural search replaceMikhail Modin2020-02-142-0/+37
|
* Merge #3024bors[bot]2020-02-052-1/+3
|\ | | | | | | | | | | | | | | 3024: vscode: eliminate floating promises and insane amount of resource handle leaks r=matklad a=Veetaha Khm, yeah ... Co-authored-by: Veetaha <[email protected]>
| * vscode: eliminate floating promises and insane amount of resource handle leaksVeetaha2020-02-052-1/+3
| |
* | vscode: yet another refactor commitVeetaha2020-02-041-1/+1
|/
* Merge two if statements into one in editors/code/src/commands/on_enter.ts.Grégoire Geis2020-02-041-1/+1
| | | Co-Authored-By: Veetaha <[email protected]>
* Remove enableEnhancedTyping and type overriding infrastructure.Gregoire Geis2020-02-031-9/+1
|
* Add regular onEnter command, allowing onEnter to be called without ↵Gregoire Geis2020-02-031-18/+33
| | | | overriding the type command.
* vscode: use void where possibleVeetaha2020-02-021-1/+1
|
* vscode extension: migrate from any to unknown where possibleVeetaha2020-02-021-1/+1
|
* vscode refactoring: use more laconic export snytax, split huge string to ↵Veetaha2020-02-021-31/+14
| | | | several lines
* vscode extension cleanup: migrate to prefer-const tslint ruleVeetaha2020-02-021-1/+1
|
* Apply the api design suggestionsKirill Bulatov2020-01-151-2/+15
|
* Another attempt to add multiple editsKirill Bulatov2020-01-151-2/+2
|
* Add semicolonsAleksey Kladov2019-12-314-5/+5
|
* Fix NPEsAleksey Kladov2019-12-315-21/+24
|
* Refactor server lifecycleAleksey Kladov2019-12-314-14/+28
|
* Restore internal applySourceChange commandAleksey Kladov2019-12-301-0/+8
|
* Reformat with tsfmtAleksey Kladov2019-12-301-2/+2
|
* Dead codeAleksey Kladov2019-12-301-16/+0
|
* status is not a commandAleksey Kladov2019-12-301-105/+0
|
* Hints are not commandsAleksey Kladov2019-12-302-115/+0
|