Notepad++ Initial Configuration

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