mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-11 00:32:38 +02:00
refactor(source-code-editor): update editor settings by adjusting line number display, disabling folding, and modifying whitespace rendering options
This commit is contained in:
parent
b85b7cbae0
commit
8c06709295
1 changed files with 9 additions and 4 deletions
|
|
@ -114,10 +114,10 @@ export function SourceCodeEditor({
|
||||||
automaticLayout: true,
|
automaticLayout: true,
|
||||||
minimap: { enabled: false },
|
minimap: { enabled: false },
|
||||||
lineNumbers: "on",
|
lineNumbers: "on",
|
||||||
lineNumbersMinChars: 3,
|
lineNumbersMinChars: 4,
|
||||||
lineDecorationsWidth: 12,
|
lineDecorationsWidth: 20,
|
||||||
glyphMargin: false,
|
glyphMargin: false,
|
||||||
folding: true,
|
folding: false,
|
||||||
overviewRulerLanes: 0,
|
overviewRulerLanes: 0,
|
||||||
hideCursorInOverviewRuler: true,
|
hideCursorInOverviewRuler: true,
|
||||||
scrollBeyondLastLine: false,
|
scrollBeyondLastLine: false,
|
||||||
|
|
@ -142,7 +142,12 @@ export function SourceCodeEditor({
|
||||||
fontSize,
|
fontSize,
|
||||||
fontFamily:
|
fontFamily:
|
||||||
"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace",
|
"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace",
|
||||||
renderWhitespace: "selection",
|
renderWhitespace: "none",
|
||||||
|
renderValidationDecorations: "off",
|
||||||
|
colorDecorators: false,
|
||||||
|
codeLens: false,
|
||||||
|
hover: { enabled: false },
|
||||||
|
stickyScroll: { enabled: false },
|
||||||
unicodeHighlight: {
|
unicodeHighlight: {
|
||||||
ambiguousCharacters: false,
|
ambiguousCharacters: false,
|
||||||
invisibleCharacters: false,
|
invisibleCharacters: false,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue