Jonas Schievink
deb5c1426d
internal: add "Shuffle Crate Graph" command
2021-12-07 16:37:19 +01:00
Laurențiu Nicola
725b3fdd65
Fix HttpsProxyAgent creation and avoid deprecated call
2021-12-05 14:11:49 +02:00
Laurențiu Nicola
29682445ac
Bump node-fetch
2021-12-04 14:26:37 +02:00
Laurențiu Nicola
157056db22
Fix proxyStrictSSL check
2021-12-02 15:46:23 +02:00
Laurențiu Nicola
7d815b862f
Refactor proxy settings
2021-11-28 10:54:35 +02:00
Laurențiu Nicola
2f5149886d
Respect http.proxyStrictSSL
2021-11-27 07:29:44 +02:00
Jake Heinz
d3d768de0d
inlay hints: add the option to always show constructor inlay hints
2021-11-13 23:12:29 +00:00
Lukas Wirth
4c582ffe9f
Don't ask the user to reload when chaning HoverAction configs in VSCode
2021-10-25 14:48:36 +02:00
rainy-me
59c755227d
Provide navigations to parent modules
2021-10-14 07:16:42 +09:00
rainy-me
39044fe39c
Allow locate parent module action in cargo toml
2021-10-03 11:58:10 +09:00
bors[bot]
c88277f676
Merge #10421
...
10421: minor: Bump npm non-dev deps r=lnicola a=lnicola
Fixes #10407
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2021-10-02 16:43:24 +00:00
Laurențiu Nicola
502fa1755a
Remove temporary file on exception
2021-10-02 10:07:50 +03:00
Laurențiu Nicola
2c7b50217e
Overwrite file when running patchelf
2021-10-02 10:05:39 +03:00
Laurențiu Nicola
aa88d7e0d6
Bump npm non-dev deps
2021-10-02 07:38:44 +03:00
hamidreza kalbasi
0dbaf64b12
add vscode native onEnterRules
2021-09-28 20:23:25 +03:30
Laurențiu Nicola
db5e01189a
Change the global setting when toggling inlay hints
2021-09-23 20:45:45 +03:00
Laurențiu Nicola
8522b4aece
Add workaround for rename error reporting
2021-09-13 14:52:03 +03:00
Oliver Cooper
d246a5f58b
Undefined scope comment
2021-09-09 08:50:24 +12:00
Oliver Cooper
001608914b
Removed deprecated Task constructor
2021-09-08 10:46:31 +12:00
Oliver Cooper
0517247bbc
Don't filter cargo tasks by scope
...
Fixes #9093
2021-08-31 20:35:22 +12:00
=
e3dd43ceba
remove workaround from old node versions
2021-08-27 11:31:25 +02:00
bors[bot]
19348bc478
Merge #9908
...
9908: fix check of the toolchain's path r=lnicola a=gfreezy
fixed #9907
Co-authored-by: Alex.F <gfreezy@gmail.com>
2021-08-21 13:41:09 +00:00
Alex.F
8e4039c7d7
inline await statement
2021-08-17 15:24:13 +08:00
Alex.F
635b89fdaa
clean imports
2021-08-16 10:35:27 +08:00
Alex.F
6b3a6ddb39
fix lint
2021-08-16 00:21:12 +08:00
Alex.F
d13f6ba750
use async version
2021-08-16 00:19:45 +08:00
Laurențiu Nicola
743b016313
Don't call deprecated compile regex method
2021-08-13 14:16:33 +03:00
André Oliveira
7666eb1fb8
Embed the scripts in the html template
2021-08-10 13:43:58 +00:00
André Oliveira
51a6d2204e
Remove unecessary joinPaths
2021-08-10 13:43:58 +00:00
André Oliveira
11bbaecca0
Formatting issues
2021-08-10 13:43:57 +00:00
André Oliveira
5e571a375b
replace let by const
2021-08-10 13:43:57 +00:00
André Oliveira
b29508949d
Remove debug logs
2021-08-10 13:43:57 +00:00
André Oliveira
6d59219d26
Reduce path handling code
2021-08-10 13:43:57 +00:00
André Oliveira
1039acb10a
Add more features to the rendering
...
- Allow the zoom to go further than 10x
- Adapt css to dark and high constrast themess
- Use 'javascript/worker' for the wasm graphviz
- Add Ctrl + LeftMouseClick to reset zoom
2021-08-10 13:43:55 +00:00
André Oliveira
8a563e4a46
Use local node_modules to allow the graph to load offline
...
- Fix some warnings
2021-08-10 13:43:08 +00:00
André Oliveira
f4f68e62c2
Use d3-graphviz for rendering crates graph on the extension side
2021-08-10 13:40:49 +00:00
Aleksey Kladov
bb8607434d
internal: remove client-side support for latest requests
...
Companion for #9826
2021-08-09 19:24:43 +03:00
Ryan Levick
ac50e35325
Give better error message when the rust-analyzer binar path was set in the user's config but the binary is invalid
2021-08-03 14:03:49 +02:00
Aleksey Kladov
be84f85c1d
feat: gate custom clint-side commands behind capabilities
...
Some features of rust-analyzer requires support for custom commands on
the client side. Specifically, hover & code lens need this.
Stock LSP doesn't have a way for the server to know which client-side
commands are available. For that reason, we historically were just
sending the commands, not worrying whether the client supports then or
not.
That's not really great though, so in this PR we add infrastructure for
the client to explicitly opt-into custom commands, via `extensions`
field of the ClientCapabilities.
To preserve backwards compatability, if the client doesn't set the
field, we assume that it does support all custom commands. In the
future, we'll start treating that case as if the client doesn't support
commands.
So, if you maintain a rust-analyzer client and implement
`rust-analyzer/runSingle` and such, please also advertise this via a
capability.
2021-07-30 19:16:33 +03:00
Alexander Gonzalez
cff2a0fe32
lint: Format the typescript files properly
2021-07-27 18:31:21 -04:00
Alexander Gonzalez
ca85185bc6
docs: Update the lsp-extensions.md with the Hover Range capability
2021-07-27 18:31:21 -04:00
Alexander Gonzalez
1a0a5da1a4
refactor: Make handle_hover handle ranges too
2021-07-27 18:29:22 -04:00
Alexander Gonzalez
2b5798e927
fix: Unregister the removed command
2021-07-27 18:29:22 -04:00
Alexander Gonzalez
9f21891950
refactor: Remove unnecessary command
2021-07-27 18:29:22 -04:00
Alexander Gonzalez
18644720eb
feat: Completed the client side implementation of rust-analyzer/hoverRange
2021-07-27 18:29:22 -04:00
Kevin DeLorey
5b9f173254
Removed all dead config accessors.
2021-07-23 07:50:37 -06:00
Kevin DeLorey
d8f0213316
removed dead code
2021-07-23 07:41:55 -06:00
Kevin DeLorey
b75e0e7bb1
Initial commit of highlight related configuration w/ implementation.
2021-07-22 19:35:47 -06:00
Laurențiu Nicola
cfaf186d02
Rename the old server before update
2021-07-13 09:10:25 +03:00
Jonas Schievink
5f13fb9db9
Add "View Crate Graph (Full)"
2021-07-02 00:10:33 +02:00