00:01
[rubberduck-vba/Rubberduck] AndrewM- opened issue #818: Add support for 'XML' comments to code explorer
> In applications with hundreds of procedures, it gets hard to remember exactly what they do and how they relate to each other. To make my life easier, I have been putting C# style 'XML' comments in my procedures. I wonder if these could be shown as tool tips in code explorer as in the attached mock-up. This would make it far easier to find existing functions suitable for purpose.
... and the
<summary>
tag could be used in the code explorer as tooltips, but also as a pop-up window in the code pane - you could right-click a method (declaration and usage), select "about this 00:56
[rubberduck-vba/Rubberduck] retailcoder added label feature-request to issue #818: Add support for 'XML' comments to code explorer
[rubberduck-vba/Rubberduck] retailcoder added label magic-comments to issue #818: Add support for 'XML' comments to code explorer
[rubberduck-vba/Rubberduck] retailcoder added label magic-comments to issue #810: Support @ignore markers for code inspections
02:12
[rubberduck-vba/Rubberduck] retailcoder commented on issue #818: Add support for 'XML' comments to code explorer
> So, it could look like this then:
'''<summary>Calls functions that create photo hashes for each photo that does not yet have one.</summary>
'''<param name="s">A description for parameter <c>s</c>.</param>
'''<param name="VSN">A description for parameter <c>VSN</c>.</param>
'''<returns>Returns a <see cref="FunctReturn"/> object encapsulating the result.</returns>
Public Function ReadDrivePhotoHashes(s As TypeSQL, VSN As String) As FunctReturn
'...
End Fu
'''<summary>Calls functions that create photo hashes for each photo that does not yet have one.</summary>
'''<param name="s">A description for parameter <c>s</c>.</param>
'''<param name="VSN">A description for parameter <c>VSN</c>.</param>
'''<returns>Returns a <see cref="FunctReturn"/> object encapsulating the result.</returns>
Public Function ReadDrivePhotoHashes(s As TypeSQL, VSN As String) As FunctReturn
'...
End Fu
02:39
[retailcoder/Rubberduck] retailcoder pushed commit c5b625b4 to next: fixed the 225 failing tests by setting up the mock for CodeModule.CountOfDeclarationLines()
[rubberduck-vba/Rubberduck] retailcoder merged pull request #819: fixed the 225 failing tests by setting up the mock for CodeModule.Cou… from retailcoder/Rubberduck/next into rubberduck-vba/Rubberduck/next
[rubberduck-vba/Rubberduck] retailcoder pushed commit c5b625b4 to next: fixed the 225 failing tests by setting up the mock for CodeModule.CountOfDeclarationLines()
02:51
[rubberduck-vba/Rubberduck] scottadoyle commented on issue #305: No additional AddIn was found after installing Rubberduck 1.2.
> I had recently installed rubberduck. I have not used it much. Programming
is not my primary job responsibilities. I thought I had downloaded and
installed the newest version.
I am looking forward to learning how to use the github integration.
On Sep 30, 2015 9:00 PM, "Hosch250" <[email protected]> wrote:
> @scottadoyle <https://github.com/scottadoyle> Any particular reason you
> aren't using 1.4.3? This release brings a bunch of new improvements and bug
> fixes (and a few new bugs
is not my primary job responsibilities. I thought I had downloaded and
installed the newest version.
I am looking forward to learning how to use the github integration.
On Sep 30, 2015 9:00 PM, "Hosch250" <[email protected]> wrote:
> @scottadoyle <https://github.com/scottadoyle> Any particular reason you
> aren't using 1.4.3? This release brings a bunch of new improvements and bug
> fixes (and a few new bugs
03:05
[retailcoder/Rubberduck] retailcoder pushed commit a6b227f4 to next: added Annotations static class; changed const to static readonly. fixes #815
2 hours later…
05:06
[retailcoder/Rubberduck] retailcoder pushed commit 3b86a8df to next: can now disable inspections and fix-all-in-project without drilling down to individual inspection results
[retailcoder/Rubberduck] retailcoder pushed commit 7c4e6020 to next: fixed InvalidOperationException in module grouping view - that grouping doesn't seem to refresh as expected
[rubberduck-vba/Rubberduck] retailcoder created pull request #820: Code Inspection toolwindow enhancements to merge retailcoder/Rubberduck/next into rubberduck-vba/Rubberduck/next
[rubberduck-vba/Rubberduck] retailcoder merged pull request #820: Code Inspection toolwindow enhancements from retailcoder/Rubberduck/next into rubberduck-vba/Rubberduck/next
[rubberduck-vba/Rubberduck] retailcoder pushed commit a6b227f4 to next: added Annotations static class; changed const to static readonly. fixes #815
[rubberduck-vba/Rubberduck] retailcoder pushed commit 3b86a8df to next: can now disable inspections and fix-all-in-project without drilling down to individual inspection results
[rubberduck-vba/Rubberduck] retailcoder pushed commit 7c4e6020 to next: fixed InvalidOperationException in module grouping view - that grouping doesn't seem to refresh as expected
05:38
[rubberduck-vba/Rubberduck] AndrewM- commented on issue #818: Add support for 'XML' comments to code explorer
> I would not use ''' as they do in VB.net because ms-access has a comment block tool on the Edit Toolbar in the VBE. If you have commented out a line, then commented out the rest of the block with the comment block tool, you are already have ''. Sometimes I globally replace On Error with 'On Error and over time build up to '''On Error. This is probably bad practice on my part but VBA is cowboy land. VB.net also seems to be not that popular (dumped from #Develop) and would prefer to use the
4 hours later…
09:38
[rubberduck-vba/Rubberduck] AndrewM- commented on issue #818: Add support for 'XML' comments to code explorer
1 hour later…
11:52
[rubberduck-vba/Rubberduck] retailcoder commented on issue #818: Add support for 'XML' comments to code explorer
> I agree that C#'s syntax looks better than VB.NET's, but C# doesn't use a single-quote to denote a comment, `'///` feels somewhat like a bastardization; I don't like the idea of mixing up syntaxes, especially since we're already using Java-like "@" annotations.
The argument about the `'On Error` building into `'''On Error` doesn't hold, and wouldn't affect XML comments unless the instruction was sitting between an opening and a closing XML tag... *if we exclude picking up standalone/stray c
The argument about the `'On Error` building into `'''On Error` doesn't hold, and wouldn't affect XML comments unless the instruction was sitting between an opening and a closing XML tag... *if we exclude picking up standalone/stray c
1 hour later…
13:32
[rubberduck-vba/Rubberduck] ckuhn203 commented on issue #818: Add support for 'XML' comments to code explorer
> You're not the only one wishing we could hijack intellisense @Retailcoder! This is a great feature request @AndrewM!
Support for XML doc comments is on the roadmap already (somewhere, I'll need to find the issue later and link back to it), but I never considered a tool tip. Most excellent suggestion!
I am going to second that we use the triple apostrophe notation of VB.Net though. It's going to make life much simpler in the long run as far as an implementation goes. I really do bet that
Support for XML doc comments is on the roadmap already (somewhere, I'll need to find the issue later and link back to it), but I never considered a tool tip. Most excellent suggestion!
I am going to second that we use the triple apostrophe notation of VB.Net though. It's going to make life much simpler in the long run as far as an implementation goes. I really do bet that
1 hour later…
1 hour later…
2 hours later…
I have an
IRepository
interface with 12 implementations; goto implementation is useful because if I'm at a call site that's written against IRepository
, "goto definition" takes me to the interface class; "goto implementation" lists all the concrete implementations of the method I'm calling, and lets me navigate there ;-) 20:20
72

TL;DR:
We're proposing a new area called Teams. The goal is to allow groups (of varying sizes) to publicly share about themselves (who they are and what they build) on Stack Overflow. Content can include information about The Team (Overview, Meta Information), a member roster, projects, communit...
20:35
> I have code like this, where `UnitOfWork` is of type `IUnitOfWork`, and `Add` is a method of `IRepository`:
UnitOfWork.Repository("CustomerGroups").Add NewCustomerGroup(description:=description)
UnitOfWork.Commit
The VBE's "goto definition" (Shift+F2) resolves to `IUnitOfWork.Commit` and `IRepository.Add`, respectively; Rubberduck's "find all references" works as expected:
.Add NewCustomerGroup(description:=description)
UnitOfWork.Commit
The VBE's "goto definition" (Shift+F2) resolves to `IUnitOfWork.Commit` and `IRepository.Add`, respectively; Rubberduck's "find all references" works as expected:
 ← previous day next day → last day (2691 days later) »
Transcript for
Oct7
Oct '158
Oct9
VBA Rubberducking
This chat has moved to Discord: discord.gg/MYX9RECenJ