|
305 | 305 | "command": "rust-analyzer.toggleLSPLogs",
|
306 | 306 | "title": "Toggle LSP Logs",
|
307 | 307 | "category": "rust-analyzer"
|
| 308 | + }, |
| 309 | + { |
| 310 | + "command": "rust-analyzer.openWalkthrough", |
| 311 | + "title": "Open Walkthrough", |
| 312 | + "category": "rust-analyzer" |
| 313 | + }, |
| 314 | + { |
| 315 | + "command": "rust-analyzer.openFAQ", |
| 316 | + "title": "Open FAQ", |
| 317 | + "category": "rust-analyzer" |
308 | 318 | }
|
309 | 319 | ],
|
310 | 320 | "keybindings": [
|
|
3142 | 3152 | {
|
3143 | 3153 | "command": "rust-analyzer.toggleLSPLogs",
|
3144 | 3154 | "when": "inRustProject"
|
| 3155 | + }, |
| 3156 | + { |
| 3157 | + "command": "rust-analyzer.openWalkthrough", |
| 3158 | + "when": "inRustProject" |
| 3159 | + }, |
| 3160 | + { |
| 3161 | + "command": "rust-analyzer.openFAQ", |
| 3162 | + "when": "inRustProject" |
3145 | 3163 | }
|
3146 | 3164 | ],
|
3147 | 3165 | "editor/context": [
|
|
3171 | 3189 | "fileMatch": "rust-project.json",
|
3172 | 3190 | "url": "https://json.schemastore.org/rust-project.json"
|
3173 | 3191 | }
|
| 3192 | + ], |
| 3193 | + "walkthroughs": [ |
| 3194 | + { |
| 3195 | + "id": "landing", |
| 3196 | + "title": "Learn about rust-analyzer", |
| 3197 | + "description": "A brief introduction to get started with rust-analyzer. Learn about key features and resources to help you get the most out of the extension.", |
| 3198 | + "steps": [ |
| 3199 | + { |
| 3200 | + "id": "docs", |
| 3201 | + "title": "Visit the docs!", |
| 3202 | + "description": "Confused about configurations? Want to learn more about rust-analyzer? Visit the [User Manual](https://rust-analyzer.github.io/manual.html)!", |
| 3203 | + "media": { |
| 3204 | + "image": "./icon.png", |
| 3205 | + "altText": "rust-analyzer logo" |
| 3206 | + }, |
| 3207 | + "completionEvents": [ |
| 3208 | + "onLink:https://rust-analyzer.github.io/manual.html" |
| 3209 | + ] |
| 3210 | + }, |
| 3211 | + { |
| 3212 | + "id": "faq", |
| 3213 | + "title": "FAQ", |
| 3214 | + "description": "Have questions about rust-analyzer? Check out the [FAQ Walkthrough](command:rust-analyzer.openFAQ)!", |
| 3215 | + "media": { |
| 3216 | + "image": "icon.png", |
| 3217 | + "altText": "rust-analyzer logo" |
| 3218 | + } |
| 3219 | + }, |
| 3220 | + { |
| 3221 | + "id": "changelog", |
| 3222 | + "title": "Changelog", |
| 3223 | + "description": "Stay up-to-date with the latest changes in rust-analyzer. Check out the changelog [here](https://rust-analyzer.github.io/thisweek)!", |
| 3224 | + "media": { |
| 3225 | + "image": "icon.png", |
| 3226 | + "altText": "rust-analyzer logo" |
| 3227 | + }, |
| 3228 | + "completionEvents": [ |
| 3229 | + "onLink:https://rust-analyzer.github.io/thisweek" |
| 3230 | + ] |
| 3231 | + }, |
| 3232 | + { |
| 3233 | + "id": "revisit", |
| 3234 | + "title": "Want to revisit a walkthrough?", |
| 3235 | + "description": "Use the ``Welcome: Open Walkthrough`` command to revisit any walkthrough!", |
| 3236 | + "media": { |
| 3237 | + "image": "icon.png", |
| 3238 | + "altText": "rust-analyzer logo" |
| 3239 | + } |
| 3240 | + } |
| 3241 | + ] |
| 3242 | + }, |
| 3243 | + { |
| 3244 | + "id": "faq", |
| 3245 | + "title": "FAQ", |
| 3246 | + "description": "Here are some frequently asked questions about rust-analyzer.", |
| 3247 | + "steps": [ |
| 3248 | + { |
| 3249 | + "id": "faq1", |
| 3250 | + "title": "What is rust-analyzer?", |
| 3251 | + "description": "rust-analyzer is a language server for Rust. It provides features like code completion, find references, and more.", |
| 3252 | + "media": { |
| 3253 | + "image": "icon.png", |
| 3254 | + "altText": "rust-analyzer logo" |
| 3255 | + } |
| 3256 | + }, |
| 3257 | + { |
| 3258 | + "id": "faq2", |
| 3259 | + "title": "Why are all of these type hints showing up in my code?", |
| 3260 | + "description": "By default, rust-analyzer displays __inlay hints__ to help you understand your code better. You can disable them in your settings.json file with ``\"editor.inlayHints.enabled\": \"off\"``", |
| 3261 | + "media": { |
| 3262 | + "image": "icon.png", |
| 3263 | + "altText": "rust-analyzer logo" |
| 3264 | + } |
| 3265 | + }, |
| 3266 | + { |
| 3267 | + "id": "faq3", |
| 3268 | + "title": "Where can I find more information about rust-analyzer?", |
| 3269 | + "description": "You can find more information about rust-analyzer in the [User Manual](https://rust-analyzer.github.io/manual.html).", |
| 3270 | + "media": { |
| 3271 | + "image": "icon.png", |
| 3272 | + "altText": "rust-analyzer logo" |
| 3273 | + }, |
| 3274 | + "completionEvents": [ |
| 3275 | + "onLink:https://rust-analyzer.github.io/manual.html" |
| 3276 | + ] |
| 3277 | + } |
| 3278 | + ] |
| 3279 | + } |
3174 | 3280 | ]
|
3175 | 3281 | }
|
3176 | 3282 | }
|
0 commit comments