-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathcoc-rust-analyzer-configurations.json
110 lines (110 loc) · 3.91 KB
/
coc-rust-analyzer-configurations.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"rust-analyzer.enable": {
"type": "boolean",
"markdownDescription": "Enable `coc-rust-analyzer`",
"default": true
},
"rust-analyzer.disableProgressNotifications": {
"type": "boolean",
"default": false,
"markdownDescription": "Disable initialization and workdone progress notifications"
},
"rust-analyzer.terminal.startinsert": {
"type": "boolean",
"default": false,
"markdownDescription": "Enter insert mode after terminal displayed"
},
"rust-analyzer.debug.runtime": {
"type": "string",
"default": "termdebug",
"enum": [
"termdebug",
"vimspector",
"nvim-dap"
],
"markdownDescription": "Choose which debug runtime to use",
"enumDescriptions": [
"`\"termdebug\"` use vim/neovim builtin debugger - gdb",
"`\"vimspector\"` use vimspector plugin",
"`\"nvim-dap\"` use nvim-dap plugin"
]
},
"rust-analyzer.debug.vimspector.configuration.name": {
"type": "string",
"default": "launch",
"markdownDescription": "Specify the name of the vimspector configuration name. The following args will be passed to the configuration: `Executable` and `Args` (both strings)"
},
"rust-analyzer.debug.nvimdap.configuration.template":{
"type": "string",
"default": "",
"markdownDescription": "Configuration template used to invoked dap.run([conf](https://github.com/mfussenegger/nvim-dap/blob/0e6b7c47dd70e80793ed39271b2aa712d9366dbc/doc/dap.txt#L656C2-L656C2)). The template will be instantiate like thie: `$exe` will be replaced with executable path, `$args` will be replaced with arguments."
},
"rust-analyzer.server.path": {
"type": [
"null",
"string"
],
"default": null,
"markdownDescription": "Path to rust-analyzer executable (points to bundled binary by default). If this is set, then \"rust-analyzer.updates.channel\" setting is not used"
},
"rust-analyzer.server.extraEnv": {
"type": [
"null",
"object"
],
"default": null,
"markdownDescription": "Extra environment variables that will be passed to the rust-analyzer executable. Useful for passing e.g. `RA_LOG` for debugging."
},
"rust-analyzer.restartServerOnConfigChange": {
"markdownDescription": "Whether to restart the server automatically when certain settings that require a restart are changed.",
"default": false,
"type": "boolean"
},
"rust-analyzer.trace.server": {
"type": "string",
"scope": "window",
"enum": [
"off",
"messages",
"verbose"
],
"enumDescriptions": [
"No traces",
"Error only",
"Full log"
],
"default": "off",
"markdownDescription": "Trace requests to the rust-analyzer"
},
"rust-analyzer.updates.prompt": {
"type": [
"boolean",
"string"
],
"enum": [
true,
false,
"neverDownload"
],
"default": true,
"markdownDescription": "Prompt the user before downloading rust-analyzer"
},
"rust-analyzer.updates.checkOnStartup": {
"type": "boolean",
"default": true,
"markdownDescription": "Auto-check rust-analyzer updates on startup"
},
"rust-analyzer.updates.channel": {
"type": "string",
"default": "stable",
"enum": [
"stable",
"nightly"
],
"markdownDescription": "Choose `\"nightly\"` updates to get the latest features and bug fixes every day. While `\"stable\"` releases occur weekly and don't contain cutting-edge features from VSCode proposed APIs",
"enumDescriptions": [
"`\"stable\"` updates are shipped weekly, they don't contain cutting-edge features from VSCode proposed APIs but have less bugs in general",
"`\"nightly\"` updates are shipped daily (extension updates automatically by downloading artifacts directly from GitHub), they contain cutting-edge features and latest bug fixes. These releases help us get your feedback very quickly and speed up rust-analyzer development **drastically**"
]
}
}