[中文版](#備份-Notepad++-設定) # Backup Notepad++ Settings ## Fully Back Up All Notepad++ Settings By following this guide, you can back up all Notepad++ settings, including but not limited to: 1. Opened documents 2. Libraries 3. Syntax highlighting 4. Syntax rules 5. Plugins 6. Auto-completion 7. Macros 8. Syntax completion --- ### Step 1 After installing Notepad++ on both old and new devices, enable the settings shown below and then close Notepad++. ![image](https://hackmd.io/_uploads/r11W3wM4yg.png) [ref](https://www.gfisk.com/notepad-backup-or-migrate/) --- ### Step 2 Copy `%appdata%\Notepad++\` to the same directory on the new device. --- ### Step 3 Copy `%programfiles%\Notepad++\autoCompletion\` to the same directory on the new device. --- ### Step 4 Copy `%programfiles%\Notepad++\plugins` to the same directory on the new device. --- ### Step 5 Restoring Custom Syntax Completion Copy `%programfiles%\Notepad++\functionList\overrideMap.xml` to the same directory on the new device. [ref](https://www.autohotkey.com/boards/viewtopic.php?f=88&t=18960&sid=428d5187e41303ef014e69406bcf1d8e&start=60#:~:text=%E5%9C%A8-,overrideMap,-%E4%B8%AD%EF%BC%8C%E6%82%A8%E5%BF%85%E9%A0%88) --- ## Restore Complete <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> --- [English](#Backup-Notepad++-Settings) # 備份 Notepad++ 設定 ## 完整備份 Notepad++ 的所有設定 按照本教學可以備份所有的 NP++ 設定,包含但不限於以下: 1. 已開啟文件 2. 函式庫 3. 語法高亮 4. 語法 5. 插件 6. 自動完成 7. 巨集 8. 語法補全 --- ### Step 1 新舊裝置安裝 NP++ 後,按照以下設定勾選後關閉 NP++。 ![image](https://hackmd.io/_uploads/r11W3wM4yg.png) [ref](https://www.gfisk.com/notepad-backup-or-migrate/) --- ### Step 2 複製 `%appdata%\Notepad++\` 到新裝置的同目錄。 --- ### Step 3 複製 `%programfiles%\Notepad++\autoCompletion\` 到新裝置的同目錄。 --- ### Step 4 複製 `%programfiles%\Notepad++\plugins` 到新裝置的同目錄。 --- ### Step 5 自訂語法補全還原 複製 `%programfiles%\Notepad++\functionList\overrideMap.xml` 到新裝置的同目錄。 [ref](https://www.autohotkey.com/boards/viewtopic.php?f=88&t=18960&sid=428d5187e41303ef014e69406bcf1d8e&start=60#:~:text=%E5%9C%A8-,overrideMap,-%E4%B8%AD%EF%BC%8C%E6%82%A8%E5%BF%85%E9%A0%88) --- ## 完成還原