Skip to content

Opening settings editor with prefilled query is broken #80134

Closed
microsoft/azuredatastudio
#7206
@roblourens

Description

@roblourens
  • Open extension viewlet
  • Right click an extension
  • "Configure Extension Settings"
  • Settings editor opens with no query prefilled

Broken by e02ccd0, now the editor service is stricter.

So the preferences service was basically doing

editorService.openEditor(input, { query: query })

Now this only works with properties that are in IEditorOptions or ITextEditorOptions, or an instance of EditorOptions. I have SettingsEditorOptions which is a subclass of EditorOptions and am using that everywhere else that the prefs service opens the settings editor. Or I would need the editor service to know about SettingsEditorOptions specifically but I don't want to do that.

In theory this could affect something else but I looked around and don't see other editor options types to worry about.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releasesettings-editorVS Code settings editor issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions