Difference between revisions of "Vscode"
From Wasya Wiki
(Created page with " == config == "editor.hover.enabled": false, "editor.parameterHints": false,") |
(→collapse all) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | = | + | = Configure = |
"editor.hover.enabled": false, | "editor.hover.enabled": false, | ||
"editor.parameterHints": false, | "editor.parameterHints": false, | ||
+ | |||
+ | == format an erb file == | ||
+ | == format any file == | ||
+ | |||
+ | erb is just html | ||
+ | |||
+ | option+shift+F | ||
+ | |||
+ | == Disable red squiggly underline == | ||
+ | |||
+ | From: https://stackoverflow.com/questions/43454967/disable-wavy-underline-in-vs-code | ||
+ | To disable wavy/squiggly underline in vscode, go to preferences and set underline color to fully transparent: | ||
+ | |||
+ | { | ||
+ | "workbench.colorCustomizations": { | ||
+ | "editorError.foreground": "#00000000", | ||
+ | "editorWarning.foreground": "#00000000", | ||
+ | "editorInfo.foreground": "#00000000" | ||
+ | } | ||
+ | } | ||
+ | |||
+ | Though it may be better to make underline color just less vibrant: | ||
+ | |||
+ | { | ||
+ | "workbench.colorCustomizations": { | ||
+ | "editorError.foreground": "#ff000088", | ||
+ | "editorWarning.foreground": "#ffe60033", | ||
+ | "editorInfo.foreground": "#00ff0088" | ||
+ | } | ||
+ | } | ||
+ | |||
+ | |||
+ | == collapse all == | ||
+ | |||
+ | Fold All: | ||
+ | |||
+ | Mac: ⌘ + K ⌘ + 0 # that's a zero | ||
+ | |||
+ | Unfold All: | ||
+ | |||
+ | Mac: ⌘ + K ⌘ + J |
Latest revision as of 20:57, 16 January 2023
Contents
Configure
"editor.hover.enabled": false, "editor.parameterHints": false,
format an erb file
format any file
erb is just html
option+shift+F
Disable red squiggly underline
From: https://stackoverflow.com/questions/43454967/disable-wavy-underline-in-vs-code To disable wavy/squiggly underline in vscode, go to preferences and set underline color to fully transparent:
{ "workbench.colorCustomizations": { "editorError.foreground": "#00000000", "editorWarning.foreground": "#00000000", "editorInfo.foreground": "#00000000" } }
Though it may be better to make underline color just less vibrant:
{ "workbench.colorCustomizations": { "editorError.foreground": "#ff000088", "editorWarning.foreground": "#ffe60033", "editorInfo.foreground": "#00ff0088" } }
collapse all
Fold All:
Mac: ⌘ + K ⌘ + 0 # that's a zero
Unfold All:
Mac: ⌘ + K ⌘ + J