有人知道如何在notepad++中更改背景颜色、字体大小和其他基于外观的设置吗?默认是白色,但我正在尝试将其改为深灰色或其他颜色。


当前回答

如果有人想启用黑暗模式,可以按照以下步骤进行

打开notepad++,在菜单栏上选择“设置”,然后选择“样式配置器”。 选择主题“Obsidian”(可以选择其他黑暗主题) 点击保存&关闭

其他回答

进入“设置->样式配置器”

选择主题:选择你最喜欢的(前两个最容易阅读,大多数人的喜好)

您可能需要管理员权限才能在您的系统上执行此操作。

Create a folder 'themes' in the Notepad++ installation folder i.e. C:\Program Files (x86)\Notepad++ Search or visit pages like http://timtrott.co.uk/notepad-colour-schemes/ to download the favourite theme. It will be an XML file. Note: I prefer Neon any day. Download the themes from the site and drag them to the themes folder. Note: I was unable to copy-paste or create new files in 'themes' folder so I used drag and that worked. Follow the steps provided by @triforceofcourage to select the new theme in Notepad++ preferences.

如果您不能添加主题,一个变通办法是转到

用户/ Appdata / LocalRoaming / notepad++

确保将styles .xml中的任何数据保存为之前的备份

在那里你会发现一个stylers.xml,你可以编辑它,任何你需要的xml格式。 (https://raw.githubusercontent.com/dracula/notepad-plus-plus/master/Dracula.xml)

有时即使在添加了文件之后,notepadd++也无法拾取主题 要恢复,只需用备份文件编辑styles .xml。

重新启动后,您可以看到notepad++已将该样式作为默认样式

我刚刚安装了最新版本的notepad++网站(目前是v8.1),它提供了一个显式的暗模式设置。 点击“设置”->“首选项…”->“暗模式”->选中“启用暗模式”复选框。编辑器可能需要重新启动才能完全生效。 https://notepad-plus-plus.org/downloads/

如果有人想启用黑暗模式,可以按照以下步骤进行

打开notepad++,在菜单栏上选择“设置”,然后选择“样式配置器”。 选择主题“Obsidian”(可以选择其他黑暗主题) 点击保存&关闭