typescript.java icon indicating copy to clipboard operation
typescript.java copied to clipboard

Content assist inserts wrong arguments

Open marsiancba opened this issue 8 years ago • 2 comments

image

It should insert just bug1(a), as b is argument of callback function a.

Same problem happens for objects with index signature parameter:

image

marsiancba avatar Sep 07 '17 12:09 marsiancba

Indeed, today I have not managed that. Just find time to support it.

angelozerr avatar Sep 19 '17 18:09 angelozerr

It seems that this is implemented in Java with something like Regex. If you can point me to part of the code where this is implemented, I can try to fix that by myself.

marsiancba avatar Sep 20 '17 07:09 marsiancba