@devbookhq/code-editor
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -16,2 +16,3 @@ import * as react from 'react'; | ||
private documentVersion; | ||
private diagnostics?; | ||
constructor(view: EditorView, openFile: boolean); | ||
@@ -23,2 +24,7 @@ private get nextDocumentVersion(); | ||
requestHoverTooltip({ state: { doc } }: EditorView, { line, character }: Position): Promise<Tooltip | null>; | ||
requestCodeActions(view: EditorView, range: { | ||
from: number; | ||
to: number; | ||
}): Promise<(vscode_languageserver_protocol.CodeAction | vscode_languageserver_protocol.Command)[] | null>; | ||
executeAction(command: string, args: any[]): Promise<any>; | ||
requestSignatureHelp(context: CompletionContext, activeSignatureHelp: SignatureHelp | undefined, isRetrigger: boolean, docChanged: boolean): Promise<SignatureHelp | null>; | ||
@@ -109,5 +115,7 @@ requestCompletion(context: CompletionContext, { line, character }: Position, { triggerKind, triggerCharacter, }: { | ||
watchedFilesChanged: (params: vscode_languageserver_protocol.DidChangeWatchedFilesParams) => Promise<void>; | ||
/** If supported, request details of the code action. */ | ||
resolveCodeAction: (params: vscode_languageserver_protocol.CodeAction, token?: CancellationToken) => Promise<vscode_languageserver_protocol.CodeAction | null>; | ||
/** If supported, request formatting of the document. */ | ||
getDocumentFormatting: (params: vscode_languageserver_protocol.DocumentFormattingParams, token?: CancellationToken) => Promise<vscode_languageserver_protocol.TextEdit[] | null>; | ||
/** If supported, execute command for the workspace. */ | ||
/** If supported, applu edits in the workspace. */ | ||
applyEdits: (params: vscode_languageserver_protocol.ApplyWorkspaceEditParams, token?: CancellationToken) => Promise<vscode_languageserver_protocol.ApplyWorkspaceEditResult | null>; | ||
@@ -139,3 +147,3 @@ /** If supported, execute command for the workspace. */ | ||
/** If supported, get commands for the given text document and range. */ | ||
getCodeAction: (params: vscode_languageserver_protocol.CodeActionParams, token?: CancellationToken) => Promise<(vscode_languageserver_protocol.Command | vscode_languageserver_protocol.CodeAction)[] | null>; | ||
getCodeAction: (params: vscode_languageserver_protocol.CodeActionParams, token?: CancellationToken) => Promise<(vscode_languageserver_protocol.CodeAction | vscode_languageserver_protocol.Command)[] | null>; | ||
/** If supported, get code lens for the given text document. */ | ||
@@ -142,0 +150,0 @@ getCodeLens: (params: vscode_languageserver_protocol.CodeLensParams, token?: CancellationToken) => Promise<vscode_languageserver_protocol.CodeLens[] | null>; |
{ | ||
"name": "@devbookhq/code-editor", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./dist/index.mjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
470458
5337
0