Skip to content

Add option to configure the default show context (number of context lines) in search editor #97915

@Dzejkop

Description

@Dzejkop

I keep opening the search editor and clicking the show context button every single time - the show context to me is one of the stronger features of the search editor.

It would be nice to be able to configure it permanently. I know reusePriorSearchConfiguration exists but that would affect all the other settings.

My proposal is to add search.searchEditor.defaultShowContextValue property (number | null) which when defined would override the default value for the number of context lines.

reusePriorSearchConfiguration would take precedence if both are used.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions