Skip to content

EditorOption

原文链接

https://microsoft.github.io/monaco-editor/docs.html#enums/editor.EditorOption.html

快捷链接

PacceptSuggestionOnCommitCharacter
PacceptSuggestionOnEnter
PaccessibilityPageSize
PaccessibilitySupport
PariaLabel
PariaRequired
PautoClosingBrackets
PautoClosingComments
PautoClosingDelete
PautoClosingOvertype
PautoClosingQuotes
PautoIndent
PautoSurround
PautomaticLayout
PbracketPairColorization
PcodeLens
PcodeLensFontFamily
PcodeLensFontSize
PcolorDecorators
PcolorDecoratorsActivatedOn
PcolorDecoratorsLimit
PcolumnSelection
Pcomments
Pcontextmenu
PcopyWithSyntaxHighlighting
PcursorBlinking
PcursorSmoothCaretAnimation
PcursorStyle
PcursorSurroundingLines
PcursorSurroundingLinesStyle
PcursorWidth
PdefaultColorDecorators
PdefinitionLinkOpensInPeek
PdisableLayerHinting
PdisableMonospaceOptimizations
PdomReadOnly
PdragAndDrop
PdropIntoEditor
PeditorClassName
PemptySelectionClipboard
PexperimentalWhitespaceRendering
PextraEditorClassName
PfastScrollSensitivity
Pfind
PfixedOverflowWidgets
Pfolding
PfoldingHighlight
PfoldingImportsByDefault
PfoldingMaximumRegions
PfoldingStrategy
PfontFamily
PfontInfo
PfontLigatures
PfontSize
PfontVariations
PfontWeight
PformatOnPaste
PformatOnType
PglyphMargin
PgotoLocation
Pguides
PhideCursorInOverviewRuler
Phover
PinDiffEditor
PinlayHints
PinlineCompletionsAccessibilityVerbose
PinlineEdit
PinlineSuggest
PlayoutInfo
PletterSpacing
Plightbulb
PlineDecorationsWidth
PlineHeight
PlineNumbers
PlineNumbersMinChars
PlinkedEditing
Plinks
PmatchBrackets
Pminimap
PmouseStyle
PmouseWheelScrollSensitivity
PmouseWheelZoom
PmultiCursorLimit
PmultiCursorMergeOverlapping
PmultiCursorModifier
PmultiCursorPaste
PoccurrencesHighlight
PoverviewRulerBorder
PoverviewRulerLanes
Ppadding
PparameterHints
PpasteAs
PpeekWidgetDefaultFocus
PpixelRatio
PquickSuggestions
PquickSuggestionsDelay
PreadOnly
PreadOnlyMessage
PrenameOnType
PrenderControlCharacters
PrenderFinalNewline
PrenderLineHighlight
PrenderLineHighlightOnlyWhenFocus
PrenderValidationDecorations
PrenderWhitespace
PrevealHorizontalRightPadding
ProundedSelection
Prulers
PscreenReaderAnnounceInlineSuggestion
PscrollBeyondLastColumn
PscrollBeyondLastLine
PscrollPredominantAxis
Pscrollbar
PselectOnLineNumbers
PselectionClipboard
PselectionHighlight
PshowDeprecated
PshowFoldingControls
PshowUnused
PsmartSelect
PsmoothScrolling
PsnippetSuggestions
PstickyScroll
PstickyTabStops
PstopRenderingLineAfter
Psuggest
PsuggestFontSize
PsuggestLineHeight
PsuggestOnTriggerCharacters
PsuggestSelection
PtabCompletion
PtabFocusMode
PtabIndex
PunfoldOnClickAfterEndOfLine
PunicodeHighlighting
PunusualLineTerminators
PuseShadowDOM
PuseTabStops
PwordBreak
PwordSegmenterLocales
PwordSeparators
PwordWrap
PwordWrapBreakAfterCharacters
PwordWrapBreakBeforeCharacters
PwordWrapColumn
PwordWrapOverride1
PwordWrapOverride2
PwrappingIndent
PwrappingInfo
PwrappingStrategy

acceptSuggestionOnCommitCharacter

  • 值:0

acceptSuggestionOnEnter

  • 值:1

accessibilityPageSize

  • 值:3

accessibilitySupport

  • 值:2

ariaLabel

  • 值:4

ariaRequired

  • 值:5

autoClosingBrackets

  • 值:6

autoClosingComments

  • 值:7

autoClosingDelete

  • 值:9

autoClosingOvertype

  • 值:10

autoClosingQuotes

  • 值:11

autoIndent

  • 值:12

autoSurround

  • 值:14

automaticLayout

  • 值:13

bracketPairColorization

  • 值:15

codeLens

  • 值:17

codeLensFontFamily

  • 值:18

codeLensFontSize

  • 值:19

colorDecorators

  • 值:20

colorDecoratorsActivatedOn

  • 值:148

colorDecoratorsLimit

  • 值:21

columnSelection

  • 值:22

comments

  • 值:23

contextmenu

  • 值:24

