12:03 AM
8 hours later…
7:46 AM
[rubberduck-vba/Rubberduck] MDoerner added label resolver to issue #5848: Enumeration values used as method parameters or default parameter values trigger variable code inspections
2 hours later…
10:03 AM
[rubberduck-vba/Rubberduck] MDoerner created comment on issue #5848: Enumeration values used as method parameters or default parameter values trigger variable code inspections
> Could you give a code example of what exactly you mean by _used as parameters or as default values for method parameters_? With the interpretations I could come up with, I do not get any result for `UndeclaredVariableInspection`.
One more question: do I understand correctly that the enumeration is a public enumeration in another class module in the same project?
One more question: do I understand correctly that the enumeration is a public enumeration in another class module in the same project?
[rubberduck-vba/Rubberduck] MDoerner synchronized pull request #5861: Fix return value discarded inspection
10:28 AM
2 hours later…
12:17 PM
[rubberduck-vba/Rubberduck] MDoerner created comment on issue #5742: Synchronizing attributes escapes backslashes, which keeps the annotation de-synchronized
> This will be a bit tricky to fix. The escaping happens in the invocation of `VBComponent.Export`.
It seems as if we have to fight the VBE API again.
It seems as if we have to fight the VBE API again.
12:34 PM
If you're asking for documentation, that's off-topic for SO. And yes, the answers you link to are correct. — BigBen 22 mins ago
12:45 PM
Finding VB.NET documentation when looking for VBA documentation does seem to happen quite often. Even MS is confused by them, it seems. — FreeMan 10 secs ago
1:01 PM
[rubberduck-vba/Rubberduck] FullValueRider created comment on issue #5848: Enumeration values used as method parameters or default parameter values trigger variable code inspections
[rubberduck-vba/Rubberduck] MDoerner added label status-ignored to issue #5742: Synchronizing attributes escapes backslashes, which keeps the annotation de-synchronized
[rubberduck-vba/Rubberduck] MDoerner created comment on issue #5742: Synchronizing attributes escapes backslashes, which keeps the annotation de-synchronized
> I have investigated this. The error is not in our code, but in the COM interop library or even the VBE API itself.
The problem is that string literals do not properly round-trip when exporting an imported component. In the reexported file, backslashes in front of most other characters are missing. Exceptions seem to be the backslash itself, `r` and `n`.
Since there does not seem to be a way to round-trip a single backslash followed by most characters, I think we will not be able to fix
The problem is that string literals do not properly round-trip when exporting an imported component. In the reexported file, backslashes in front of most other characters are missing. Exceptions seem to be the backslash itself, `r` and `n`.
Since there does not seem to be a way to round-trip a single backslash followed by most characters, I think we will not be able to fix
2:16 PM
2:40 PM
> Closes #5336
The problem is that expressions prefer to resolve built-in type names as built-in types in favor of simple name expressions in order to be able to distinguish them. Unfortunately, VBA allows to name declarations like built-in types.
To fix this, whenever the default expression binding context encounters a built-in type, it first tries to bind it as a simple name. It tries to resolve it and if that is successful, it returns the binding. Otherwise, it falls back to the built-i
The problem is that expressions prefer to resolve built-in type names as built-in types in favor of simple name expressions in order to be able to distinguish them. Unfortunately, VBA allows to name declarations like built-in types.
To fix this, whenever the default expression binding context encounters a built-in type, it first tries to bind it as a simple name. It tries to resolve it and if that is successful, it returns the binding. Otherwise, it falls back to the built-i
3:08 PM
4 hours later…
7:03 PM
[rubberduck-vba/Rubberduck] MDoerner assigned MDoerner to issue #5087: Ignore Once QuickFix doesn't work with line continuation - gives no reason why
[rubberduck-vba/Rubberduck] MDoerner assigned MDoerner to issue #5805: Code Inspector does not handle multiline statements
[rubberduck-vba/Rubberduck] MDoerner added label feature-smart-indenter to issue #5852: Indenter line continuation, alignment
[rubberduck-vba/Rubberduck] MDoerner added label user-interface to issue #5854: Code Inspection Window
[rubberduck-vba/Rubberduck] MDoerner added label inspection-false-positive to issue #5848: Enumeration values used as method parameters or default parameter values trigger variable code inspections
[rubberduck-vba/Rubberduck] MDoerner added label feature-hotkeys to issue #5838: English keyboard not working
2 hours later…
8:57 PM
[rubberduck-vba/Rubberduck] MDoerner edited issue #5855: Add Indenter settings to ignore lines with special form comments
[rubberduck-vba/Rubberduck] MDoerner edited issue #5854: Code Inspection Window opens partially off-screen
[rubberduck-vba/Rubberduck] MDoerner added label feature-code-explorer to issue #5851: Code Explorer does not show all open workbooks
[rubberduck-vba/Rubberduck] MDoerner added label feature-hotkeys to issue #5850: Peek definition keyboard shortcut
[rubberduck-vba/Rubberduck] MDoerner added label feature-code-explorer to issue #5849: Public Enum Not Updating in CE
[rubberduck-vba/Rubberduck] MDoerner added label feature-inspections to issue #5848: Enumeration values used as method parameters or default parameter values trigger variable code inspections
[rubberduck-vba/Rubberduck] MDoerner added label feature-code-explorer to issue #5847: Renaming a project causes it to disappear from Code Explorer
[rubberduck-vba/Rubberduck] MDoerner added label user-interface to issue #5846: Rubberduck should use Rubberduck.Folder.Annotations rather than Project.Module when you select "group by location"
[rubberduck-vba/Rubberduck] MDoerner added label inspection-false-positive to issue #5845: Code Inspection: Variable not assigned when Variant used as Array
[rubberduck-vba/Rubberduck] MDoerner added label feature-inspections to issue #5845: Code Inspection: Variable not assigned when Variant used as Array
[rubberduck-vba/Rubberduck] MDoerner added label feature-refactorings to issue #5844: Add new refactoring "Inject Definition Module Prefix"...
[rubberduck-vba/Rubberduck] MDoerner added label status-deferred to issue #5840: Error when access to edit any module in Excel VBA ide
[rubberduck-vba/Rubberduck] MDoerner created comment on issue #5840: Error when access to edit any module in Excel VBA ide
> Incompatibility might be solvable with a future version of .Net.
The only other practical option to achieve compatibility is probably to use a COM-shim, which will be obsolete in future version of .Net.
So, this is deferred for now.
The only other practical option to achieve compatibility is probably to use a COM-shim, which will be obsolete in future version of .Net.
So, this is deferred for now.
[rubberduck-vba/Rubberduck] MDoerner edited comment on issue #5840: Error when access to edit any module in Excel VBA ide
9:42 PM
2 hours later…
« first day (2674 days earlier) ← previous day next day → last day (506 days later) »
Transcript for
Sep30
Oct '211
Oct2
VBA Rubberducking
This chat has moved to Discord: discord.gg/MYX9RECenJ