Skip to content

Code Action to create functions or properties #12462

Closed
@jrieken

Description

@jrieken

From @sharpmachine on November 22, 2016 16:51

  • VSCode Version: 1.7.1
  • OS Version: macOS Sierra 10.12.1
  • Angular 2/Typescript
    Steps to Reproduce:
  1. In a class, add a property or method that doesn't exist yet

Visual Studio 2015 and even Atom Typescript do this, but I can't figure out how to do it with VS Code.

Visual Studio 2015 screenshots:
screen shot 2016-11-22 at 8 45 41 am 2

screen shot 2016-11-22 at 8 46 05 am 2

Am I missing something or is this not possible in VS Code.

Copied from original issue: microsoft/vscode#15900

Metadata

Metadata

Assignees

No one assigned

    Labels

    Domain: Quick FixesEditor-provided fixes, often called code actions.SuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions