notepad++ user defined regions with folding

后端 未结 7 916
梦谈多话
梦谈多话 2020-11-28 23:00

I can\'t figure out how to configure notepad++ to display regions for user defined keywords.

I have a big trace file which shows the start and the end of a procedure

7条回答
  •  暖寄归人
    2020-11-28 23:12

    I used Marcelo's answer to solve this for myself (in Perl), with one change...
    If I included a space between the comment symbol and the bracket then it wouldn't work. It had to be placed immediately after:

    #START example
    ################{
    
    print "Hi there! ";
    print "How are you?\n";
    
    #}END example
    

    Note that if I do:

    #END example }
    

    with the bracket after the text it won't work either

提交回复
热议问题