Function List Plugin does not work in NP++ 6

Tom
2012-09-07
2012-11-14
  • Tom

    Tom - 2012-09-07

    Hello,
    first at all thanks for all the work and that great tool, but with version 6.x.x (up to the latest) the function list plugin (any downloadable version) does not work anymore. If I open any kind of *.c file, and start the plugin, it hangs up (shows only half list of functions and one core of the processor goes to 100%. After downgrading the NP++ back to version 5.9.8 all is fine again.

    HELP, is this a known bug and already in bugfixing process? Or any hint how to get it running with version 6 ?
    many thanks,
    greetings Tom

     
  • cchris

    cchris - 2012-09-09

    Function List has not been maintained for a long time, and has been reported unstable for quite a while.
    Consider using SourceCookifier insead, it is actively maintained and apears to work all right, as well as providing all that FunctionList had used to. FL was a great tool but which couldn't follow the move.

    CChris

     
  • Tom

    Tom - 2012-09-12

    Hi, thanks for reply, the SourceCookifier has not the 100% identical functionality, but it works and fulfils for the first, many thanks,
    Tom

     
  • Jan Schreiber

    Jan Schreiber - 2012-09-14

    Also, TagsView is an excellent plugin that might help fill the gap left by Function List.

     
  • Norbert

    Norbert - 2012-10-03

    Hi there, if you insist on continuing to use FunctionList, you have to modify your FunctionListRules.xml in \Users\…\Appdata\Roaming\Notepad++\plugins\config (path for W7). In the entry for "C", I had to remove the Group name="STRUCT" and Group name="ENUM_SUB". No idea why, but now it works. Similar changes for C++. I have not tested any other languages.

    Below I copied the entire entries for "C" and "C++":

        <Language name="C++" imagelistpath="">
            <CommList param1="//" param2="" />
            <CommList param1="/\*" param2="\*/" />
            <CommList param1='\&amp;quot;' param2='\&amp;quot;' />
            <CommList param1="&apos;" param2="&apos;" />
            <Group name="INCLUDE" subgroup="" icon="4" child="0" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="" keywords="">
                <Rules regexbeg="#include\s+" regexfunc='+' regexend="" bodybegin="" bodyend="$" sep="" />
            </Group>
            <Group name="VARIABLE" subgroup="" icon="15" child="15" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="" keywords="\&amp;lt;return\&amp;gt;|\&amp;lt;delete\&amp;gt;|\&amp;lt;case\&amp;gt;|\&amp;lt;else\&amp;gt;|\&amp;lt;typedef\&amp;gt;|\&amp;lt;LOCAL\&amp;gt;|\&amp;lt;static\&amp;gt;|\&amp;lt;for\&amp;gt;">
                <Rules regexbeg="^\s*" regexfunc="++\w+*;" regexend="" bodybegin="" bodyend="$" sep="" />
                <Rules regexbeg="^\s*" regexfunc="\w++\(\*\w+\)\s*\(.*;" regexend="" bodybegin="" bodyend="$" sep="" />
                <Rules regexbeg="^\s*" regexfunc="\w*\s*\w++\w+[\s\*\w*]*=*.*;" regexend="" bodybegin="" bodyend="$" sep="" />
            </Group>
            <Group name="CLASS" subgroup="FUNCTION" icon="1" child="11" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="\{" keywords="">
                <Rules regexbeg="^\s*class\s+" regexfunc="\w+" regexend="" bodybegin="\{" bodyend="\}" sep="" />
            </Group>
            <Group name="FUNCTION" subgroup="IF" icon="9" child="17" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="\{" keywords="\&amp;lt;if\&amp;gt;|&lt;\else\&amp;gt;|\&amp;lt;return\&amp;gt;|\&amp;lt;define\&amp;gt;">
                <Rules regexbeg="\s*\w++" regexfunc="\w+" regexend="\s*\(.*\)" bodybegin="\{" bodyend="\}" sep=";" />
                <Rules regexbeg="\s*\w++" regexfunc="\w+" regexend="\s*\(.*\)\s*;" bodybegin="" bodyend="$" sep="" />
            </Group>
            <Group name="ENUM" subgroup="ENUM_SUB" icon="5" child="14" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="" keywords="">
                <Rules regexbeg="enum\s+" regexfunc="\w+" regexend="" bodybegin="\{" bodyend="\}.*;" sep=";|:|\(" />
            </Group>
            <Group name="UNION" subgroup="" icon="8" child="10" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="" keywords="">
                <Rules regexbeg="union\s+" regexfunc="\w+" regexend="" bodybegin="\{" bodyend="\}.*;" sep=";" />
            </Group>
            <Group name="DEFINE" subgroup="" icon="3" child="3" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="" keywords="">
                <Rules regexbeg="#*define\s+" regexfunc="\w+.*" regexend="" bodybegin="" bodyend="$" sep="" />
            </Group>
            <Group name="IF" subgroup="" icon="3" child="3" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="" keywords="">
                <Rules regexbeg="#if*\s+" regexfunc=".*" regexend="" bodybegin="" bodyend="#endif" sep="" />
            </Group>
        </Language>
        <Language name="C" imagelistpath=">
            <CommList param1="//" param2="" />
            <CommList param1="/\*" param2="\*/" />
            <CommList param1='\&amp;quot;' param2='\&amp;quot;' />
            <CommList param1="&apos;" param2="&apos;" />
            <Group name="INCLUDE" subgroup="" icon="4" child="0" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="" keywords="">
                <Rules regexbeg="#include\s+" regexfunc='+' regexend="" bodybegin="" bodyend="$" sep="" />
            </Group>
            <Group name="VARIABLE" subgroup="" icon="15" child="15" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="" keywords="\&amp;lt;return\&amp;gt;|\&amp;lt;delete\&amp;gt;|\&amp;lt;case\&amp;gt;|\&amp;lt;else\&amp;gt;|\&amp;lt;typedef\&amp;gt;|\&amp;lt;LOCAL\&amp;gt;|\&amp;lt;static\&amp;gt;|\&amp;lt;for\&amp;gt;">
                <Rules regexbeg="^\s*" regexfunc="++\w+*;" regexend="" bodybegin="" bodyend="$" sep="" />
                <Rules regexbeg="^\s*" regexfunc="\w++\(\*\w+\)\s*\(.*;" regexend="" bodybegin="" bodyend="$" sep="" />
                <Rules regexbeg="^\s*" regexfunc="\w*\s*\w++\w+[\s\*\w*]*=*.*;" regexend="" bodybegin="" bodyend="$" sep="" />
            </Group>
            <Group name="CLASS" subgroup="FUNCTION" icon="1" child="11" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="\{" keywords="">
                <Rules regexbeg="^\s*class\s+" regexfunc="\w+" regexend="" bodybegin="\{" bodyend="\}" sep="" />
            </Group>
            <Group name="FUNCTION" subgroup="IF" icon="9" child="17" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="\{" keywords="\&amp;lt;if\&amp;gt;|&lt;\else\&amp;gt;|\&amp;lt;return\&amp;gt;|\&amp;lt;define\&amp;gt;">
                <Rules regexbeg="\s*\w++" regexfunc="\w+" regexend="\s*\(.*\)" bodybegin="\{" bodyend="\}" sep=";" />
                <Rules regexbeg="\s*\w++" regexfunc="\w+" regexend="\s*\(.*\)\s*;" bodybegin="" bodyend="$" sep="" />
            </Group>
            <Group name="ENUM" subgroup="ENUM_SUB" icon="5" child="14" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="" keywords="">
                <Rules regexbeg="enum\s+" regexfunc="\w+" regexend="" bodybegin="\{" bodyend="\}.*;" sep=";|:|\(" />
            </Group>
            <Group name="UNION" subgroup="" icon="8" child="10" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="" keywords="">
                <Rules regexbeg="union\s+" regexfunc="\w+" regexend="" bodybegin="\{" bodyend="\}.*;" sep=";" />
            </Group>
            <Group name="DEFINE" subgroup="" icon="3" child="3" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="" keywords="">
                <Rules regexbeg="#*define\s+" regexfunc="\w+.*" regexend="" bodybegin="" bodyend="$" sep="" />
            </Group>
            <Group name="IF" subgroup="" icon="3" child="3" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="" keywords="">
                <Rules regexbeg="#if*\s+" regexfunc=".*" regexend="" bodybegin="" bodyend="#endif" sep="" />
            </Group>
        </Language>

    Norbert

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks