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” ?>
    <association langID=“53” id=“posh_function”/>
    <parser id=“posh_function” displayName=“PowerShell” commentExpr="#.+|<#\s.+[^#]#>">
    <function mainExpr="^(?i)FUN\w+\s+\S
    " displayMode="$functionName">
    <nameExpr expr="[^<#]*"/>

Log in to reply