mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-20 17:59:17 +00:00
fix class property order issue for the PromptsService class
This commit is contained in:
@@ -93,7 +93,6 @@ const ignored = new Set([
|
||||
'vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.ts',
|
||||
'vs/editor/contrib/placeholderText/browser/placeholderTextContribution.ts',
|
||||
'vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.ts',
|
||||
'vs/workbench/contrib/chat/common/promptSyntax/parsers/basePromptParser.ts',
|
||||
'vs/workbench/contrib/files/browser/views/openEditorsView.ts',
|
||||
'vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.ts',
|
||||
'vs/workbench/contrib/chat/browser/contrib/chatImplicitContext.ts',
|
||||
@@ -119,8 +118,6 @@ const ignored = new Set([
|
||||
'vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.ts',
|
||||
'vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.ts',
|
||||
'vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.ts',
|
||||
'vs/workbench/contrib/chat/common/promptSyntax/contentProviders/textModelContentsProvider.ts',
|
||||
'vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.ts',
|
||||
'vs/workbench/contrib/search/common/cacheState.ts',
|
||||
'vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.ts',
|
||||
'vs/workbench/contrib/search/browser/anythingQuickAccess.ts',
|
||||
|
||||
@@ -87,7 +87,6 @@ const ignored = new Set([
|
||||
'vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.ts',
|
||||
'vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.ts',
|
||||
'vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.ts',
|
||||
'vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.ts',
|
||||
'vs/workbench/contrib/search/common/cacheState.ts',
|
||||
'vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.ts',
|
||||
'vs/workbench/contrib/search/browser/anythingQuickAccess.ts',
|
||||
|
||||
@@ -28,7 +28,7 @@ export class PromptsService extends Disposable implements IPromptsService {
|
||||
/**
|
||||
* Prompt files locator utility.
|
||||
*/
|
||||
private readonly fileLocator = this.initService.createInstance(PromptFilesLocator);
|
||||
private readonly fileLocator: PromptFilesLocator;
|
||||
|
||||
constructor(
|
||||
@IInstantiationService private readonly initService: IInstantiationService,
|
||||
@@ -36,6 +36,8 @@ export class PromptsService extends Disposable implements IPromptsService {
|
||||
) {
|
||||
super();
|
||||
|
||||
this.fileLocator = this.initService.createInstance(PromptFilesLocator);
|
||||
|
||||
// the factory function below creates a new prompt parser object
|
||||
// for the provided model, if no active non-disposed parser exists
|
||||
this.cache = this._register(
|
||||
|
||||
Reference in New Issue
Block a user