Skip to content

Add a Quick Fix to add an additional parameter to a method or function #51870

Closed
@bpasero

Description

@bpasero

See here:

image

openEditor(editor: EditorInput, didChangeActive: boolean): void {
	this.handleOpenedEditors(didChangeActive);
}

From: https://github.com/microsoft/vscode/blob/14f54b128dd5955db7a69e0aac760731d343e54b/src/vs/workbench/browser/parts/editor/tabsTitleControl.ts#L417

I would have expected a way to add boolean to the method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CommittedThe team has roadmapped this issueDomain: Quick FixesEditor-provided fixes, often called code actions.FixedA PR has been merged for this issueSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions