Skip to content

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

Closed

Description

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.

Activity

  1. removed their assignment
    on Dec 13, 2022
  2. added
    Suggestion
    Awaiting More Feedback
    on Dec 13, 2022
  3. changed the title [-]TS offers no quick fix to add a parameter to a method[/-] on Dec 13, 2022
  4. a-tarasyuk commented on Nov 15, 2023

    @a-tarasyuk
    Contributor

    Benjamin Pasero (@bpasero) I'm unsure whether this issue will be approved. I've observed that a similar QF already exists in VS, and it would be nice to have it in VS Code as well. #56411 is this the intended behavior for the proposed QF?

  5. added
    Fixed
    Committed
    Domain: LS: Quick Fixes
    and removed
    Awaiting More Feedback
    on Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CommittedDomain: LS: Quick FixesFixedSuggestion

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions