SDK构造函数参数

### Hierarchy

- PaaSOptions

## Index

### Properties

- aiCodeMenu
- contextMenu
- customFileTreeAction
- customImagePreview
- defaultLspLang
- defaultOpenFiles
- editorBlankContent
- editorPlugins
- enableSentry
- focusEditorPosition
- globalConfig
- hideEditorContextMenu
- hideEditorToolTip
- i18nLanguage
- isInsertCrdt
- isLegacyMarkdownMath
- isOpenDebugMode
- isSplitCode
- noFrameSpan
- openLspDiagnostic
- paasDomain
- persistenceWebData
- reconnectMaxTimes
- recordBrowser
- replayFileChangeLogs
- reportHighlightData
- showModifyIcon
- showRRwebController
- socket
- specialFileHighlight
- specialOpenFile
- speedOption
- tenantId
- themeType
- ticket
- triggerEventForMaxTimespan
- userInfo
- xtermStyle

### Methods

- customLog

## Properties

### Optional aiCodeMenu

aiCodeMenu?: ContextMenu

- Defined in types/DaoPaaS.d.ts:242

### Optional contextMenu

contextMenu?: ContextMenu

- Defined in types/DaoPaaS.d.ts:243

### Optional customFileTreeAction

customFileTreeAction?: boolean

- Defined in types/DaoPaaS.d.ts:232

是否自定义文件树操作

### Optional customImagePreview

customImagePreview?: boolean

- Defined in types/DaoPaaS.d.ts:234

是否自定义MD 图片预览事件

### Optional defaultLspLang

defaultLspLang?: string[]

- Defined in types/DaoPaaS.d.ts:210

### Optional defaultOpenFiles

defaultOpenFiles?: string[]

- Defined in types/DaoPaaS.d.ts:209

默认打开文件路径

### Optional editorBlankContent

editorBlankContent?: string

- Defined in types/DaoPaaS.d.ts:251

编辑器空白页面的配置

### Optional editorPlugins

editorPlugins?: any[]

- Defined in types/DaoPaaS.d.ts:245

CodeMirror Plugin

### Optional enableSentry

enableSentry?: boolean

- Defined in types/DaoPaaS.d.ts:207

是否开启sentry

### Optional focusEditorPosition

focusEditorPosition?: InsertCodeLineCode

- Defined in types/DaoPaaS.d.ts:239

### Optional globalConfig

globalConfig?: GlobalConfig

- Defined in types/DaoPaaS.d.ts:230

支持初始化配置全局设置

### Optional hideEditorContextMenu

hideEditorContextMenu?: boolean

- Defined in types/DaoPaaS.d.ts:236

### Optional hideEditorToolTip

hideEditorToolTip?: boolean

- Defined in types/DaoPaaS.d.ts:235

### Optional i18nLanguage

i18nLanguage?: I18nLanguageType

- Defined in types/DaoPaaS.d.ts:193

SDK国际化语言，默认ZH

### Optional isInsertCrdt

isInsertCrdt?: boolean

- Defined in types/DaoPaaS.d.ts:195

是否插入CRDT数据 - 1.是否开启回放功能

### Optional isLegacyMarkdownMath

isLegacyMarkdownMath?: boolean

- Defined in types/DaoPaaS.d.ts:197

是否兼容遗留的markdown数学公式解析 - false不兼容(标准语法) true(标准语法 + `$ $`)

### Optional isOpenDebugMode

isOpenDebugMode?: boolean

- Defined in types/DaoPaaS.d.ts:205

是否开启debug模式

### Optional isSplitCode

isSplitCode?: boolean

- Defined in types/DaoPaaS.d.ts:224

### Optional noFrameSpan

noFrameSpan?: number

- Defined in types/DaoPaaS.d.ts:218

回放指定为空白帧的时间间隔，单位 为 s(秒)， 1 为1s 1000

### Optional openLspDiagnostic

openLspDiagnostic?: boolean

- Defined in types/DaoPaaS.d.ts:214

是否打开LSP的诊断

### Optional paasDomain

paasDomain?: string

- Defined in types/DaoPaaS.d.ts:189

可选, 默认连接到 www.1024paas.com

### Optional persistenceWebData

persistenceWebData?: boolean

- Defined in types/DaoPaaS.d.ts:228

是否持久化保存RRWEB 数据

### Optional reconnectMaxTimes

reconnectMaxTimes?: number

- Defined in types/DaoPaaS.d.ts:201

websocket最大尝试重连次数：5

### Optional recordBrowser

recordBrowser?: boolean

- Defined in types/DaoPaaS.d.ts:226

是否记录Browser 回放数据

### Optional replayFileChangeLogs

replayFileChangeLogs?: IReplayFileChangeLogs

- Defined in types/DaoPaaS.d.ts:249

文件变更日志

### Optional reportHighlightData

reportHighlightData?: IReportHighlightData

- Defined in types/DaoPaaS.d.ts:247

文件高亮数据配置参数，用于评卷报告

### Optional showModifyIcon

showModifyIcon?: boolean

- Defined in types/DaoPaaS.d.ts:241

是否显示文件修改的Icon

### Optional showRRwebController

showRRwebController?: boolean

- Defined in types/DaoPaaS.d.ts:238

用于控制是否显示RRWEB的播放控制器，用于调试

### Optional socket

socket?: any

- Defined in types/DaoPaaS.d.ts:181

Unit Test Mock Socket

### Optional specialFileHighlight

specialFileHighlight?: ISpecialFileHighlight[]

- Defined in types/DaoPaaS.d.ts:216

对指定文件采用指定语法高亮

### Optional specialOpenFile

specialOpenFile?: string

- Defined in types/DaoPaaS.d.ts:212

业务指定默认打开文件路径

### Optional speedOption

speedOption?: number[]

- Defined in types/DaoPaaS.d.ts:222

回放时的播放速度参数

### tenantId

tenantId: string

- Defined in types/DaoPaaS.d.ts:185

租户id

### Optional themeType

themeType?: ThemeType

- Defined in types/DaoPaaS.d.ts:191

SDK主题，默认dark

### ticket

ticket: string

- Defined in types/DaoPaaS.d.ts:183

票

### Optional triggerEventForMaxTimespan

triggerEventForMaxTimespan?: number

- Defined in types/DaoPaaS.d.ts:199

回放模式：两针间隔最大时长触发事件参数

### userInfo

userInfo: UserInfo

- Defined in types/DaoPaaS.d.ts:187

用户信息

### Optional xtermStyle

xtermStyle?: XtermStyleType

- Defined in types/DaoPaaS.d.ts:203

xterm样式配置

## Methods

### Optional customLog

- customLog(level: string, ...args: any[]): void

- - Defined in types/DaoPaaS.d.ts:220

  支持日志上报业务方

  #### Parameters

  - ##### level: string

  - ##### Rest ...args: any[]

  #### Returns void

Generated using TypeDoc