notepad++ user defined regions with folding

后端 未结 7 921
梦谈多话
梦谈多话 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:29

    !! Disclaimer: Total noob at PHP !!

    Assuming that you are wrapping your PHP in some HTML, you can define custom sections using ?>.

    Ex:

    
    
    
    
    
    "Sacramento","TX" => "Austin","OR" => "Salem",); echo $capitals['TX'];echo nl2br("\n"); ?>

    Notepad++ will then allow you to collapse the sections arbitrarily and you can label the sections with "#". Just learning PHP, so my code might not be awesome; It's still an ongoing process.

提交回复
热议问题