Hello.
Please, help me with highligting variables in Powershell:
Words that begin with $ sign —
$item = ***
$web.GetSomething
with best regards.
Powershell variables
- Rickard Johansson
- Site Admin
- Posts: 6783
- Joined: 19 Jul 2006 14:29
Re: Powershell variables
You could use blocks, e.g.
[Block]
1_Name=Variable $
1_OnLine=1
1_AsString=1
1_Start=$
1_End=
Take a look at the Pearl syntax files.
[Block]
1_Name=Variable $
1_OnLine=1
1_AsString=1
1_Start=$
1_End=
Take a look at the Pearl syntax files.
Re: Powershell variables
Thank you, Rickard.
I'll try.
I'll try.
-
- Posts: 1
- Joined: 10 Jan 2015 09:31
Re: Powershell variables
Yes! Maybe something like this (not tested...)
[Keywords]
#Function names=_[0-9a-fA-F_]+
[Keywords]
#Function names=_[0-9a-fA-F_]+
white