Everlaw / nbts

NetBeans TypeScript editor plugin
282 stars 46 forks source link

Modules are mixed with code templates for import #86

Closed Chris2011 closed 7 years ago

Chris2011 commented 7 years ago

As you can see it in my image, when I hit ctrl + enter inside the string, I see modules and code templates:

imports-with-code-templates

For imports and the module stuff, I only expect module related code and not everything.

Chris2011 commented 7 years ago

Same for your own module folders:

imports-with-code-templates-2

and the worst thing is for your own modules inside the folders, they will add to the end and not to the beginning:

imports-with-code-templates-3

jeffrey-easyesi commented 7 years ago

I think I can fix this by implementing a CodeTemplateFilter.Factory

jeffrey-easyesi commented 7 years ago

Fixed in 2.1.5.0

jeffrey-easyesi commented 7 years ago

argh, the "fix" broke the ability to use code templates with the tab key EDIT: Fixed in 2.1.5.1

Chris2011 commented 7 years ago

Ok I will try, thx. Yes I noticed the problem too.

Chris2011 commented 7 years ago

Works well.