Everlaw / nbts

NetBeans TypeScript editor plugin
282 stars 46 forks source link

TypeScript IntelliSense Very Slow #106

Closed JeSuisAlrick closed 7 years ago

JeSuisAlrick commented 7 years ago

It seems error checking is a bit excessive and this is causing IntelliSense to be very slow.

My main observation is that node_modules folder is being checked for errors every time a file is changed.

Can you provide some options to limit how frequently checks are done, or rather, exclude node_modules from the routine checks? I'd assume that the node_modules folder should only be checked once per project start-up unless the packages.json file has changed.

Thanks

Chris2011 commented 7 years ago

The node_modules folder should never be checked because those are not your dependencies and they are packages only for using. @JeSuisAlrick So please exclude the node_modules folder in the options under options -> miscellaneous -> files -> Files ignored by the ide.

Chris2011 commented 7 years ago

The same you should do with bower_components.

JeSuisAlrick commented 7 years ago

Your solution worked. Thanks :+1: