MartinGC94
MartinGC94
Good to see you are back to working on this, I was a little afraid the semantic highlighting had made you drop this but like I said before the earlier...
Isn't this line the regex used for meta.hashtable.assignment? https://github.com/PowerShell/EditorSyntax/blob/d10ae29c0d3ceb248172c383a159ae43b9ccfb4d/PowerShellSyntax.tmLanguage#L1502 As far as I can tell that only captures up to the "=" part and when I use the inspect TM...
@237dmitry It's worth noting that the environment variable handling in .NET is broken. It auto expands environment variables when you retrieve them and when you save them it changes the...
@jhoneill I didn't realize there were such recommendations. The default "function" snippet that ISE has uses that syntax, it's only the advanced function snippets that use the param block. Even...
I don't think this should be a strict mode feature. It's better as a script analyzer rule so editors like VS code can warn you before you attempt to run...
Provide a way to exclude cmdlets from some modules from completions in a concrete powershell session
You can (mostly) do this today. If you set `$PSModuleAutoLoadingPreference = "None"` PowerShell won't find commands from modules that haven't been imported so instead of running `Set-CommandCompletion Microsoft.PowerShell.Utility, Microsoft.PowerShell.Management` to...
There was a recent update to address this: https://github.com/PowerShell/PowerShell/pull/18183 so the next preview will probably include this change.
This is a PSReadline issue, see: https://github.com/PowerShell/PSReadLine/issues/722 relevant code is here: https://github.com/PowerShell/PSReadLine/blob/master/PSReadLine/Completion.cs#L305 where it's using a case insensitive hashset to filter out apparent duplicates. GitHubPSReadLine/Completion.cs at master · PowerShell/PSReadLineA bash...
@dkaszews Neat. I just tested it on my Windows 11 PC and it works without issues if you unload the PSReadline module so if there was any doubt before that...
> > Fixes tab completion in scenarios like: `get-chi @()` > > This works for me without the change. Which version are you on? I believe this issue was added...