You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user/manual.adoc
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -397,6 +397,23 @@ It is possible to change the foreground/background color of inlay hints. Just ad
397
397
}
398
398
----
399
399
400
+
==== Semantic style customizations
401
+
402
+
You can customize the look of different semantic elements in the source code. For example, mutable bindings are underlined by default and you can override this behavior by adding the following section to your `settings.json`:
403
+
404
+
[source,jsonc]
405
+
----
406
+
{
407
+
"editor.semanticTokenColorCustomizations": {
408
+
"rules": {
409
+
"*.mutable": {
410
+
"fontStyle": "", // underline is the default
411
+
},
412
+
}
413
+
},
414
+
}
415
+
----
416
+
400
417
==== Special `when` clause context for keybindings.
401
418
You may use `inRustProject` context to configure keybindings for rust projects only. For example:
0 commit comments