You are here: PSPad forum > English discussion forum > Powershell show clips (ctrl+space) line read

Powershell show clips (ctrl+space) line read

#1 Powershell show clips (ctrl+space) line read

Posted by: clanman | Date: 2024-02-09 09:49 | IP: IP Logged

Clips are a great thing and I am trying to use them to make it easier to select powershell object properties and methods.

First up I have the following clips (keep in mind this is testing and these methods may not belong to the .Net class or object):
; Object methods [.AsType() |G Returns the current type as a Type object] AsType() ; [.AsType(.) |G Returns the current type as a Type object] .AsType() ; [.Clone() |G Creates a new object that is a copy of the current instance] Clone() ; [.Clone(<Object>) |G Determines whether the specified object is equal to the current object] Clone(§|<Object>) ; [.Clone(<Object>, Object>) |G Determines whether the specified object instances are considered equal] Clone(§|<Object>, Object>) ; [.Equals() |G Determines whether two object instances are equal] Equals()

If I write:

[string].<ctrl+space>

I get the above list.

If I write:

$OName.<ctrl+space>

The presented list begins with the $ sign. If I delete that and type a period (.) the above list is presented.

Is there a way to change the second behaviour so the search starts from the dot (.).

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2026 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR