Skip to content

complete functions with their parameter signature for fat arrow functions #60901

Closed
@takahser

Description

@takahser

Currently, the settings useCodeSnippetsOnMethodSuggest, javascript.suggest.completeFunctionCalls and typescript.suggest.completeFunctionCalls can be used to complete functions with their parameter signature, when using intellisense.

Unfortunately, this only works for the basic es5 function syntax. It would be nice, if it worked for the es6 fat arrow function syntax as well.

// ES5 (settings work)
var multiplyES5 = function(x, y) {
  return x * y;
};

// ES6 (settings don't work)
const multiplyES6 = (x, y) => { return x * y };

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugjavascriptJavaScript support issuessuggestIntelliSense, Auto Completeupstream-issue-linkedThis is an upstream issue that has been reported upstream

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions