monaco-editor icon indicating copy to clipboard operation
monaco-editor copied to clipboard

[Bug] [monaco-typescript] completion items are not showing for overload function parameters

Open ttys026 opened this issue 2 years ago • 1 comments

Reproducible in vscode.dev or in VS Code Desktop?

  • [X] Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

Monaco Editor Playground Code

monaco.editor.create(document.getElementById('container'), {
	value: `interface Hello {
    (name: 'a'): void;
    (name: 'b'): void;
    (name: 'c'): void;
    (name: 'd'): void;
}
const hello: Hello = name => {};

hello()
  `,
	language: 'typescript'
});

Actual Behavior

when start to type the single quote as the parameter of hello function, there is no IntelliSense showing up.

image

Expected Behavior

when start to type the single quote as the parameter of hello function, there is a IntelliSense showing up.

image

Additional Context

No response

ttys026 avatar Jun 08 '22 17:06 ttys026

IntelliSense works:

image

I think the issue here are trigger characters and/or quick suggest.

hediet avatar Jul 19 '22 13:07 hediet