This project is read-only.


Intellisense/autocompletion incorrectly invoked upon comma


If passing a string inline as a parameter, intellisense/autocompletion is incorrectly invoked upon typing a comma:
function blah(foo: string, bar: number){

As soon as you type the comma after "hola" (but still within the bounds of the string), autocompletion incorrectly appears.

Playground Repro
Closed Apr 26, 2013 at 8:48 PM by danquirk
This is fixed in our latest bits.

@rb126 - I opened to track your suggestion. I agree it'd be nice to mimic that behavior, it's definitely thrown me off at times as well.


danquirk wrote Feb 14, 2013 at 11:49 PM

Thanks for the report, marked as an active issue for investigation.

rb126 wrote Mar 4, 2013 at 5:07 PM

Is there a way to get Intellisense/autocompletion to kick in when you type things like '.', ';' and '('? I'm used to this in C# but can't see a way to turn it on in TS. It breaks up my flow to have to keep hitting Enter to accept the completion all the time.