( title: string, kind: vscode.CodeActionKind, command: CodeActionId, args: any[], )
| 14 | ] |
| 15 | |
| 16 | private createAction( |
| 17 | title: string, |
| 18 | kind: vscode.CodeActionKind, |
| 19 | command: CodeActionId, |
| 20 | args: any[], |
| 21 | ): vscode.CodeAction { |
| 22 | const action = new vscode.CodeAction(title, kind) |
| 23 | action.command = { command: getCodeActionCommand(command), title, arguments: args } |
| 24 | return action |
| 25 | } |
| 26 | |
| 27 | public provideCodeActions( |
| 28 | document: vscode.TextDocument, |
no test coverage detected