Skip to content

Add snippet completions for methods #2279

@mjbvz

Description

@mjbvz

From microsoft/TypeScript#47044

For the code:

class Base {
  foo() { }
}

class Sub extends Base {
  
}

In TS 6.0 triggering suggestions in Sub and selecting foo would fill in:

  foo(): void {
    
  }

In Ts-go, we instead just fill in foo

Metadata

Metadata

Assignees

Labels

Domain: EditorRelated to the LSP server, editor experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions