Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.1.42] Unused Requirements - Unused Alias #629

Closed
hlship opened this issue Nov 17, 2014 · 1 comment
Closed

[0.1.42] Unused Requirements - Unused Alias #629

hlship opened this issue Nov 17, 2014 · 1 comment
Labels
new Marks issues describing new features released Marks issues which have had the fixes released in a stable build
Milestone

Comments

@hlship
Copy link

hlship commented Nov 17, 2014

Again, would be nice if the label "Unused Alias" contained the namespace. Also there's no simple option to remove the alias, instead you have to manually delete the line.

@cursive-ide
Copy link
Owner

Right, the problem is that it's still quite easy to break code, since use/require don't just alias, they also load code. In fact, fixing these by hand in the Cursive codebase I broke some code in one instance that aliased but then used a fully-qualified namespace for the var access. I'll be adding better searching soon to ensure that the namespace at least is completely unused before automatically removing. Adding the label is easy.

@cursive-ide cursive-ide added this to the 1.12.2-eap4 milestone Feb 13, 2022
@cursive-ide cursive-ide added the new Marks issues describing new features label Feb 13, 2022
@cursive-ide cursive-ide added the released Marks issues which have had the fixes released in a stable build label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new Marks issues describing new features released Marks issues which have had the fixes released in a stable build
Projects
None yet
Development

No branches or pull requests

3 participants