12:00 AM
[rubberduck-vba/Rubberduck] 3 commits. 3 opened issues. 3 closed issues. 20 issue comments. 2 additions. 14 deletions.
1 hour later…
1:45 AM
[rubberduck-vba/Rubberduck] MDoerner assigned MDoerner to issue #4095: Seemingly random Unicode characters in the output of Code Inspection details.
2:13 AM
[rubberduck-vba/Rubberduck] bclothier created pull request #5182: Replace #if DEBUG with conditional methods to merge bclothier/Rubberduck/ReachableDebugCode into rubberduck-vba/Rubberduck/next
> Based on the proposal outlined here, and in light of recent PRs (mostly mine :( ) adding several new trace flags and conditional compilation code, I thought that Rubberduck would benefit from having more of its code verified at compile-time regardless of which flags are in effect. This is first of 2 commits I intend to make on this PR. The 2nd commit will be mainly within the TypeLib...
API where a certain fool has added a bunch of conditional compilation flags and needs ot clean up the mess. ~.~ However, before I get into this effort, I wanted to get others' feedback if this is a change for the better.
[rubberduck-vba/Rubberduck] bclothier review_requested pull request #5182: Replace #if DEBUG with conditional methods
[rubberduck-vba/Rubberduck] bclothier added label PR-Status: Review Requested to pull request #5182: Replace #if DEBUG with conditional methods
[rubberduck-vba/Rubberduck] bclothier review_requested pull request #5182: Replace #if DEBUG with conditional methods
2:47 AM
[rubberduck-vba/Rubberduck] bclothier synchronized pull request #5182: Replace #if DEBUG with conditional methods
2:59 AM
3:12 AM
[rubberduck-vba/Rubberduck] Keith1948 created comment on issue #5169: Inspections not working in Excel 2019
> I just had a look at this issue and I'm unfortunately unable to reproduce this issue.
This is what I did:
Using battleship spreadsheet, I exported the contents of the project to a folder.
I open a Windows explorer to the same path.
I then export. No error.
I then create a new folder within it.
I then export, targeting the new folder but do not select it just yet.
I delete the folder via windows explorer.
I then select the folder and it still exports, re-creating the folder in the
This is what I did:
Using battleship spreadsheet, I exported the contents of the project to a folder.
I open a Windows explorer to the same path.
I then export. No error.
I then create a new folder within it.
I then export, targeting the new folder but do not select it just yet.
I delete the folder via windows explorer.
I then select the folder and it still exports, re-creating the folder in the
3:56 AM
4:40 AM
[rubberduck-vba/Rubberduck] IvenBach created pull request #5183: More minor edits to merge IvenBach/Rubberduck/StringDotEmpty into rubberduck-vba/Rubberduck/next
@IvenBach github.com/rubberduck-vba/Rubberduck/blob/next/Rubberduck.Core/… comes up as never being used. I call :dibs: <hint>PR for tomorrow.</hint>.
5:06 AM
Reminder to Mug to not carve your pumpkins until, at most, the day before Halloween. Looking forward to your pumpkin art btw.
6 hours later…
10:46 AM
2 hours later…
12:23 PM
[rubberduck-vba/Rubberduck] Vogel612 opened issue #5184: Simplify & centralize inspection @Ignore and @IgnoreModule handling
> There is an undue amount of issues open here, where the `@Ignore` and `@IgnoreModule` annotations do not work correctly. While they are comparatively easy to fix, it would be much better if we didn't get these issues in the first place because such checking is automatically done for every inspection.
This necessitates centralizing the ignore handling into the InspectionBase class.
Notably the Inspections dealing with references that can be ignored at their declarations need custom support
This necessitates centralizing the ignore handling into the InspectionBase class.
Notably the Inspections dealing with references that can be ignored at their declarations need custom support
[rubberduck-vba/Rubberduck] Vogel612 added label bug to issue #5184: Simplify & centralize inspection @Ignore and @IgnoreModule handling
[rubberduck-vba/Rubberduck] Vogel612 removed label bug from issue #5184: Simplify & centralize inspection @Ignore and @IgnoreModule handling
[rubberduck-vba/Rubberduck] Vogel612 added label technical-debt to issue #5184: Simplify & centralize inspection @Ignore and @IgnoreModule handling
[rubberduck-vba/Rubberduck] Vogel612 added label up-for-grabs to issue #5184: Simplify & centralize inspection @Ignore and @IgnoreModule handling
12:53 PM
[rubberduck-vba/Rubberduck] Vogel612 created pull request #5185: Fix Ignore and IgnoreModule for UnderscoreInPublicMemberName Inspection to merge Vogel612/Rubberduck/fix/ignore-underscore-inspection into...
1:05 PM
1:30 PM
[rubberduck-vba/Rubberduck] bclothier removed label hacktoberfest from issue #4078: Parsing Exception
[rubberduck-vba/Rubberduck] bclothier commented on RubberduckTests/Grammar/ResolverTests.cs of pull request #5175: Hacktoberfest parser fixes
[rubberduck-vba/Rubberduck] bclothier commented on RubberduckTests/Grammar/ResolverTests.cs of pull request #5175: Hacktoberfest parser fixes
[rubberduck-vba/Rubberduck] bclothier commented on RubberduckTests/Grammar/ResolverTests.cs of pull request #5175: Hacktoberfest parser fixes
[rubberduck-vba/Rubberduck] bclothier commented on RubberduckTests/Grammar/ResolverTests.cs of pull request #5175: Hacktoberfest parser fixes
[rubberduck-vba/Rubberduck] bclothier closed issue #4965: IgnoreModule does not work for "Public Member name contains an underscore" inspection
1:56 PM
[rubberduck-vba/Rubberduck] rubberduck-vba-releasebot created draft prerelease Prerelease-v2.4.1.5006
[rubberduck-vba/Rubberduck] rubberduck-vba-releasebot prereleased draft prerelease Prerelease-v2.4.1.5006
2:46 PM
public static bool IsIgnoringInspectionResult(this IInspectionResult result, DeclarationFinder declarationFinder) { switch (result) { case DeclarationInspectionResult dr: return dr.Target.IsIgnoringInspectionResultFor(dr.Inspection.AnnotationName); case IdentifierReferenceInspectionResult irr: return irr.QualifiedName.IsIgnoringInspectionResultFor(irr.Context.Start.Line, declarationFinder, irr.Inspection.AnnotationName); case QualifiedContextInspectionResult qcr:
3:08 PM
[rubberduck-vba/Rubberduck] retailcoder created comment on issue #5184: Simplify & centralize inspection @Ignore and @IgnoreModule handling
> IIRC the main reason this wasn't centralized is because not all inspections can be ignored. ...and since that was established, AFAICT out of all inspections we made, there is only one that cannot be annotated (default project name)... which in hindsight wasn't a good reason at all. Let's fix this!
1 hour later…
4:20 PM
[rubberduck-vba/Rubberduck] Vogel612 created pull request #5186: Implement centralized ignore-handling for inspections to merge Vogel612/Rubberduck/fixes/inspection-ignore-consolidation into...
4:50 PM
1 hour later…
6:21 PM
[rubberduck-vba/Rubberduck] GusAV created pull request #5187: Change in Ok button text to better represent actual functionality to merge GusAV/Rubberduck/next into rubberduck-vba/Rubberduck/next
[rubberduck-vba/Rubberduck] GusAV created comment on issue #5090: Reword settings dialog button to Safe & Close from Ok
[rubberduck-vba/Rubberduck] retailcoder commented on Rubberduck.Resources/RubberduckUI.resx of pull request #5187: Change in Ok button text to better represent actual functionality
[rubberduck-vba/Rubberduck] retailcoder commented on Rubberduck.Resources/RubberduckUI.resx of pull request #5187: Change in Ok button text to better represent actual functionality
[rubberduck-vba/Rubberduck] retailcoder commented on Rubberduck.Resources/RubberduckUI.resx of pull request #5187: Change in Ok button text to better represent actual functionality
[rubberduck-vba/Rubberduck] GusAV commented on Rubberduck.Resources/RubberduckUI.resx of pull request #5187: Change in Ok button text to better represent actual functionality
[rubberduck-vba/Rubberduck] retailcoder commented on Rubberduck.Resources/RubberduckUI.resx of pull request #5187: Change in Ok button text to better represent actual functionality
[rubberduck-vba/Rubberduck] GusAV synchronized pull request #5187: Change in Ok button text to better represent actual functionality
[rubberduck-vba/Rubberduck] GusAV commented on Rubberduck.Resources/RubberduckUI.resx of pull request #5187: Change in Ok button text to better represent actual functionality
2 hours later…
8:31 PM
1 hour later…
9:35 PM
[rubberduck-vba/Rubberduck] Vogel612 created comment on issue #5137: Clear SearchBox control by pressing ESC
> Not quite (although that would be cool as well). This is about the SearchBox control we built to unify the searching behavior in CodeExplorer, ToDoExplorer and the Inspections window. It may only be necessary to update this file
10:12 PM
10:41 PM
[rubberduck-vba/Rubberduck] retailcoder closed issue #5090: Reword settings dialog button to Safe & Close from Ok
[rubberduck-vba/Rubberduck] retailcoder merged pull request #5187: Change in Ok button text to better represent actual functionality from GusAV/Rubberduck/next into rubberduck-vba/Rubberduck/next
[rubberduck-vba/Rubberduck] Unrecognized author pushed commit 8dcfb02d to next: Change in Ok button text to better represent actual functionality
[rubberduck-vba/Rubberduck] Unrecognized author pushed commit f7869517 to next: Proper change for Ok button, settings dialog change of key used for the previous Ok button. Kept Ok button resource since it's used by other components
10:52 PM
[rubberduck-vba/Rubberduck] rubberduck-vba-releasebot prereleased draft prerelease Prerelease-v2.4.1.5010
[rubberduck-vba/Rubberduck] rubberduck-vba-releasebot created draft prerelease Prerelease-v2.4.1.5010
11:04 PM
[rubberduck-vba/Rubberduck] MDoerner assigned MDoerner to issue #5177: Redim causing debug assertions in GetVariableStmtContext extension method
> **Justification**
Consider the following code (using the Excel object model):
```
Dim col As Sheets
Set col = Application.Worksheets.Item(1)
```
This code will fail, because `col` is a `Sheets` collection, while the object returned from `Worksheets.Item(1)` is a `Worksheet`.
The VBA compiler cannot currently catch this sort of thing, because `Application.Worksheets` returns a reference to the `Sheets` collection, and `Sheets.Item` can return either of two types:
* if you pass in an
Consider the following code (using the Excel object model):
```
Dim col As Sheets
Set col = Application.Worksheets.Item(1)
```
This code will fail, because `col` is a `Sheets` collection, while the object returned from `Worksheets.Item(1)` is a `Worksheet`.
The VBA compiler cannot currently catch this sort of thing, because `Application.Worksheets` returns a reference to the `Sheets` collection, and `Sheets.Item` can return either of two types:
* if you pass in an
[rubberduck-vba/Rubberduck] zspitz added label enhancement to issue #5188: External type definitions for VBA
11:42 PM
[rubberduck-vba/Rubberduck] glowingrunes created comment on issue #5137: Clear SearchBox control by pressing ESC
[rubberduck-vba/Rubberduck] BZngr created pull request #5189: Consolidate name validation to merge BZngr/Rubberduck/ConsolidateNameValidation into rubberduck-vba/Rubberduck/next
> This PR consolidates name/identifier validation code along with a couple improvements for
DeclarationTypes
other than DeclarationType.Variable
1. Replaces VariableNameValidator
class 2. Adds support for different identifier name length validations: variables (255) modules (31) 3. Add detection of "VBA" as invalid when renaming a Project identifier (MS-VBAL 4.1) 4. Consolidates identifier validation code and result messages for Inspections, QuickFixes, and Refactoring. As part of...
researching renaming/identifier issues (e.g., #4819) and while working on a MoveMember refactoring, there appeared to be value in first moving the various versions of validation code from the Inspections, Quick-fixes, and Refactorings to a single location - making the logic and messages common/re-useable.
[rubberduck-vba/Rubberduck] retailcoder created comment on issue #5188: External type definitions for VBA
> `Sheets` is the return type of the `Worksheets` property; `Sheets` is also another property that also yields a `Sheets` reference, only that collection might include sheets that `Worksheets` wouldn't (e.g. `Chart` sheets).
I like this idea... basically document the "overloads" in various type libraries.. I think we could make that work with an xml format; this one would have an overload definition taking a string, another taking a long, and another taking an array (any array I guess).
I like this idea... basically document the "overloads" in various type libraries.. I think we could make that work with an xml format; this one would have an overload definition taking a string, another taking a long, and another taking an array (any array I guess).
11:57 PM
« first day (1947 days earlier) ← previous day next day → last day (1233 days later) »
Transcript for
Oct4
Oct '195
Oct6
VBA Rubberducking
This chat has moved to Discord: discord.gg/MYX9RECenJ