Peter Tripp
1b7bb9a7bd
VSCode search: 'category:formatters rust' metadata.
2023-11-02 15:54:32 -04:00
Lukas Wirth
4296fe52ba
Add command for only opening external docs and attempt to fix vscode-remote issue
2023-10-18 14:06:07 +02:00
Victor Song
a39d2076db
Addressed PR style comments
2023-10-09 02:15:05 -05:00
Victor Song
ef0b3bbef1
Clarify documentation on new parameter
2023-10-09 02:15:05 -05:00
Victor Song
aeef7b644b
Add config option to use rust-analyzer
specific target dir
...
Adds a Rust Analyzer configuration option to set a custom
target directory for builds. This is a workaround for Rust Analyzer
blocking debug builds while running `cargo check`. This change
should close #6007
2023-10-09 02:15:05 -05:00
bors
b57658d9a9
Auto merge of #15707 - dfireBird:default-statusbar-action-config, r=lnicola
...
Add configuration for the default action of the status bar click action in VSCode
Fixes #15441
Please suggest any changes if necessary.
2023-10-04 17:31:44 +00:00
dfireBird
ab091b73d0
Add config for the default click action of extension status bar
2023-10-04 21:07:50 +05:30
Martin Nordholts
dd8ea977b7
vscode: Fix line and col regexp for problem matcher
...
When building the Rust compiler with `./x check` from within VS Code,
the current `rustc` problem matcher thinks that the output from that
command that looks like this:
Build completed successfully in 0:00:26
is about a problem in a file named `0` on line 00, col 26. This wouldn't
be so bad if it wasn't for that VS Code tends to get stuck on this
problem because of problems with opening the file '0'.
The rust compiler will never output problems with a line or a column
that starts with 0, so change the regexp to require lines and cols to
begin with [1-9] to fix this problem.
2023-09-29 17:46:58 +02:00
Alex Veber
5b04a7d338
Update editors/code/package.json
...
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
2023-09-27 18:33:22 +03:00
Alex Veber
6c907e1e20
Improve useRustcErrorCode description
2023-09-27 02:19:50 +03:00
bors
e5e937ae5e
Auto merge of #15582 - vxpm:master, r=HKalbasi
...
add option to show full function signatures in completion docs
implements #15538
with `"rust-analyzer.completion.fullFunctionSignatures.enable": false`:
![image](https://github.com/rust-lang/rust-analyzer/assets/59714841/ff739ad1-9975-461f-a62d-22c7823e7b71 )
with `"rust-analyzer.completion.fullFunctionSignatures.enable": true`:
![image](https://github.com/rust-lang/rust-analyzer/assets/59714841/9bc98300-cef6-44ef-a353-dcf35cd36fce )
2023-09-24 07:38:38 +00:00
bors
2b580a1f3c
Auto merge of #15492 - RalfJung:invocation, r=Veykril
...
extend check.overrideCommand and buildScripts.overrideCommand docs
Extend check.overrideCommand and buildScripts.overrideCommand docs regarding invocation strategy and location.
However something still seems a bit odd -- the docs for `invocationStrategy`/`invocationLocation` talk about "workspaces", but the setting that controls which workspaces are considered is called `linkedProjects`. Is a project the same as a workspace here or is there some subtle difference?
2023-09-22 16:09:01 +00:00
Lukas Wirth
ba7f2bfb85
Update config docs
2023-09-22 17:46:17 +02:00
vxpm
6b487ed4be
fix & run tests
2023-09-08 22:03:42 -03:00
David Barsky
b1b044f2d5
code: yeet rust-analyzer.discoverProjectCommand
2023-09-05 12:38:33 -04:00
Ralf Jung
887cc48ba8
fix help text for rust-analyzer.check.invocation{Strategy,Location}
2023-08-21 09:54:24 +02:00
Lukas Wirth
e76d20e072
Add status bar button to toggle check on save state
2023-08-15 11:39:53 +02:00
bors
e13fac379e
Auto merge of #15262 - adamse:master, r=HKalbasi
...
add check.ignore to list cargo check diagnostics to ignore (dead_code, unused_imports, ...)
fixes #14798
2023-08-08 18:49:45 +00:00
Adam Sandberg Ericsson
9cb1f45e6f
add check.ignore to list cargo check diagnostics to ignore (dead_code, unused_imports, ...)
...
fixes #14798
2023-08-08 14:28:35 +02:00
bors
bc1b0bfa7f
Auto merge of #15308 - vsrs:runnable_env_per_platform, r=HKalbasi
...
Runnable env per platform
This PR adds an option to specify runnables `env` per platform (win32, linux, etc.):
```
{
"rust-analyzer.runnables.extraEnv": [
{
"platform": "win32",
"env": {
"SCITER_BIN_FOLDER": "C:\\Projects\\3rd\\sciter-js-sdk\\bin\\windows\\x64",
}
},
{
"platform":["linux","darwin"],
"env": {
"SCITER_BIN_FOLDER": "/home/vit/Projects/sciter/sciter-js-sdk/bin/linux/x64",
}
}
]
}
```
2023-07-28 07:03:09 +00:00
David Barsky
ba722165a0
vscode: change minimum VS Code version to 1.75 from 1.78
2023-07-24 11:24:24 -04:00
bors
99718d0c8b
Auto merge of #15303 - oxalica:fix/byte-escape-highlight, r=lowr
...
Fix highlighting of byte escape sequences
Currently non-UTF8 escape sequences in byte strings and any escape sequences in byte literals are ignored.
2023-07-22 20:25:40 +00:00
Tetsuharu Ohzeki
5cca093fa8
editor/code: Break down CI steps to know what is failing easily
...
To do this change, we reorganize npm-script.
| previous | after |
|--------------------|----------------------------------------|
| `npm run lint` | `npm run lint && npm run format:check` |
| `npm run fix` | `npm run lint:fix && npm run format` |
The previous `npm run fix` sometimes does not complete fix automatically
because ESLint's autofix doees not follow prettier's formatting.
So we need to run `npm run lint:fix && npm run format` by this order.
2023-07-23 01:51:57 +09:00
oxalica
1f35e4d3f1
Introduce invalidEscapeSequence
semantic token type
2023-07-19 15:12:53 +08:00
vsrs
3468b093bd
Platform specific runnables env
2023-07-18 17:51:57 +07:00
Tetsuharu Ohzeki
085b755123
editor/code: Update esbuild
...
https://github.com/evanw/esbuild/blob/main/CHANGELOG.md
2023-07-13 22:46:15 +09:00
Tetsuharu Ohzeki
d534180b30
editor/code: Update ESLint
...
https://eslint.org/blog/category/release-notes/
2023-07-13 22:45:11 +09:00
Tetsuharu Ohzeki
837ded9c9a
editor/code: Update ovsx
...
https://github.com/eclipse/openvsx/blob/master/cli/CHANGELOG.md
2023-07-13 22:45:10 +09:00
Tetsuharu Ohzeki
9d06aa55b4
editor/code: Update prettier to v3
...
https://prettier.io/blog/2023/07/05/3.0.0.html
2023-07-13 22:44:29 +09:00
Tetsuharu Ohzeki
eed1888b81
editor/code: Update typescript-eslint to v6
...
https://typescript-eslint.io/blog/announcing-typescript-eslint-v6/
2023-07-13 22:44:29 +09:00
Tetsuharu Ohzeki
143646d17e
editor/code: Update typescript
2023-07-13 22:44:29 +09:00
Adenine
cfa15d49aa
implement first pass of memory layout viewer
2023-07-07 23:09:41 -04:00
Alex Kladov
832a64e290
feat: don't add panics to error jump list by default
...
To re-enable this, use
"rust-analyzer.runnables.problemMatcher": [
"$rustc",
"$rust-panic"
],
setting.
closes : #14977
2023-06-30 22:23:13 +01:00
Laurențiu Nicola
477a75d671
Drop cross-env npm dep
2023-06-30 09:20:02 +03:00
Tetsuharu Ohzeki
0500b1d5f8
editor/code: Switch to @vscode/vsce
...
`vsce` was renamed to `@vscode/vsce`.
We should switch to it now.
- https://code.visualstudio.com/updates/v1_74#_extension-authoring
- https://www.npmjs.com/package/@vscode/vsce
2023-06-30 09:55:43 +09:00
bors
d7f4c21950
Auto merge of #15138 - mohsen-alizadeh:13583-rename-runnableEnv-to-runnables-extraEnv, r=Veykril
...
13583 rename runnable env to runnables extra env
closes #13583
2023-06-29 07:18:57 +00:00
bors
77ccd64326
Auto merge of #15136 - mohsen-alizadeh:13908-delete-matching-brace-key-binding, r=Veykril
...
delete matching brace key binding
closes #13908
2023-06-28 10:28:01 +00:00
bors
89d7056151
Auto merge of #15154 - tetsuharuohzeki:tsconfig-strictest, r=lnicola
...
editor/code: Use `@tsconfig/strictest` to define type checking rules
Motivation
-----------
This change aims to make it easier to manage tsconfig by [``@tsconfig/strictest`](https://www.npmjs.com/package/@tsconfig/strictest )` and intend to leave to create "ideal" rules about TypeScript's type checking.
Implementation
---------------
This change removes some duplicated rules defined in ``@tsconfig/strictest`` and add disabing some strict rules that fails with the current codebase.
2023-06-28 08:09:55 +00:00
Tetsuharu Ohzeki
0ddf8b63e9
editor/code: Use @tsconfig/strictest
to define type checking rules
...
Motivation
-----------
This change aims to make it easier to manage tsconfig.
This intend to leave to create "ideal" rules about TypeScript's type checking.
Implementation
---------------
This change removes some duplicated rules defined in `@tsconfig/strictest` and add disabing some strict rules
that fails with the current codebase.
2023-06-28 03:05:04 +09:00
Tetsuharu Ohzeki
682f90cc16
Clean up activationEvents
in vscode extension's package.json
...
By documents, VSCode v1.74 or later activates extension automatically
according to other configurations.
See:
- https://code.visualstudio.com/api/references/activation-events#onLanguage
- https://code.visualstudio.com/docs/languages/identifiers
- https://code.visualstudio.com/api/references/activation-events#onCommand
- https://code.visualstudio.com/api/references/contribution-points#contributes.commands
2023-06-28 02:38:06 +09:00
Tetsuharu Ohzeki
1b228f9a6f
Update @types/vscode
to v1.78
...
- https://code.visualstudio.com/updates/v1_67
- https://code.visualstudio.com/updates/v1_68
- https://code.visualstudio.com/updates/v1_69
- https://code.visualstudio.com/updates/v1_70
- https://code.visualstudio.com/updates/v1_71
- https://code.visualstudio.com/updates/v1_72
- https://code.visualstudio.com/updates/v1_73
- https://code.visualstudio.com/updates/v1_74
- https://code.visualstudio.com/updates/v1_75
- https://code.visualstudio.com/updates/v1_76
- https://code.visualstudio.com/updates/v1_77
- https://code.visualstudio.com/updates/v1_78
2023-06-27 23:40:50 +09:00
Tetsuharu Ohzeki
9930889918
Update esbuild
...
- https://github.com/evanw/esbuild/blob/main/CHANGELOG-2022.md
- https://github.com/evanw/esbuild/blob/main/CHANGELOG.md
2023-06-27 23:04:23 +09:00
Tetsuharu Ohzeki
9870aa027e
Update ovsx
...
aa90b01b13/cli/CHANGELOG.md
2023-06-27 23:03:06 +09:00
Tetsuharu Ohzeki
6454b5a559
Update d3
...
https://github.com/d3/d3
2023-06-27 23:00:16 +09:00
Tetsuharu Ohzeki
658831c80d
Update @hpcc-js/wasm
...
https://github.com/hpcc-systems/hpcc-js-wasm
2023-06-27 22:57:17 +09:00
Tetsuharu Ohzeki
95e4c66692
Update vscode-languageclient
...
https://github.com/Microsoft/vscode-languageserver-node
2023-06-27 22:55:39 +09:00
Tetsuharu Ohzeki
1bfdcb227f
Update ESLint
...
https://eslint.org/blog/category/release-notes/
2023-06-27 22:54:40 +09:00
Tetsuharu Ohzeki
2f7a16c9d9
Update @vscode/test-electron
...
https://github.com/microsoft/vscode-test/blob/main/CHANGELOG.md
2023-06-27 22:53:48 +09:00
Tetsuharu Ohzeki
8769df938a
Update prettier
...
https://github.com/prettier/prettier/blob/main/CHANGELOG.md
2023-06-27 22:51:16 +09:00
Tetsuharu Ohzeki
9a0a0a0963
Update tslib
...
https://github.com/microsoft/tslib/releases
2023-06-27 22:49:41 +09:00