facebook

Remove unused imports

  1. CodeMix & Angular IDE
  2.  > 
  3. Webclipse 1.x Help
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #522952 Reply

    Fedor Losev
    Participant

    Is there an action to remove unused typescript imports like CTRL+SHIFT+O?

    The only something related I see is in Preferences/TypeScript/Save Actions but this is not working (only if you set explicitly “no-unused-variable” and apply tslint fixes, but this is obviously different)

    #523003 Reply

    support-swapna
    Moderator

    Fedor,

    I am afraid there is no other action apart from the one in the Preferences/TypeScript/Save Actions to remove the unused typescript import.I have raised a bug for the dev team.

    We will keep you posted about the fix. Thank you for raising it.

    –Swapna
    MyEclipse Support

    #525301 Reply

    james
    Participant

    Yes it would be really useful to have a notifier like the ones used for lint validation

    #541544 Reply

    erudo-jch
    Participant

    I’m also interested about this functionality.
    Something new about it?

    #541652 Reply

    John
    Participant

    The option in preferences does not appear to be functional

    #541677 Reply

    Brian Fernandes
    Moderator

    There does appear to be a problem with the on-save action. Beyond this, as per Fedor’s original request, we’ll look at implementing the “remove unused import” action, irrespective of the linting setting.

    Both these fixes will be prioritized for the CI 10 release, I’m afraid we’re a bit too far into the CI 9 endgame to put these in right now.

    Apologies for the inconvenience caused and thank you for asking.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Remove unused imports

You must be logged in to post in the forum log in