notepad ++用户定义区域折叠 [英] notepad++ user defined regions with folding

查看:1659
本文介绍了notepad ++用户定义区域折叠的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道如何配置notepad ++来显示用户定义关键字的区域。



我有一个大的跟踪文件,显示开始和结束程序。
跟踪文件如下所示:

  Beginn abc.def; 
...
Beginn ghi.jkl;
...
Ende ghi.jkl;
...
Ende abc.def;

我想折叠这些区域:

  [+] Beginn abc.def; 

  [ - ] Beginn abc.def; 
...
[+] Beginn ghi.jkl;
...
Ende abc.def;

如何配置我的记事本++来显示这个。
是可能吗?

解决方案

对于版本 6.5.5 及以上版本:



语言菜单下有一个名为定义您的语言... 的菜单项





在文件夹与默认标签中, 折叠代码,您可以在其中输入打开 - 和关闭 - 关键字。



对于 6.5.5 之前的版本:
$ b





在文件夹&默认,您可以输入文件夹打开关键字和文件夹关闭关键字




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. The trace file looks like this:

Beginn abc.def;
   ...
   Beginn ghi.jkl;
   ...
   Ende ghi.jkl;
   ...
Ende abc.def;

I would like to fold those regions like this:

[+] Beginn abc.def;

or

[-] Beginn abc.def;
       ...
[+]    Beginn ghi.jkl;
       ...
    Ende abc.def;

How do I configure my notepad++ to display this. Is it possible? Do you have any other suggestions?

解决方案

For version 6.5.5 and above:

Under the menu "Language" there is a menuitem called "Define your language..."

In the tab "Folder & Default" is a group called "Folding in code" where you can enter an "Open"- and a "Close"-Keyword.

For versions older than 6.5.5:

Under the menu "View" there is a menuitem called "User-Defined Dialog..."

In the tab "Folder & Default" you can enter a "Folder Open Keyword" and a "Folder Close Keyword"

这篇关于notepad ++用户定义区域折叠的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