copyWithSyntaxHighlighting

  • 值:25

cursorBlinking

  • 值:26

cursorSmoothCaretAnimation

  • 值:27

cursorStyle

  • 值:28

cursorSurroundingLines

  • 值:29

cursorSurroundingLinesStyle

  • 值:30

cursorWidth

  • 值:31

defaultColorDecorators

  • 值:147

definitionLinkOpensInPeek

  • 值:88

disableLayerHinting

  • 值:32

disableMonospaceOptimizations

  • 值:33

domReadOnly

  • 值:34

dragAndDrop

  • 值:35

dropIntoEditor

  • 值:36

editorClassName

  • 值:142

emptySelectionClipboard

  • 值:37

experimentalWhitespaceRendering

  • 值:38

extraEditorClassName

  • 值:39

fastScrollSensitivity

  • 值:40

find

  • 值:41

fixedOverflowWidgets

  • 值:42

folding

  • 值:43

foldingHighlight

  • 值:45

foldingImportsByDefault

  • 值:46

foldingMaximumRegions

  • 值:47

foldingStrategy

  • 值:44

fontFamily

  • 值:49

fontInfo

  • 值:50

fontLigatures

  • 值:51

fontSize

  • 值:52

fontVariations

  • 值:54

fontWeight

  • 值:53

formatOnPaste

  • 值:55

formatOnType

  • 值:56

glyphMargin

  • 值:57

gotoLocation

  • 值:58

guides

  • 值:16

hideCursorInOverviewRuler

  • 值:59

hover

  • 值:60

inDiffEditor

  • 值:61

inlayHints

  • 值:141

inlineCompletionsAccessibilityVerbose

  • 值:149

inlineEdit

  • 值:63

inlineSuggest

  • 值:62

layoutInfo

  • 值:145

letterSpacing

  • 值:64

lightbulb

  • 值:65

lineDecorationsWidth

  • 值:66

lineHeight

  • 值:67

lineNumbers

  • 值:68

lineNumbersMinChars

  • 值:69

linkedEditing

  • 值:70
  • 值:71

matchBrackets

  • 值:72

minimap

  • 值:73

mouseStyle

  • 值:74

mouseWheelScrollSensitivity

  • 值:75

mouseWheelZoom

  • 值:76

multiCursorLimit

  • 值:80

multiCursorMergeOverlapping

  • 值:77

multiCursorModifier

  • 值:78

multiCursorPaste

  • 值:79

occurrencesHighlight

  • 值:81

overviewRulerBorder

  • 值:82

overviewRulerLanes

  • 值:83

padding

  • 值:84

parameterHints

  • 值:86

pasteAs

  • 值:85

peekWidgetDefaultFocus

  • 值:87

pixelRatio

  • 值:143

quickSuggestions

  • 值:89

quickSuggestionsDelay

  • 值:90

readOnly

  • 值:91

readOnlyMessage

  • 值:92

renameOnType

  • 值:93

renderControlCharacters

  • 值:94

renderFinalNewline

  • 值:95

renderLineHighlight

  • 值:96

renderLineHighlightOnlyWhenFocus

  • 值:97

renderValidationDecorations

  • 值:98

renderWhitespace

  • 值:99

revealHorizontalRightPadding

  • 值:100

roundedSelection

  • 值:101

rulers

  • 值:102

screenReaderAnnounceInlineSuggestion

  • 值:8

scrollBeyondLastColumn

  • 值:104

scrollBeyondLastLine

  • 值:105

scrollPredominantAxis

  • 值:106

scrollbar

  • 值:103

selectOnLineNumbers

  • 值:109

selectionClipboard

  • 值:107

selectionHighlight

  • 值:108

showDeprecated

  • 值:140

showFoldingControls

  • 值:110

showUnused

  • 值:111

smartSelect

  • 值:113

smoothScrolling

  • 值:114

snippetSuggestions

  • 值:112

stickyScroll

  • 值:115

stickyTabStops

  • 值:116

stopRenderingLineAfter

  • 值:117

suggest

  • 值:118

suggestFontSize

  • 值:119

suggestLineHeight

  • 值:120

suggestOnTriggerCharacters

  • 值:121

suggestSelection

  • 值:122

tabCompletion

  • 值:123

tabFocusMode

  • 值:144

tabIndex

  • 值:124

unfoldOnClickAfterEndOfLine

  • 值:48

unicodeHighlighting

  • 值:125

unusualLineTerminators

  • 值:126

useShadowDOM

  • 值:127

useTabStops

  • 值:128

wordBreak

  • 值:129

wordSegmenterLocales

  • 值:130

wordSeparators

  • 值:131

wordWrap

  • 值:132

wordWrapBreakAfterCharacters

  • 值:133

wordWrapBreakBeforeCharacters

  • 值:134

wordWrapColumn

  • 值:135

wordWrapOverride1

  • 值:136

wordWrapOverride2

  • 值:137

wrappingIndent

  • 值:138

wrappingInfo

  • 值:146

wrappingStrategy

  • 值:139