Everlaw / nbts

NetBeans TypeScript editor plugin
282 stars 46 forks source link

Feature Request - Implement and Override (i) icon like Java #66

Closed kephas123 closed 7 years ago

kephas123 commented 8 years ago

Is there a way to have the small green (i) icon on the line number when a function is implemented from an interface or overridden from an abstract class ?

kephas123 commented 8 years ago

Can we also have the orange status indicator for the unused imports (on the line and in the top-right corner of the editor)?

jeffrey-easyesi commented 8 years ago

Unused imports are shown with a gray underline like other unused variables. The only reason they're yellow in Java is because the Java editor has hints that can auto fix them (if you go into the Hints settings and disable the "Organize imports" and "Unused import" hints, you can see the underlying gray underline).

kephas123 commented 8 years ago

I see the gray underline for the unused imports :+1: , but i was talking about the orange icon on the right of the scrollbar and the indicator (top-right corner).

If i am at the bottom of the file, it would be interesting if i can see that there is an unused import by seeing the orange indicator.

jeffrey-easyesi commented 7 years ago

Implement/override link is now implemented in v2.1.4.0.

Regarding unused imports: You can use the "compilerOptions": { "noUnusedLocals": true } option in tsconfig.json to make it an error if imports and other local vars go unused.