mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-03 04:42:39 +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,
|
||||
minimap: { enabled: false },
|
||||
lineNumbers: "on",
|
||||
lineNumbersMinChars: 3,
|
||||
lineDecorationsWidth: 12,
|
||||
lineNumbersMinChars: 4,
|
||||
lineDecorationsWidth: 20,
|
||||
glyphMargin: false,
|
||||
folding: true,
|
||||
folding: false,
|
||||
overviewRulerLanes: 0,
|
||||
hideCursorInOverviewRuler: true,
|
||||
scrollBeyondLastLine: false,
|
||||
|
|
@ -142,7 +142,12 @@ export function SourceCodeEditor({
|
|||
fontSize,
|
||||
fontFamily:
|
||||
"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: {
|
||||
ambiguousCharacters: false,
|
||||
invisibleCharacters: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue