fix property init order for chatEditingCodeEditorIntegration (#243051)

* add explaining comment

* fix property init order for `chatEditingCodeEditorIntegration`

https://github.com/microsoft/vscode/issues/243049
This commit is contained in:
Johannes Rieken
2025-03-10 11:37:20 +01:00
committed by GitHub
parent e4abf53129
commit 2cde379d3a
3 changed files with 29 additions and 5 deletions

View File

@@ -10,6 +10,18 @@ import * as fs from 'fs';
const TS_CONFIG_PATH = path.join(__dirname, '../../', 'src', 'tsconfig.json');
//
// #############################################################################################
//
// A custom typescript checker that ensure constructor properties are NOT used to initialize
// defined properties. This is needed for the times when `useDefineForClassFields` is gone.
//
// see https://github.com/microsoft/vscode/issues/243049, https://github.com/microsoft/vscode/issues/186726,
// https://github.com/microsoft/vscode/pull/241544
//
// #############################################################################################
//
const ignored = new Set([
'vs/base/common/arrays.ts',
'vs/platform/workspace/common/workspace.ts',
@@ -155,7 +167,6 @@ const ignored = new Set([
'vs/workbench/contrib/search/common/cacheState.ts',
'vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.ts',
'vs/workbench/contrib/search/browser/anythingQuickAccess.ts',
'vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.ts',
'vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.ts',
'vs/workbench/contrib/testing/browser/testResultsView/testResultsOutput.ts',
'vs/workbench/contrib/testing/common/testExplorerFilterState.ts',