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

Add context menu items to Code Explorer to set VB attributes #5120

Open
mansellan opened this issue Aug 30, 2019 · 3 comments
Open

Add context menu items to Code Explorer to set VB attributes #5120

mansellan opened this issue Aug 30, 2019 · 3 comments
Labels
difficulty-02-ducky Resolving these involves the internal API, but with relatively easy problems to solve. enhancement Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope. feature-annotations feature-code-explorer user-experience Issue relates to user experience (workflow, flexibility, customisation) user-interface This issue explicitly relates to the visible interface of Rubberduck. wpf Issue is easier to resolve with knowledge of WPF/XAML

Comments

@mansellan
Copy link
Member

Justification
Make it easy to set VB attributes directly from the Code Explorer.

Description
In the vanilla VBE, it's irksome to set attributes. (Some of the?) module-level attributes can be set from the properties window. For procedure attributes, VB6 has a dialog available, but the UX is extremely poor, and for VBA there is no UI at all - procedure attributes can only be set by exporting the module, adding the attibutes as text and reimporting.

Rubberduck currently helps by automating this process with annotations (and for predeclared modules, a template). However, we can make it easier still by adding context menu items in the Code Explorer that can set these attributes (backed up with RD annotations) with a click or two.

Related: #4876

@mansellan mansellan added enhancement Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope. feature-code-explorer feature-annotations user-interface This issue explicitly relates to the visible interface of Rubberduck. wpf Issue is easier to resolve with knowledge of WPF/XAML difficulty-02-ducky Resolving these involves the internal API, but with relatively easy problems to solve. user-experience Issue relates to user experience (workflow, flexibility, customisation) labels Aug 30, 2019
@retailcoder
Copy link
Member

Seems a duplicate of #4790?

@mansellan
Copy link
Member Author

Certainly related, but #4790 approaches from annotations, this approaches from attributes. Happy to merge them?

@bclothier
Copy link
Contributor

Linking #4227

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty-02-ducky Resolving these involves the internal API, but with relatively easy problems to solve. enhancement Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope. feature-annotations feature-code-explorer user-experience Issue relates to user experience (workflow, flexibility, customisation) user-interface This issue explicitly relates to the visible interface of Rubberduck. wpf Issue is easier to resolve with knowledge of WPF/XAML
Projects
None yet
Development

No branches or pull requests

3 participants