« first day (346 days earlier)      last day (2834 days later) » 

12:00 AM
RELOAD!
[Cardshifter/Cardshifter] 12 commits. 2 opened issues. 1 closed issue. 13 issue comments.
[retailcoder/Rubberduck] 9 commits. 4 opened issues. 1 closed issue. 7 issue comments.
 
Cardshifter did better today, but what a commit that one was.
 
Cardshifter has come a long way for the past three weeks
in TCG Creation, 3 hours ago, by Phrancis
Do you realize how much the project has evolved since you said that, a mere 3 weeks ago?
three weeks ago, you couldn't even make a mod without having to either compile a JAR file or restarting the server. Since then, you can now make a mod in JavaScript, and now in Groovy thanks to Groovy's awesome DSL support.
 
Rubberduck got reorder parameters merged into Next today.
Let's see, has it been just 4 days since I started?
It still has a few bugs/nice features to add.
That is why there were 4 issues opened - I opened all of them.
I'm five tags away from generalist.
 
Isn't it fun when there's real progress?
 
Yup.
 
12:09 AM
Making Cardshifter cards
--------------------------
Then: https://github.com/Cardshifter/Cardshifter/blob/master/cardshifter-core/src/main/java/net/zomis/cardshifter/ecs/usage/PhrancisGame.java#L132

Now: https://github.com/Cardshifter/Cardshifter/blob/groovy/extra-resources/groovy/game1/bios.groovy
 
Great.
I don't play these type of games, or I probably would be working on CS.
Also, I don't know why you didn't write it to be like that from the beginning, maybe something like JSON format.
@Mat'sMug I just opened my Excel doc and tried to open the Code Explorer, and got that Stack Overflow.
I'll load it up on OneDrive for you.
 
Too much Foo can do that. The stack overflow is in the identifier resolution code. My bug.
 
You are view-only.
OK.
So, it was in the same file.
I'll post this on the issue and remove myself - it is obviously something deeper than the parameters thing.
 
Yeah. Try less repetitive naming, the resolution gets confused when there's too many foo's
 
12:17 AM
Sure.
 
I can't see the code in your file btw, phone won't bring up the vbe ;-)
 
> Changing the variables Foo and Goo in Class9 to Yoo and Zoo solved both problems.
 
Kids are tired, heading home soon
 
Have fun!
Where were you all day, at relations?
Lol, not surprised.
 
12:20 AM
Mother-in-law's b-day
 
Say happy birthday for me :)
> Too much Foo Bad for Rubberducks
2
Renamed issue.
You should use that name on a CR question sometime :)
 
Not sure I had that SO exception documented... although I did blog about it on RD News
 
It solved my refactoring issue, and the windows does not come up when there are 0 arguments.
It does show for 1 argument, though.
That is more of a UI issue than a problem though, so not first on my list of things to fix.
 
@Hosch250 well that's am easy fix.. just count the parameters and return if < 2
 
12:27 AM
Yeah.
 
Sigh. VS2013 still crashing on start up after a machine reboot, and a full un-re-install of VS
 
Weird.
 
Maybe that's a sign I don't need to be getting involved in something else...
 
Look at all those warnings.
 
especially since I tried updating Kodi 14.0 to 14.2 and borked that, too.
 
12:32 AM
Sounds like you have a messed-up registry to me.
 
I used Revo to uninstall - it cleans out the registry, as well.
 
Kodi is on its own standalone box
 
[retailcoder/Rubberduck] Hosch250 pushed commit 82e1051b to next: Don't show window for 1- variables
 
12:33 AM
Umm, is really sounds like you have a messed up registry.
 
