## 1.117.0

This commit is contained in:
Mike Phares 2025-02-27 09:31:28 -07:00
parent ab334f91dc
commit d649b52345
4 changed files with 15 additions and 8 deletions

View File

@ -58,5 +58,6 @@
"label": "npm: webpack",
"detail": "webpack --config ./build/node-extension.webpack.config.js"
}
]
],
"version": "2.0.0"
}

View File

@ -200,22 +200,23 @@ None
- Add Code Insiders lines when not present
## 1.114.0 1739295723637 = 638748925236370000 = 2025-0.Winter = Tue Feb 11 2025 10:42:03 GMT-0700 (Mountain Standard Time)
-----------------------------------------------------------------------------------------------------------
- infineon-mes-mike-phares
## 1.115.0 1739295727065 = 638748925270650000 = 2025-0.Winter = Tue Feb 11 2025 10:42:06 GMT-0700 (Mountain Standard Time)
-----------------------------------------------------------------------------------------------------------
- Infineon-Technologies-AG-Mesa-FI
## 1.116.0 1740441381597 = 638760381815970000 = 2025-0.Winter = Mon Feb 24 2025 16:56:21 GMT-0700 (Mountain Standard Time)
-----------------------------------------------------------------------------------------------------------
- Calculator
- Explorer Sort Order
## 1.117.0 1740671831803 = 638762686318030000 = 2025-0.Winter = Thu Feb 27 2025 08:57:11 GMT-0700 (Mountain Standard Time)
-----------------------------------------------------------------------------------------------------------
- Close active after opening Sub-Kanban when directory found

View File

@ -323,5 +323,5 @@
"watch": "concurrently \"rollup -c -w\" \"webpack --watch --config ./build/node-extension.webpack.config.js\"",
"webpack": "webpack --config ./build/node-extension.webpack.config.js"
},
"version": "1.116.0"
"version": "1.117.0"
}

View File

@ -60,8 +60,10 @@ async function openInNewWindowLogic(): Promise<any> {
vscode.window.showInformationMessage("Open a tab first!");
return;
}
const activeTabLabel = vscode.window.tabGroups.activeTabGroup.activeTab.label;
const paramCaseActiveTabLabel: string = paramCase(activeTabLabel);
const activeTab = vscode.window.tabGroups.activeTabGroup.activeTab;
const tabs: vscode.Tab[] = vscode.window.tabGroups.all.map(tagGroup => tagGroup.tabs).flat();
const index = tabs.findIndex(tab => tab.label === activeTab.label);
const paramCaseActiveTabLabel: string = paramCase(activeTab.label);
vscode.window.showInformationMessage(`Searching for <${paramCaseActiveTabLabel}>`);
const fileUris: vscode.Uri[] = await vscode.workspace.findFiles(`**/${paramCaseActiveTabLabel}*`);
if (fileUris.length === 0) {
@ -97,6 +99,9 @@ async function openInNewWindowLogic(): Promise<any> {
if (!found) {
updateWithLogic(textDocument);
}
else if (index !== -1) {
await vscode.window.tabGroups.close(tabs[index]);
}
}
}