Replies: 1 comment 5 replies
-
That's an artifact of the VBIDE API / the internal functionality that exports MSForms designer data is where the bug would have to be. Rubberduck could of course intervene: it would have to parse the designer files and properly understand them to rewrite them reliably - there's a vast wealth of knowledge on the subject, buried in the catacombs of this repository's issues history... I vaguely recall of a discussion around this, and the decision to drop the idea because there wasn't really anything else to gain from parsing the designer files; back then we were focusing on the completeness and correctness of our grammar and identifier resolution logic. Rubberduck 3.x might change that... 3.0 will very likely still use the native VBIDE MSForms designer, but at one point or another having our own editor is going to make it itch to implement a better forms designer. There's still a lot of blur and conditionals in that area so I'm not going to commit to anything, but ideas floating around include:
I like the MVVM library approach very much, because it solves so many annoyances of working with MSForms in VBA, literally brings a new paradigm to the language, and pushes its users into a "pit of success" where doing things right is simply the easiest and most obvious thing to do. Does little to address existing forms though. |
Beta Was this translation helpful? Give feedback.
-
VB6 has always been weird that if you open a form it basically reformats and moves controls around in the file. At least this is generally how it is with our (pretty large) codebase.
Turns out that when I click refresh on Rubberduck in VB6 IDE it opens and reads in all the files, and in turn those form files all become reformatted and basically changed for source control.
We're using TFS in case this is necessary info.
Anyway, Is there any way around this? I tried searching through the issues but did not seem to find anything although it's hard to know what keyword to search for.
Beta Was this translation helpful? Give feedback.
All reactions