Notepad++ Initial Configuration
跳到导航
跳到搜索
- 解压并放置 shortcuts.xml (若为 Portable 版本则就在软件目录下; 若为安装版则在
%AppData%\Notepad++\
下); - Settings > Preferences:
- General > Toolbar > ☑ Hide;
- Editing > Line Wrap > ◉ Default; ☑ Enable smooth font;
- Margins / Border / Edge > Border Width: 0; Line Number > ◉ Constant width; ☐ Display Change History; ☐ Display bookmark;
- New Document > Default language: HTML;
- Recent File History > Display > ☑ In Submenu;
- File Association > Registered extensions: .txt, .log, .ini, .inf, .css, .js, .json, .php, .xml, .xul, .xht, .lua, .md, .wiki;
- Print > Colour Options > ◉ WYSIWYG; Header > Left part: $(SHORT_DATE) $(TIME); Right part: $(FILE_NAME); Footer > Middle part: $(CURRENT_PRINTING_PAGE);
- Backup > Session snapshot and periodic backup > uncheck all;
- Auto-Completion > ☐ Auto-indent; Auto-Insert > ☑ html/xml close tag;
- Cloud & Link > Clickable Link Settings > ☐ Enable;
- 导入 (Settings > Import) 修改好的 Material-Dark 并在 Settings > Style Configurator 里将主题选为此(在此之前先确保偏好的字型档已安装),然后勾选 ‘Enable global font’ 和 ‘Enable global font size’;
- 导入 zoomdisabler_x64.dll 并在其设置中将两项 disable 均勾选;
- 在 Plugins > Plugins Admin 中安装所需 Plugins, 至少有 Compare, ExtSettings, JSTool;
- 修改 ExtSettings 的设置,将 Line Wrapping 下的 Wrap mode 改为 Any character, 修改 JSTool 的设置,将 Format 下的 Indent: 的第一项 ‘Use 4 spaces instead of tab (\t).’ 取消勾选;
- 设置 Compare 的颜色:
- Added line: 27, 95, 35;
- Deleted line: 128, 30, 50;
- Moved line: 0, 39, 79;
- Changed line: 0, 112, 166;
- Change highlight: White.