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

Refactoring for qualifying types/identifiers #2577

Open
ThunderFrame opened this issue Jan 24, 2017 · 0 comments
Open

Refactoring for qualifying types/identifiers #2577

ThunderFrame opened this issue Jan 24, 2017 · 0 comments
Labels
enhancement Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope. feature-inspections feature-refactorings

Comments

@ThunderFrame
Copy link
Member

It would be useful to be able to fully qualify types and/or members, for better clarity of types/identifiers and for ease of portability between projects.

For example, moving a module that uses a Scripting.Dictionary (but that only declares variables as Dictionary) to a Word-hosted project is problematic because Word has a Dictionary of its own.

I'm unsure of the best UI approach, but it might be useful to offer refactorings such as:

  • Qualify all identifiers/types belonging to a particular reference.
  • Qualify all instances of a particular type/identifier
  • Qualify types/identifiers that have name conflicts (this would allow for more easily changing the order of references)
  • Qualify identifiers by user-configurable white-list

This could make for an Unqualified Type/Identifier inspection along with some quickfixes.

@Vogel612 Vogel612 added enhancement Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope. and removed feature-request labels Aug 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope. feature-inspections feature-refactorings
Projects
None yet
Development

No branches or pull requests

2 participants