aboutsummaryrefslogtreecommitdiff
path: root/editors
Commit message (Collapse)AuthorAgeFilesLines
* vscode: fix typeVeetaha2020-02-021-1/+1
|
* vscode refactoring: use more laconic export snytax, split huge string to ↵Veetaha2020-02-023-33/+18
| | | | several lines
* vscode extension cleanup: migrate to prefer-const tslint ruleVeetaha2020-02-026-10/+11
|
* 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
| |
| |
| \
*-. | Merge #2963 #2967bors[bot]2020-02-011-2/+11
|\ \| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2963: Emacs fixes r=matklad a=flodiebold - use provided environment for runnables (finally set `RUST_BACKTRACE`) - implement `selectAndApplySourceChange` so auto-import works :slightly_smiling_face: cc @brotzeit 2967: Disable optimizations for some build-time crates r=matklad a=lnicola This speeds up a release build on my laptop from 4m 13s to 3m 33s. It's a bit disappointing, but we don't get perfect parallelism during the build. The non-RA dependencies finish building around 72s as opposed to 112s. Co-authored-by: Florian Diebold <[email protected]> Co-authored-by: Florian Diebold <[email protected]> Co-authored-by: Laurențiu Nicola <[email protected]>
| * | Implement support for selectAndApplySourceChange (auto import) in EmacsFlorian Diebold2020-01-311-1/+9
| | |
| * | Fix env in emacs runnables supportFlorian Diebold2020-01-311-1/+2
| |/
* | 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
|
* Improve parameter hints a bit & add emacs supportFlorian Diebold2020-01-181-6/+13
| | | | | - just include the name, not e.g. `mut` - don't return empty hints (or `_`)
* 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 Emacs "extension"Aleksey Kladov2020-01-131-3/+3
|
* Rename VS Code extension to rust-analyzerAleksey Kladov2020-01-134-5/+7
|
* Use lsp-seq-first in ra-emacs-lsp since that's more likely to existFlorian Diebold2020-01-111-1/+1
|
* 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
|