Function list for PowerShell
-
I’m using Notepad++ x64 version 7 and I have added the code below to my functionList.xml but is not working. Can someone provide some guidance as to what is wrong with my change. Under the Function List window all I see is the name of the file but none of the function names.
<?xml version=“1.0” encoding=“UTF-8” ?>
<NotepadPlus>
<functionList>
<associationMap>
<association langID=“53” id=“posh_function”/>
</associationMap>
<parsers>
<parser id=“posh_function” displayName=“PowerShell” commentExpr=“#.+|<#\s.+[^#]#>“>
<function mainExpr=”^(?i)FUN\w+\s+\S” displayMode=“$functionName”>
<functionName>
<nameExpr expr=“[^<#]*”/>
</functionName>
</function>
</parser>
</parsers>
</functionList>
</NotepadPlus> -
Try this parser.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login