aboutsummaryrefslogtreecommitdiff
path: root/editors/code
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge #2979bors[bot]2020-02-023-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2979: vscode: now we are actually using tslib r=matklad a=Veetaha We had an incorrect setup where `tslib` was in `devDependencies`. FYI: tslib is a runtime dependency, it contains functions that are used by transpiled JavaScript in order not to inline them in each file. For example: ```ts // foo.ts (source code) import * as foo from "foo"; // --------------------------- // foo.js (compiled output) "use strict"; var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; result["default"] = mod; return result; }; Object.defineProperty(exports, "__esModule", { value: true }); const foo = __importStar(require("foo")); ``` As you see, `tsc` generated that `__importStar` helper function in compiled output. And it generates it per each file if you don't enable `"importHelpers": true`. Now with `importHelpers` enabled we get the following picture: ```ts // foo.ts (source code) import * as foo from "foo"; // --------------------------- // foo.js (compiled output) "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const foo = tslib_1.__importStar(require("foo")); ``` It saves some bundle size, but I am not entirely sure wheter we want that. Discussions are welcome! Co-authored-by: Veetaha <[email protected]>
| * vscode: moved tslib to runtime dependencies and added \"importHelpers\": trueVeetaha2020-02-013-4/+4
| |
* | fix repo link in package.jsonVeetaha2020-02-021-1/+2
|/
* Merge #2964bors[bot]2020-02-011-8/+14
|\ | | | | | | | | | | | | | | 2964: Improve responsiveness of the cargo check status label r=matklad a=lnicola This is still not ideal because the label displays the crate that was just checked, not the one that's currently being checked. But it should give the impression of being faster. Co-authored-by: LaurenČ›iu Nicola <[email protected]>
| * Improve responsiveness of the cargo check status labelLaurențiu Nicola2020-01-311-8/+14
| |
* | Tsfmtbjorn32020-02-011-2/+2
| |
* | Fix seedrandom in packaged extensionbjorn32020-02-012-3/+3
| | | | | | | | Fixes #2971
* | [VSCode] Fix syntax highlightingbjorn32020-02-011-1/+3
|/ | | | Fixes #2969
* Provide better diagnostics if the server is not in pathAleksey Kladov2020-01-281-1/+7
|
* :arrow_up: nodeAleksey Kladov2020-01-282-47/+47
|
* vscode-languageclient 6.1.0kjeremy2020-01-272-13/+13
| | | | Adds support for proposed semantic highlighting extension
* vscode-languageclient 6.0.1Jeremy Kolb2020-01-212-12/+12
|
* Apply the api design suggestionsKirill Bulatov2020-01-153-13/+17
|
* Another attempt to add multiple editsKirill Bulatov2020-01-152-3/+13
|
* Extension iconAleksey Kladov2020-01-151-0/+0
|
* Use types from vscode-langaugeclientEmil Lauridsen2020-01-153-31/+9
|
* Merge #2843bors[bot]2020-01-152-11/+42
|\ | | | | | | | | | | | | | | | | | | | | | | 2843: Add inlay parameter name hints for call expr r=matklad a=imtsuki This patch adds Intellij-like parameter name hints for literal values in function calls. <img width="624" alt="Screenshot" src="https://user-images.githubusercontent.com/8423594/72366533-68d7f800-3735-11ea-9279-cf193ca8ca2f.png"> Signed-off-by: imtsuki <[email protected]> Co-authored-by: imtsuki <[email protected]>
| * Add inlay parameter name hints for function callsimtsuki2020-01-142-11/+42
| | | | | | | | Signed-off-by: imtsuki <[email protected]>
* | Improve readabilitymemoryruins2020-01-151-14/+11
| |
* | Display vscode message after changing cargo-watch optionsmemoryruins2020-01-151-0/+19
| |
* | Language Server Protocol 3.15 is now stablekjeremy2020-01-142-16/+16
| | | | | | | | Update the client
* | vscode-languageclient 6.0.0-next.10kjeremy2020-01-132-16/+16
|/
* Rename VS Code extension to rust-analyzerAleksey Kladov2020-01-134-5/+7
|
* Fix lruCapacity config setting typeMarco Groppo2020-01-111-1/+4
|
* Merge #2714bors[bot]2020-01-061-0/+4
|\ | | | | | | | | | | | | | | 2714: Sanity check for missing server binary r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Sanity check for missing server binaryAleksey Kladov2019-12-311-0/+4
| |
* | Allow disabling inlay hintsAleksey Kladov2020-01-011-1/+2
| |
* | Fixes to progress displayAleksey Kladov2019-12-312-17/+12
|/
* Add semicolonsAleksey Kladov2019-12-3114-38/+160
|
* Fix NPEsAleksey Kladov2019-12-315-21/+24
|
* Work around synchrnonisation issueAleksey Kladov2019-12-311-6/+11
|
* Refactor server lifecycleAleksey Kladov2019-12-3112-201/+218
|
* Refactor configAleksey Kladov2019-12-312-7/+6
|
* Drop needless pubsAleksey Kladov2019-12-311-14/+14
|
* Move config to CtxAleksey Kladov2019-12-313-7/+5
|
* Refactor status activationAleksey Kladov2019-12-315-45/+38
|
* Fix color nameAleksey Kladov2019-12-312-2/+2
|
* Drop obsolete color configurationsAleksey Kladov2019-12-312-289/+2
|
* Drop support for legacy colorizationAleksey Kladov2019-12-315-255/+164
|
* Rename fileAleksey Kladov2019-12-313-2/+2
|
* Fix #2700Aleksey Kladov2019-12-311-1/+1
|
* Switch impure functional style to pure imperativeAleksey Kladov2019-12-314-95/+67
|
* Reduce scopeAleksey Kladov2019-12-311-8/+10
|
* Use optional value shortcutAleksey Kladov2019-12-311-3/+3
|
* Remove trivial helpersAleksey Kladov2019-12-311-15/+3
|
* Rearrange codeAleksey Kladov2019-12-312-107/+106
|
* Restore internal applySourceChange commandAleksey Kladov2019-12-302-0/+9
|
* Use Ctx in highlighterAleksey Kladov2019-12-301-5/+10
|
* Reformat with tsfmtAleksey Kladov2019-12-305-33/+34
|
* Add tsfmtAleksey Kladov2019-12-302-1/+67
|