## 1.111.1

This commit is contained in:
Mike Phares 2025-01-29 20:12:29 -07:00
parent 4ad075088a
commit 8ca13ac88a
3 changed files with 21 additions and 23 deletions

View File

@ -182,3 +182,10 @@ None
- kanban.refreshWebView - kanban.refreshWebView
- kanban.debugReload - kanban.debugReload
- columns-to-cards-webview-view-provider-view - columns-to-cards-webview-view-provider-view
- Open Sub-Kanban in New Window
## 1.111.1 1738206291411 = 638738030914110000 = 2025-0.Winter = Wed Jan 29 2025 20:04:50 GMT-0700 (Mountain Standard Time)
-----------------------------------------------------------------------------------------------------------
- Changed trigger for code-insiders

View File

@ -235,5 +235,5 @@
"webpack": "webpack --config ./build/node-extension.webpack.config.js", "webpack": "webpack --config ./build/node-extension.webpack.config.js",
"watch": "concurrently \"rollup -c -w\" \"webpack --watch --config ./build/node-extension.webpack.config.js\"" "watch": "concurrently \"rollup -c -w\" \"webpack --watch --config ./build/node-extension.webpack.config.js\""
}, },
"version": "1.111.0" "version": "1.111.1"
} }

View File

@ -30,30 +30,21 @@ async function openInNewWindowLogic(): Promise<any> {
const textDocument: vscode.TextDocument = await vscode.workspace.openTextDocument(fileUris[i]); const textDocument: vscode.TextDocument = await vscode.workspace.openTextDocument(fileUris[i]);
for (let j = 0; j < textDocument.lineCount; ++j) { for (let j = 0; j < textDocument.lineCount; ++j) {
const text = textDocument.lineAt(j).text; const text = textDocument.lineAt(j).text;
if (text.endsWith('"')) { if (text.endsWith(')')) {
if (text.startsWith("code \"")) { if (text.startsWith("- [code](")) {
const lastText = textDocument.lineAt(j - 1).text; const uri = vscode.Uri.parse("file:" + text.substring(9, text.length - 1));
if (lastText.startsWith("```")) { await vscode.commands.executeCommand('vscode.openFolder', uri, true);
const uri = vscode.Uri.parse("file:" + text.substring(6, text.length - 1)); break;
await vscode.commands.executeCommand('vscode.openFolder', uri, true);
break;
}
} }
if (text.startsWith("codium \"")) { if (text.startsWith("- [codium](")) {
const lastText = textDocument.lineAt(j - 1).text; const uri = vscode.Uri.parse("file:" + text.substring(11, text.length - 1));
if (lastText.startsWith("```")) { await vscode.commands.executeCommand('vscode.openFolder', uri, true);
const uri = vscode.Uri.parse("file:" + text.substring(8, text.length - 1)); break;
await vscode.commands.executeCommand('vscode.openFolder', uri, true);
break;
}
} }
if (text.startsWith("code-insiders \"")) { if (text.startsWith("- [code-insiders](")) {
const lastText = textDocument.lineAt(j - 1).text; const uri = vscode.Uri.parse("file:" + text.substring(18, text.length - 1));
if (lastText.startsWith("```")) { await vscode.commands.executeCommand('vscode.openFolder', uri, true);
const uri = vscode.Uri.parse("file:" + text.substring(15, text.length - 1)); break;
await vscode.commands.executeCommand('vscode.openFolder', uri, true);
break;
}
} }
} }
} }