Search found 137 matches

by PsCustomObject
Mon Aug 02, 2021 7:18 am
Forum: PowerShell Studio
Topic: Code linter/formatter not setting cursor on correct line
Replies: 4
Views: 8232

Code linter/formatter not setting cursor on correct line

Product: PowerShell Studio 2021 (64 Bit) Build: v5.8.192 OS: Windows 10 Pro (64 Bit) I just updated this morning to the latest version and noticed that when using a switch statement with the following syntax: switch ($null) { { $isOnlineRoom -eq $true } # Cursors should be set here when hitting ente...
by PsCustomObject
Tue Mar 16, 2021 2:13 am
Forum: PowerShell Studio
Topic: External variables (dot sourced) and Intellisense
Replies: 5
Views: 4780

Re: External variables (dot sourced) and Intellisense

Oh wonderful yesterday I posted an answer but either it got lost or I did not hit the submit button (I think the latter...) Thanks Alexander, appreciate your answer, I guessed that much but was hoping against hope there was something missed. Script will not be packaged but only scheduled so that's n...
by PsCustomObject
Mon Mar 15, 2021 2:15 pm
Forum: PowerShell Studio
Topic: External variables (dot sourced) and Intellisense
Replies: 5
Views: 4780

Re: External variables (dot sourced) and Intellisense

Thanks Alexander, I imagined this was the case but was hoping against evidence I missed something ;-) Script will just be scheduled so won't be packaged to an exe and could be in a different path than the script itself. I will just keep doing what I did so far, poor man's solution of copying variabl...
by PsCustomObject
Mon Mar 15, 2021 1:26 pm
Forum: PowerShell Studio
Topic: External variables (dot sourced) and Intellisense
Replies: 5
Views: 4780

External variables (dot sourced) and Intellisense

Product, version and build: PowerShell Studio 2021 v5.8.187.0, x64 Operating system: Windows 10 20H2 x64 PowerShell version(s): v7.1.2, v5.1 Not sure if this is the right place to post this as more than reporting an issue this is more of a question. As per subject I'm working on a project requiring ...
by PsCustomObject
Wed Aug 19, 2020 12:31 am
Forum: PowerShell Studio
Topic: Unhandled Exception when using autocomplete for parameters
Replies: 3
Views: 1557

Re: Unhandled Exception when using autocomplete for parameters

Ok I've been able to reproduce this in a (semi) consistent way, this seems to happen when cmdlet is enclosed in parentheses. (New-TimeSpan -Start -<tab here> Basically first parameter will be correctly resolved, tabbing after the second dash will cause the exception to be thrown. I used New-TimeSpan...
by PsCustomObject
Wed Aug 19, 2020 12:27 am
Forum: PowerShell Studio
Topic: Unhandled Exception when using autocomplete for parameters
Replies: 3
Views: 1557

Unhandled Exception when using autocomplete for parameters

To help you better we need some information from you. *** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. *** Product, version and build: PowerShell Studio ...
by PsCustomObject
Sat May 30, 2020 11:32 am
Forum: PowerShell Studio
Topic: Function Builder Issue
Replies: 2
Views: 1397

Function Builder Issue

Product, version and build: Powershell Studio 2020 Version 5.7.178 32 or 64 bit version of product: 64 bit Operating system: Windows 10 2004 32 or 64 bit OS: 64 bit Hello I think this could be related to this https://www.sapien.com/forums/viewtopic.php?f=12&t=14799 but parameter editor in functi...
by PsCustomObject
Wed Apr 22, 2020 12:36 am
Forum: PowerShell Studio
Topic: Properties Tab in Module Manifest file
Replies: 3
Views: 1344

Re: Properties Tab in Module Manifest file

Ah ok, got it thanks :)

Thanks a lot for the quick feedback!
by PsCustomObject
Tue Apr 21, 2020 1:20 am
Forum: PowerShell Studio
Topic: Properties Tab in Module Manifest file
Replies: 3
Views: 1344

Re: Properties Tab in Module Manifest file

Just to add I've tried to open the module's project file and while behavior changed a bit I still see missing attribtues here's the updated screenshot.
SapienProject.png
SapienProject.png (12.32 KiB) Viewed 1340 times
by PsCustomObject
Tue Apr 21, 2020 1:17 am
Forum: PowerShell Studio
Topic: Properties Tab in Module Manifest file
Replies: 3
Views: 1344

Properties Tab in Module Manifest file

Product: PowerShell Studio 2020 (64 Bit) Build: v5.7.174 OS: Windows 10 Enterprise (64 Bit) Build: v10.0.18363.0 Hello, as per subject I am editing a module's manifest file (.psd1) and when accessing the Properties Tab this is all I seee: SapienModule.png I have no issues changing the file propertie...