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

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

问题描述

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

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;

[-] 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?

推荐答案

对于6.5.5及以上版本:

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

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.

查看"菜单下有一个名为用户定义的对话框..."

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天全站免登陆