Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Anders is my favourite language designer, ever :)

TypeScript is something I'm still trying to get more buy-in from my team, but the issue is the lack of decent autocomplete/static analysis in anything other than Visual Studio. I'm working on that problem myself, actually.




From past experience, their support is good, but one significant thing I missed was type inference:

    // function signature
    getNumber(context: any, callback: (result: Number) => void);
    
    // calling that function
    // unfortunately, here the type of num is any
    // unless I specify it manually
    getNumber(..., (num) => { ... });
Visual Studio figured out the type on its own.


Not really. Their support for declaration merging is buggy which makes many .d.ts files unusable.


I've had autocomplete with Eclipse, WebStorm and Sublime.


I use Cats IDE on a relatively large project and find it very good.


I set up Cats but I found it was super buggy under Linux Mint :(


webstorm is also reasonable, but vs is better.


yes, but vs is not reasonable


+1 for IntelliJ. Their support for typescript is pretty good. I actually tried Visual Studio and IntelliJ's webstorm, and descided to go with Webstorm. Also the support has improved over time, though I'm still hoping for some nice code generation support for Typescript




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: