debt:由于js-debug的内置插件改为KylinIDETeam发布的插件,适配需要新ID的位置.

This commit is contained in:
chriswang521 2024-06-06 17:08:48 +08:00 committed by wangpenglong
parent c5a82b8cf5
commit 9d4e4612c1
5 changed files with 130 additions and 125 deletions

View File

@ -245,7 +245,8 @@ const marketplaceWebExtensionsExclude = new Set([
'ms-vscode.node-debug2',
'ms-vscode.js-debug-companion',
'ms-vscode.js-debug',
'ms-vscode.vscode-js-profile-table'
'ms-vscode.vscode-js-profile-table',
'KylinIDETeam.js-debug'
]);
const productJson = JSON.parse(fs.readFileSync(path.join(__dirname, '../../product.json'), 'utf8'));
const builtInExtensions = productJson.builtInExtensions || [];

View File

@ -283,7 +283,8 @@ const marketplaceWebExtensionsExclude = new Set([
'ms-vscode.node-debug2',
'ms-vscode.js-debug-companion',
'ms-vscode.js-debug',
'ms-vscode.vscode-js-profile-table'
'ms-vscode.vscode-js-profile-table',
'KylinIDETeam.js-debug'
]);
const productJson = JSON.parse(fs.readFileSync(path.join(__dirname, '../../product.json'), 'utf8'));

View File

@ -570,6 +570,7 @@ exports.EXTERNAL_EXTENSIONS = [
'ms-vscode.js-debug',
'ms-vscode.js-debug-companion',
'ms-vscode.vscode-js-profile-table',
'KylinIDETeam.js-debug',
];
function createXlfFilesForExtensions() {
let counter = 0;

View File

@ -647,6 +647,7 @@ export const EXTERNAL_EXTENSIONS = [
'ms-vscode.js-debug',
'ms-vscode.js-debug-companion',
'ms-vscode.vscode-js-profile-table',
'KylinIDETeam.js-debug',
];
export function createXlfFilesForExtensions(): ThroughStream {

View File

@ -368,7 +368,8 @@ async function getIpcAddress(context: vscode.ExtensionContext) {
// todo: make a way in the API to read environment data directly without activating js-debug?
const jsDebugPath =
vscode.extensions.getExtension('ms-vscode.js-debug-nightly')?.extensionPath ||
vscode.extensions.getExtension('ms-vscode.js-debug')?.extensionPath;
vscode.extensions.getExtension('ms-vscode.js-debug')?.extensionPath ||
vscode.extensions.getExtension('KylinIDETeam.js-debug')?.extensionPath;
const settingsValue = getJsDebugSettingKey();
if (cachedIpc?.jsDebugPath === jsDebugPath && cachedIpc?.settingsValue === settingsValue) {