\[[**retailcoder/Rubberduck**](https://github.com/retailcoder/Rubberduck)\] [**Hosch250**](https://github.com/Hosch250) pushed commit [**ffb29a26**](https://github.com/retailcoder/Rubberduck/commit/ffb29a26bb7e0a74d0c5023470f61e2f5000855a) to [**next**](https://github.com/retailcoder/Rubberduck/tree/next): Merge pull request #499 from Hosch250/next

Don't show window for 1- variables
 
I would NEVER rely on a "registry cleaner" tool - I'd rather have the dead entries.
 
hrm. never had issues with it before.
 
If I need to clean the registry, I do it manually, or by reinstalling Windows.
 
suggestions?
:(
 
12:34 AM
I don't know, I've just read too many problems caused by CCleaner and stuff.
No, I've never been in your situation.
BRB.
 
@Hosch250 lol. Why does it need to tell you that your demo expires in 6 months?
 
They want me to buy it.
 
No shit!
 
It has a Buy button right there.
The best thing is, Office 2016 isn't for sale yet.
 
lol
 
12:43 AM
It just sends me to Office Online.
 
@FreeMan not real sure buddy. I've never had that kind of trouble with VS. Fresh install maybe??
 
> Instructions for building/registering for 64x are missing from the wiki.

https://github.com/retailcoder/Rubberduck/wiki/Building-&-Installation
 
It is a fresh install.
 
1:00 AM
@RubberDuck Yeah, I've already uninstalled & reinstalled once.
I don't mind uninstalling again and doing a registry clean up, but I'm not really sure where in the registry to go rooting around.
which should inspire loads of confidence...
 
@FreeMan You get a star for the sarcasm.
 
I'm glad you saw through that...
 
Hitting the road. Home in 2 hrs
 
@FreeMan Lol...
@Mat'sMug Long drive - have fun!
 
[retailcoder/Rubberduck] Hosch250 pushed commit 53fd5ce8 to next: Fix reorder bug
\[[**retailcoder/Rubberduck**](https://github.com/retailcoder/Rubberduck)\] [**Hosch250**](https://github.com/Hosch250) pushed commit [**81b2210b**](https://github.com/retailcoder/Rubberduck/commit/81b2210b3f853008bbc7d034f6bb405d234f681e) to [**next**](https://github.com/retailcoder/Rubberduck/tree/next): Merge pull request #501 from Hosch250/next

Fix reorder bug
> Whoops, this fixes a bug that caused the parameters of method calls to be reordered incorrectly.
 
1:15 AM
Oh, so it had the commit comment.
 
> Edit - reorder works unless optional parameters are reordered.

Related - do not allow optional parameters to be reordered above non-optional parameters for everything but properties
[retailcoder/Rubberduck] Hosch250 pushed commit 5f12e80d to next: Reordering optional parameters does not crash RD anymore (AFAIK)
\[[**retailcoder/Rubberduck**](https://github.com/retailcoder/Rubberduck)\] [**Hosch250**](https://github.com/Hosch250) pushed commit [**36ba21fa**](https://github.com/retailcoder/Rubberduck/commit/36ba21fa692762761d5711aee7531faa7b5f1d5f) to [**next**](https://github.com/retailcoder/Rubberduck/tree/next): Merge pull request #502 from Hosch250/next

Reordering optional parameters does not crash RD anymore (AFAIK)
 
1:31 AM
crazy idea - might it be related to the fact that I don't have anything resembling a recent version of IE on my machine?
I only use Firefox and Chrome. I don't even have a clue what version of IE is installed
 
That shouldn't matter at all, AFAIK, but it would be good to upgrade anyway.
For all Windows has the fewest vulnerabilities of any OS, IE is still the most vulnerable browser.
(Stats from Kaspersky.)
 
Interesting, I don't even see IE in the uninstall program list. Is it still so tightly tied into the OS that it can't be uninstalled?
 
It cannot be uninstalled, but it can be disabled.
 
guess I'm on IE 11
 
AFAIK, you wouldn't even be able to get anywhere without IE to get started nowadays.
Maybe you can install programs with the command line (or maybe you have them on an external HDD, most don't), but I've not heard of it.
 
1:39 AM
that's true. On a fresh Windows install, you have to use IE to get Firefox or Chrome installed.
suppose you could get it across the network or from a stick, though.
 
I'm using IE for now, just because I'm too lazy to install another browser.
 
lol
that's really lazy!
 
I don't have a network to get it across, but I use IceDragon (an FF variant) when I'm in college.
I might use Edge this semester, depending on how well the webpage displays - it doesn't display right on Opera, Chrome, or IE.
It only displays OK on FF.
 
[retailcoder/Rubberduck] Hosch250 pushed commit 279bdb52 to next: Prevent reordering optional parameters above non-optional parameters
\[[**retailcoder/Rubberduck**](https://github.com/retailcoder/Rubberduck)\] [**Hosch250**](https://github.com/Hosch250) pushed commit [**1c59a453**](https://github.com/retailcoder/Rubberduck/commit/1c59a45347cdc1f2f1d29d1dabf8fb8744ece15e) to [**next**](https://github.com/retailcoder/Rubberduck/tree/next): Merge pull request #503 from Hosch250/next

Prevent reordering optional parameters above non-optional parameters
 
1:56 AM
@Mat'sMug New stripe colors:
Lavender:
White Smoke:
Seashell:
I like Seashell best, but you (@RubberDuck) get final say.
 
> @retailcoder Oh, just to clear up any misunderstanding, you can click the method name from any call or the definition, and it will work. You cannot click anywhere else, though.
 
Another thunderstorm coming through, and I might as well get the dishes done.
@Mat'sMug On another point, I really like R# for cleaning up my code after I wrote and debugged it - it can really help clean it up.
 
@Hosch250 try Ctrl+T "goto anything" - that should be the next thing to implement in RD ;-)
(Gas+coffee+smoke stop)
 
Will later.
I should probably clean up all the refactoring bugs next instead of doing new features so we are ready to release.
I feel really guilty about how dirty my code is - I'm going to refactor it tomorrow.
And then - to CR we go!
 
@Hosch250 If we're down to picking colors from among lavender, white smoke and seashell, we must be really bored or very close to done!
 
2:06 AM
@FreeMan There are no bugs in my implementation that I am responsible for, AFAIK.
I need people who know VBA better to test it now.
 
For the record, wife says lavender wins :)
Back on the road
 
@Mat'sMug And we all know that the wife wins when it comes to colors.
 
OK, you are for lavender, I bet Rubberduck picks white smoke ;)
I thought lavender was a bit strong - it looks worse the bigger the stripe is, too.
@FreeMan Wives usually do the color picking, AFAIK :)
2
It leaves the husbands free to do the painting.
 
@Hosch250 truth!
 
Also, another UI issue, I need to either write a comment or reduce the large empty white block at the top of the window.
 
2:24 AM
Oh, I can't find the VBE Code Pane (or I don't know what it is).
I can't add the refactor button to it if I can't find it, can I?
The reorder button is in the Refactor folder of the right-click window when you right-click some code, and in the menu bar at the top.
 
2:43 AM
@Hosch250 I think we're using smoke everywhere else... But if @Mat'sWife says lavender then lavender it is. =)
 
3:12 AM
Just for kicks, I tries VS again. It crashed again. Instead of telling it to shut down, I clicked on the debug option. It fired up VS to debug - which crashed. This time, though, it gave me an error message:
An unhandled win32 exception occurred in devenv.exe [5272], Just-In-Time debugging this exception failed with the following error: The remote procedure call failed.
 
@RubberDuck it was WhiteSmoke in 1.0 IIRC... been Lavender for a while
@Hosch250 there should be a short sentence there, with minimal instructions
Like, "Select parameter and use move up / move down buttons, or drag and drop to reorder parameters."
@Hosch250 "when you right-click some code" ~> that's the code pane context menu ;-)
@FreeMan irony would be to be prompted if you want to debug the issue in Visual Studio!
Oh wait...
lol
 
3:34 AM
@Mat'sMug precisely.
There are several Win updates that I'm currently downloading, maybe one of them will do something useful.
any concern with not having .NET 4.5.2? It's been on the update list for a while, but hasn't wanted to install itself.
maybe that's another symptom of a bigger issue...
 
@FreeMan I'd try that first!
 
I'll get everything else updated & reboot, then see if I can get that to update and/or find a direct install of it.
 
4:09 AM
@RubberDuck We are currently using Lavender, but I guess Mat's wife says Lavender, I'm fine by that.
 
I didn't like WhiteSmoke, it felt too ...boring. SeaShell doesn't look too bad, but I'd have to see it in the Code Inspections, Test Explorer and ToDo Explorer toolwindows to settle.
 
I didn't like WhiteSmoke either. I just thought the Lavender might be a titch bold, but I don't really care.
Most other default colors will be way too bold.
 
I agree, but couldn't find any better
the blues felt weird
 
me too, but anything other than WhiteSmoke looked too aggressive :(
AliceBlue felt like SE chat
 
4:20 AM
Can we do a custom color?
Lol.
 
of course we can
 
OK, I'll try a few out.
 
RubberduckYellow
 
I've never seen a yellow look good, but we could try a few.
 
meh
I think off-white is a winner
but finding the right shade is hard
 
4:26 AM
Top one is hex EEEEEE and bottom is hex E0E0E0
 
I'd like it a notch lighter than the form background (/grid headings)
bottom too dark IMO
 
I need to get ready for bed now.
See you.
 
ok
'night!
 
4:53 AM
> v1.22 has 265 downloads
 
Thank you @rubberduck203 for making the credentials handling more secure! Awesome idea and very neat code! :+1: https://twitter.com/Rubberduck203/status/599631525139779584
 
> pulling 55 commits
 
5:25 AM
[retailcoder/Rubberduck] retailcoder pushed commit 0292e3c8 to next: UI adjustments
 
@Hosch250 I changed the FormBorderStyle from Sizeable to FixedSingle, removed the controlbox minimize and maximize buttons, added an InstructionsLabel and resized the buttons + added icons
 
5:44 AM
also I don't like that it's only showing the IdentifierName. changed it to display the entire arg definition
 
6:43 AM
hey
 
hey
 
7:05 AM
[retailcoder/Rubberduck] retailcoder pushed commit 850bb4ae to next: Fixed selection issue, added comments/notes for refactoring.
 
ready for a photoshoot
nope. I messed something up
ah, a stupidity
 
[retailcoder/Rubberduck] retailcoder pushed commit 65964d66 to next: fixed bug introduced with CurrentRow
 
@Hosch250 one annoying thing I forgot to fix in the UI: grid height should be fixed / user shouldn't be allowed to resize row height
TTGTB
 
7:25 AM
#ComingSoon: #Refactor #VBA methods by changing parameter order! (yes, it knows optional parameters must be last) http://t.co/4WqCq1fQxb
 
 
4 hours later…
11:35 AM
> There's some code in the Source Control UI That may help with this. It's in the Changes view I think. If you do end up re-using that code, please try to find a way to extract the logic into its own class. May or may not be possible. The logic handles three boxes and each of them a bit differently.
 
12:03 PM
> I don't quite understand what you're doing here. You're returning at the same time the method would return anyway. Did you mean to check the value for null prior to setting?? If so, an argument exception should be thrown, no?
> Do we really want to mix and match XAML with Winforms? If we decide this dialog should be dockable later, this entire UI would need rebuilt and ported to Winforms. That may be unlikely, but something to consider.
> Needs a proper TODO: comment
 
12:37 PM
I don't think the duck likes me any more. :(
 
@FreeMan Of course I do!
It's "just" some sort of parse error.
 
This is PPT code, where a freshly opened PPTX with code was parsed, and the creatively named Module1 doesn't exist in the code explorer
 
If the parser bombs, the module won't show.
 
It parsed the class just fine.
Are you saying it won't parse my code because I don't have class?
Attempted to run windows update on my home machine last night in my admin account, then switched user to my non-admin account. machine froze up.
left it running overnight in the hopes that something would finish and I'd get a display back. No such luck.
Not RDs fault, but I gotta blame someone!
 
I'm saying something in that standard module caused the parser to bomb out.
Was it totally empty?
 
12:42 PM
nope, there is a Private Sub, a Public function and a couple of implicitly public subs
nothing super fancy or involved. Except that VBA in PPT seems to be a nearly unheard of concept. Why would anyone ever want to automate generation of a PPT?
 
Maybe I should post the code - I just copy/pastad into a brand new presentation with nothing else in it, and it won't parse it there, either.
you want that I should open an issue & post the code on Git?
 
If you have line numbers in there, it's a know issue
 
nope, no line numbers.
Haven't used line numbers since I learned to code on an Apple ][ in 7th grade.
2
BTW, can I adopt you guys? You seem to like my funny corny one-liners much more than my own kids do...
 
@msdev A @vtechtoys computer with BASIC and a single line LCD display. I made it ask my name and say hello. #NoLookingBack
 
12:51 PM
@RubberDuck edit button FTW
 
There. Just like it never happened. =;)-
 
LOL
sadly, I can't star the (removed)...
 
lol
 
You want the code to see if someone can figure out what's breaking the parser?
I'd offer to help, but I can't get VS to function on my machine just yet...
 
@FreeMan hmm debug build? Look under %appdata%/rubberduck, there's a log file for parser errors
 
12:56 PM
nope, still only have the .config
 
@FreeMan if it's not a debug build then yeah we need the code, or a better 8-ball
 
May 14 at 16:38, by RubberDuck
We need to make that log opt-in in the settings.
ok, off to Git I go.
 
posted on May 18, 2015

Master Bawan came upon a monk struggling with the photocopy machine. The monk was jabbing buttons in frustration, but the copier sat silent. Bawan shooed the boy away, saying: “Machines can sense desperation. It unsettles them.” The master calmly pressed buttons one by one, pausing to breathe between each. The machine chugged to life, and the desired copies began to appear. The monk ask

 
> The following code, in a standard module in a PowerPoint presentation, seems to break the parser, yet produces no visible error messages. I don't have a debug version running, so I don't get a parse log.

```
Option Explicit

Dim PPTObj As New Class1

Public Sub NameSlides()
Dim Slide As Slide
Dim Name As String

For Each Slide In ActivePresentation.Slides
On Error GoTo eh
Name = Right(Slide.Shapes("SlideName").TextFrame.TextRange, Len(Slide.Shapes("SlideName").TextFrame
 
@StackExchange That's a good one.
 
1:04 PM
Of it's the nested calls we have a big problem
 
@RubberDuck I thought the 4th word was "and"...
 
> Turns out Dim is illegal outside a procedure scope, that code doesn't compile - RD assumes your code compiles... what happens if you replace Dim with Private?
 
Alt+D,Enter ~> compile error - right? @FreeMan @RubberDuck
 
> > this is a bug report, not a code review!

---

> Turns out Dim is illegal outside a procedure scope, that code doesn't compile - RD assumes your code compiles... what happens if you replace Dim with Private?

Looks like it is... =;)-
> Odd, the only compile error I got was here:

```
If InStr(1, Dest, "dev") > 0 Then
Action = MsgBox("About to OVER WRITE the Dev copy with this one." & vbCrLf & "Click 'Cancel' to prevent this and save manually", vbOKCancel, "OVER WRITE WARNING!!")
Else
Action = MsgBox("About to OVER WRITE the PRODUCTION copy with this one." & vbCrLf & "Click 'Cancel' to prevent this and save manually", vbOKCancel, "OVER WRITE WARNING!!")
End If
End If
```

If you can imagine, one `
 
@Mat'sMug except that it compiles just fine for me with the Dim there.
running Office 2010, if that matters.
I have global Dims in Excel & Access code, too.
 
1:18 PM
> Actually, `Dim` at the module level seems to be totally legit @retailcoder.

Option Explicit

Dim PPTObj As New Collection
 
no issues with compile or parse
 
> > Running Office 2010, I don't get a compile error with that global Dim. However, changing the Dim to Private unbreaks the parser.

Houston, we have a problem.
 
@Duga yeah, what he said ^^ !!
 
Is it a cls or a bas module?
 
standard bas module. I ain't got no class!
42 mins ago, by FreeMan
Are you saying it won't parse my code because I don't have class?
at the moment, Dim vs Private doesn't effect me - I'm not even sure why I've got that declaration there, however, it does look like an issue...
 
1:25 PM
the parser doesn't know if it's a class or a class module
but VBA might care ;-)
woah
 
> Ok, I'm lost here.

![image](https://cloud.githubusercontent.com/assets/5751684/7681708/3da0f0e4-fd40-11e4-9104-410c9c246fb5.png)
 
@Duga Try it in PPT?
 
> @retailcoder - Try it in PowerPoint instead of Excel.

Wouldn't think it should matter, but...
 
I took your code and pasted it into my module - Private doesn't fix anything
 
1:32 PM
?? seems to fix the parse in PPT...
 
well there's this:
2015-05-18 09:34:20.9040 ERROR
Parser encountered a syntax error in VBAProject.Module1, line 58. Content: ' End If'

Rubberduck.Parsing.Symbols.SyntaxErrorException: extraneous input 'End If' expecting {END_SUB, NEWLINE}
at Rubberduck.Parsing.Symbols.ExceptionErrorListener.SyntaxError(IRecognizer recognizer, IToken offendingSymbol, Int32 line, Int32 charPositionInLine, String msg, RecognitionException e) in c:\Users\Mathieu\Source\Repos\Rubberduck\Rubberduck.Parsing\Symbols\ExceptionErrorListener.cs:line 10
that that fixes the parser
 
18 mins ago, by Duga
> Odd, the only compile error I got was here:

```
If InStr(1, Dest, "dev") > 0 Then
Action = MsgBox("About to OVER WRITE the Dev copy with this one." & vbCrLf & "Click 'Cancel' to prevent this and save manually", vbOKCancel, "OVER WRITE WARNING!!")
Else
Action = MsgBox("About to OVER WRITE the PRODUCTION copy with this one." & vbCrLf & "Click 'Cancel' to prevent this and save manually", vbOKCancel, "OVER WRITE WARNING!!")
End If
End If
```

If you can imagine, one `
Yeah, not sure how the extra End If got in there, obviously, it should have been removed.
once I removed that, it compiled in PPT, but still won't parse.
 
> Ok so I copied the code into a new module, and get this parser log:

> 2015-05-18 09:36:39.2320 ERROR
Parser encountered a syntax error in VBAProject.Module1, line 87. Content: ' End If'

> Rubberduck.Parsing.Symbols.SyntaxErrorException: extraneous input 'End If' expecting {END_SUB, NEWLINE}
at Rubberduck.Parsing.Symbols.ExceptionErrorListener.SyntaxError(IRecognizer recognizer, IToken offendingSymbol, Int32 line, Int32 charPositionInLine, String msg, RecognitionException e) in
 
nope, scratch that.
Just tried to parse again, with the global Dim ... and it worked just fine.
?????
 
1:39 PM
Looks like the non-compiling code broke the parser, which then refused to properly reparse until I closed PPT & reopened it. Now it will compilable code, it will parse just fine whether the global is Dim or Private.
maybe have that parse error throw up a message of some sort indicating that the user should check to ensure code compiles instead of just silently dieing?
 
well you have 2 extraneous End If in there
and then this:
2015-05-18 09:39:42.7925 ERROR
Parser encountered a syntax error in VBAProject.Module1, line 103. Content: ' For i = 0 To NDrives.Count - 1 Step 2'

Rubberduck.Parsing.Symbols.SyntaxErrorException: extraneous input 'For' expecting NEWLINE
at Rubberduck.Parsing.Symbols.ExceptionErrorListener.SyntaxError(IRecognizer recognizer, IToken offendingSymbol, Int32 line, Int32 charPositionInLine, String msg, RecognitionException e) in c:\Users\Mathieu\Source\Repos\Rubberduck\Rubberduck.Parsing\Symbols\ExceptionErrorListener.cs:line 10
I've narrowed it down to this:
Public Function UNCpath(ByVal DrivePath As String) As String

    Dim nwork As Object
    Set nwork = CreateObject("WScript.Network")

    Dim NDrives As Object
    Set NDrives = nwork.EnumNetworkDrives

    Dim drives As Integer
    drives = NDrives.Count - 1

    Dim i As Long
    For i = 0 To drives Step 2
      If NDrives.Item(i) <> vbNull And InStr(1, DrivePath, NDrives.Item(i), 1) > 0 Then
        UNCpath = Replace(DrivePath, NDrives.Item(i), NDrives.Item(i + 1))
        Exit For
    Next
can't get this function to parse
oh wait
the End If was needed there
works:
Public Function UNCpath(ByVal DrivePath As String) As String

    Dim nwork As Object
    Set nwork = CreateObject("WScript.Network")

    Dim NDrives As Object
    Set NDrives = nwork.EnumNetworkDrives

    Dim i As Long
    For i = 0 To NDrives.Count - 1 'Step 2

        If NDrives.Item(i) <> vbNull And InStr(1, DrivePath, NDrives.Item(i), 1) > 0 Then
            UNCpath = Replace(DrivePath, NDrives.Item(i), NDrives.Item(i + 1))
            Exit For
        End If

    Next

End Function
 
> Ok I played with your code a bit, and it all boils down to this extraneous `End If` in the above parser log. Once I removed that extra `End If` I could parse without problems:

![image](https://cloud.githubusercontent.com/assets/5751684/7682059/03460472-fd43-11e4-9789-112d36aa0345.png)
 
> Problem in chair, not in duck
>
> -- Houston
 
PEBKAC.
back to my hole... :/
 
1:51 PM
lol
 
It would still be a bit more User Friendly if there was some sort of warning about the non-compilable code, instead of a silent death.
 
good point
although the parse error could be just about anything.
and I can't assume it's caused by the user trying to parse non-compilable code..
 
> ProTip: Compile your code before trying to run code inspections
2
 
@FreeMan would it have helped to see a msgbox saying this?
> Parser encountered a syntax error in VBAProject.Module1, line 87. Content: ' End If'

Rubberduck.Parsing.Symbols.SyntaxErrorException: extraneous input 'End If' expecting {END_SUB, NEWLINE}
I'm logging those because I don't deem exception messages 'user-friendly' ;-)
well I learned that Dim statements outside procedure scope were legal, compilable, and handled by our grammar.
for some odd reason I always declare my private fields with Private
 

« first day (346 days earlier)      last day (2834 days later) »