aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix ↵Seivan Heidari2019-12-233-16/+15
| | | | | | https://github.com/rust-analyzer/rust-analyzer/pull/2061#discussion_r348716036 Fix https://github.com/rust-analyzer/rust-analyzer/pull/2061/files/68a5ff050faf514e9d122212a66703ca8ce66ab7#r361019340
* Merge branch 'master' into feature/themesSeivan Heidari2019-12-2331-274/+715
|\
| * Protect against null as revealed by `npm test`kjeremy2019-12-201-2/+7
| |
| * Use substr instead of endswithEdwin Cheng2019-12-181-3/+3
| |
| * Add testsEdwin Cheng2019-12-182-0/+295
| |
| * Add macro span handlingEdwin Cheng2019-12-181-0/+38
| |
| * Merge #2580bors[bot]2019-12-171-4/+4
| |\ | | | | | | | | | | | | | | | | | | | | | 2580: Fix highlighting token names r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| | * Fix highlighting token namesAleksey Kladov2019-12-171-4/+4
| | |
| * | Merge #2568bors[bot]2019-12-172-2/+13
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | 2568: Add option to disable all-targets. r=matklad a=pftbest Can be useful in embedded. Co-authored-by: Vadzim Dambrouski <[email protected]>
| | * Fix formattingVadzim Dambrouski2019-12-161-2/+1
| | |
| | * Add option to disable all-targets.Vadzim Dambrouski2019-12-152-1/+13
| | | | | | | | | | | | Can be useful in embedded.
| * | Default to client watching on VS CodeAleksey Kladov2019-12-171-2/+2
| |/
| * `npm run fix`Omer Ben-Amram2019-12-151-8/+6
| |
| * fixed commentOmer Ben-Amram2019-12-151-2/+1
| |
| * Lowercase drive letters on windows before sending to extension.Omer Ben-Amram2019-12-151-2/+1
| |
| * make drive comparison case-insensitive.Omer Ben-Amram2019-12-151-1/+10
| |
| * Merge branch 'refs/heads/master' into feature/granular-scopesOmer Ben-Amram2019-12-142-13/+65
| |\
| | * Enable `allFeatures` by default and fix lintsoxalica2019-12-131-9/+16
| | |
| | * Support setting cargo featuresoxalica2019-12-132-13/+58
| | |
| * | removed `type.alias`Omer Ben-Amram2019-12-141-0/+1
| | |
| * | added decorationsOmer Ben-Amram2019-12-141-0/+6
| |/
| * Enable noImplicitReturns option for vscode extensionTetsuharu OHZEKI2019-12-114-11/+18
| |
| * Enable noUnusedParameters option for vscode extensionTetsuharu OHZEKI2019-12-113-3/+3
| |
| * Code: enable prettier trailing commasLaurențiu Nicola2019-12-0930-231/+231
| |
| * Allow disabling sysrootAleksey Kladov2019-12-092-1/+7
| | | | | | | | Might be helpful for debugging
| * Merge #2508bors[bot]2019-12-081-5/+9
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2508: Code: don't check for ra_lsp_server on Windows r=matklad a=lnicola Workaround for https://github.com/rust-analyzer/rust-analyzer/pull/2503#issuecomment-562980020. ~~(not yet tested on Windows)~~ We can't run `ra_lsp_server --version` right now because the server doesn't seem to handle arguments (so it hangs). Co-authored-by: Laurențiu Nicola <[email protected]>
| | * Code: don't check for ra_lsp_server on WindowsLaurențiu Nicola2019-12-081-5/+9
| | |
| * | Code: bump depsLaurențiu Nicola2019-12-082-6/+8
| |/
| * Code: check whether the LSP binary is in PATHLaurențiu Nicola2019-12-082-6/+17
| |
* | Merge branch 'master' of https://github.com/rust-analyzer/rust-analyzer into ↵Seivan Heidari2019-11-281-0/+0
|\| | | | | | | feature/themes
| * rename ra_ide_api -> ra_ideAleksey Kladov2019-11-271-0/+0
| |
* | Merge branch 'master' of https://github.com/rust-analyzer/rust-analyzer into ↵Seivan Heidari2019-11-212-13/+2
|\| | | | | | | feature/themes
| * Merge pull request #2297 from kiljacken/masterAleksey Kladov2019-11-202-13/+2
| |\ | | | | | | Add fancy truncation of type hints.
| | * Move type inlay hint truncation to language serverEmil Lauridsen2019-11-192-13/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit implements a general truncation framework for HirFormatter that keeps track of how much has been output so far. This information can then be used to perform truncation inside the language server, instead of relying on the client. Initial support is implemented for truncating types hints using the maxInlayHintLength server config option. The existing solution in the VSCode extension has been removed in favor of letting the server truncate type hints.
* | | Merge branch 'master' of https://github.com/rust-analyzer/rust-analyzer into ↵Seivan Heidari2019-11-203-0/+97
|\| | | | | | | | | | | feature/themes
| * | Minor fix for outpu text formatingEdwin Cheng2019-11-191-1/+1
| | |
| * | Use DocumentProvider instead of HoverEdwin Cheng2019-11-192-33/+70
| | |
| * | Change return type of expand_macroEdwin Cheng2019-11-191-5/+8
| | |
| * | Fix npm formattingEdwin Cheng2019-11-192-14/+14
| | |
| * | Add recursive expand in vscodeEdwin Cheng2019-11-193-5/+62
| |/
* | Readding jsonc parser because of ↵Seivan Heidari2019-11-181-2/+2
| | | | | | | | https://github.com/rust-analyzer/rust-analyzer/pull/2061\#discussion_r344783715
* | Merge branch 'master' of https://github.com/rust-analyzer/rust-analyzer into ↵Seivan Heidari2019-11-181-1/+8
|\| | | | | | | feature/themes
| * Fix formatoxalica2019-11-161-1/+3
| |
| * Check exit code of `cargo watch`oxalica2019-11-151-3/+3
| |
| * Handle errors when `cargo watch` failsoxalica2019-11-151-0/+5
| |
* | Probably a better approach to check for values before assigning lest we ↵Seivan Heidari2019-11-101-3/+27
| | | | | | | | replace something.
* | Vscode wasn't running the linter automatically so ran `npm run fix` - wonder ↵Seivan Heidari2019-11-095-105/+109
| | | | | | | | if it's related to `tslint` being deprecated.
* | See if this satisfies the CI.Seivan Heidari2019-11-051-5/+5
| |
* | Fix typo.Seivan Heidari2019-11-041-1/+1
| |
* | Remove new line.Seivan Heidari2019-11-041-1/+0
| |