尋找支援 Verilog/VHDL 自動排版(縮排、對齊、關鍵字大小寫)的編輯器外掛,類似 Visual Studio 對 C# 的格式化功能。
| 編輯器 | 外掛/內建功能 | 安裝/使用方式 |
|---|---|---|
| Notepad++ | Verilog HDL Auto Format (外掛) | 1. 下載 `Verilog_HDL_Auto_Format.dll` 2. 放入 `plugins` 3. `Plugins` → `Verilog HDL` → `Format` |
| UltraEdit | 內建 `Code Reformat` + Verilog/VHDL 詞法檔 | 1. 下載 `verilog.uew` / `vhdl.uew` 詞法檔 2. `Advanced` → `Configuration` → `Editor` → `Syntax Highlighting` 載入 3. `Format` → `Reformat Code` |
| Vim / Neovim | vim-verilog + neoformat / vim-autoformat |
1. `Plug 'vhda/verilog_systemverilog.vim'` 2. `Plug 'sbdchd/neoformat'` 3. `:Neoformat` 執行格式化 |
| VS Code | HDL Formatter (外掛) | 市集搜尋 `HDL Formatter` 安裝,支援 Verilog/SystemVerilog/VHDL,`Shift+Alt+F` 格式化 |
| Emacs | verilog-mode.el (內建) | `M-x verilog-auto` 自動展開/縮排,`M-x indent-region` 格式化區域 |