## 1.111.1
This commit is contained in:
parent
4ad075088a
commit
8ca13ac88a
@ -182,3 +182,10 @@ None
|
||||
- kanban.refreshWebView
|
||||
- kanban.debugReload
|
||||
- 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
|
||||
|
@ -235,5 +235,5 @@
|
||||
"webpack": "webpack --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"
|
||||
}
|
||||
|
@ -30,30 +30,21 @@ async function openInNewWindowLogic(): Promise<any> {
|
||||
const textDocument: vscode.TextDocument = await vscode.workspace.openTextDocument(fileUris[i]);
|
||||
for (let j = 0; j < textDocument.lineCount; ++j) {
|
||||
const text = textDocument.lineAt(j).text;
|
||||
if (text.endsWith('"')) {
|
||||
if (text.startsWith("code \"")) {
|
||||
const lastText = textDocument.lineAt(j - 1).text;
|
||||
if (lastText.startsWith("```")) {
|
||||
const uri = vscode.Uri.parse("file:" + text.substring(6, text.length - 1));
|
||||
await vscode.commands.executeCommand('vscode.openFolder', uri, true);
|
||||
break;
|
||||
}
|
||||
if (text.endsWith(')')) {
|
||||
if (text.startsWith("- [code](")) {
|
||||
const uri = vscode.Uri.parse("file:" + text.substring(9, text.length - 1));
|
||||
await vscode.commands.executeCommand('vscode.openFolder', uri, true);
|
||||
break;
|
||||
}
|
||||
if (text.startsWith("codium \"")) {
|
||||
const lastText = textDocument.lineAt(j - 1).text;
|
||||
if (lastText.startsWith("```")) {
|
||||
const uri = vscode.Uri.parse("file:" + text.substring(8, text.length - 1));
|
||||
await vscode.commands.executeCommand('vscode.openFolder', uri, true);
|
||||
break;
|
||||
}
|
||||
if (text.startsWith("- [codium](")) {
|
||||
const uri = vscode.Uri.parse("file:" + text.substring(11, text.length - 1));
|
||||
await vscode.commands.executeCommand('vscode.openFolder', uri, true);
|
||||
break;
|
||||
}
|
||||
if (text.startsWith("code-insiders \"")) {
|
||||
const lastText = textDocument.lineAt(j - 1).text;
|
||||
if (lastText.startsWith("```")) {
|
||||
const uri = vscode.Uri.parse("file:" + text.substring(15, text.length - 1));
|
||||
await vscode.commands.executeCommand('vscode.openFolder', uri, true);
|
||||
break;
|
||||
}
|
||||
if (text.startsWith("- [code-insiders](")) {
|
||||
const uri = vscode.Uri.parse("file:" + text.substring(18, text.length - 1));
|
||||
await vscode.commands.executeCommand('vscode.openFolder', uri, true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user