Matt McNabb

Results 44 comments of Matt McNabb
trafficstars

I definitely see your point, but if this warning is noise, is the reverse not also true - that the current "UseDeclaredVarsMoreThanAssignments" rule is also just noise?

I could assign variable values in one script but call them in another, or just export them from a module. In fact, I could have a module of nothing but...

Depending on the day of the week, I seem to have scripts that have one or the other of these two cases, but rarely both. ;) So I guess the...

Ok, sounds like the agreement is to leave this out. I'll concede the point!

@MaceWindu thanks for looking into this! I have some edge cases in my project where certain functionality is not available in directly via the database, and my solution is to...

Like the idea, but not sure about using a generic file name like profile.ps1. I can imagine someone loading a project with a file named that and inadvertently running some...

I'm just saying that if there's a chance that a user will update the extension and then open a workspace that contains a file matching whatever the naming convention may...

Plus one on the request from @adbertram. The key here is that the token rename should be scope-aware in PowerShell. We've been doing this in ISESteroids for a while: ![image](https://cloud.githubusercontent.com/assets/6998507/20901627/5975974a-bb01-11e6-870a-ed543d3a68c4.png)

@rkeithhill you're right about the intention of the example above. Sounds like it's difficult to implement - still would be really nice to have. Wonder how it's achieved in ISE...

@VinceRibs Are you still having this issue? I've seen this occasionally over the last few years and it always seems to be transient.