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

Toggle DefaultInstanceId attribute #52

Open
retailcoder opened this Issue Nov 19, 2014 · 4 comments

Comments

Projects
None yet
4 participants
@retailcoder
Member

retailcoder commented Nov 19, 2014

Provide a way to toggle the value of a class module's default instance ID, effectively toggling between "normal" and "static" class behavior.

Warn user when toggling the attribute to False, because such a change is a breaking change.

Somewhat related to #48 and #49, to import/export code files - although this specific feature can work off temporary files, import/export functionality should be reused here.

@retailcoder retailcoder added this to the Module & Procedure Attributes milestone Nov 19, 2014

@rubberduck203 rubberduck203 modified the milestone: Module & Procedure Attributes Feb 10, 2015

@retailcoder retailcoder added this to the Future Versions milestone Feb 10, 2015

@retailcoder

This comment has been minimized.

Member

retailcoder commented Sep 22, 2015

@ckuhn203 is the SCI code responsible for exporting/importing modules decoupled enough to be reused for this?

@retailcoder retailcoder referenced this issue Sep 22, 2015

Open

Handle Procedure Attributes #786

0 of 4 tasks complete

@retailcoder retailcoder modified the milestones: Version 2.0, Future Versions Sep 22, 2015

@retailcoder retailcoder modified the milestones: v2.1, Version 2.0 Mar 18, 2016

@Hosch250

This comment has been minimized.

Member

Hosch250 commented Jul 22, 2016

Yes, it is.

@rubberduck203

This comment has been minimized.

Member

rubberduck203 commented Jul 22, 2016

Yes. Absolutely is. In fact, the export/import code is in an entirely different assembly and namespace.

https://github.com/rubberduck-vba/Rubberduck/tree/next/Rubberduck.VBEEditor

@retailcoder

This comment has been minimized.

Member

retailcoder commented Mar 13, 2017

Per linked issue, this will be implemented as an annotation:

'@ModuleAttribute.VB_PredeclaredId(True)

Or

'@PredeclaredId
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment