File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,12 @@ export function attach(connection: LanguageClientConnection): void {
23
23
}
24
24
25
25
/**
26
- * Public: Show a notification message with buttons using the Atom notifications API.
26
+ * Public: show documents inside Atom text editor or in external programs
27
27
*
28
28
* @param params The {ShowDocumentParams} received from the language server
29
29
* indicating the document to be displayed as well as other metadata.
30
+ * @returns {Promise<ShowDocumentResult> } with a `success: boolean` property specifying if the operation was sucessful
31
+ * {@inheritDoc ShowDocumentParams}
30
32
*/
31
33
export async function onShowDocument ( params : ShowDocumentParams ) : Promise < ShowDocumentResult > {
32
34
if ( ! params . external ) {
You can’t perform that action at this time.
0 commit comments