|
在EditPlus中整合使用SourceFormatX原始碼美化工具 |
|
|
|
Add a Tool Menu that will invoke SourceFormatX
1. Click "Tools" -> "Configure User Tools...".
2. Click the "User Tools" tree item, then click "Add Tool >>" -> "Program".
3. Assuming you installed SourceFormatX Code Beautifier in C:\Program Files\SourceFormatX\, fill in the form as show below:
- Menu Text: SourceFormatX
- Command: C:\Program Files\SourceFormatX\SourceFormatX.exe
- Argument: $(FilePath)
- Initial: $(FileDir)
4. Click "Apply" button to save settings.
Add a keymapping so you can invoke SourceFormatX using Ctrl+Shift+T
1. Click "Keyboard" tree item.
2. In the "Types" box select "Tool", scroll the "Commands" box and select "User Tool 1".
3. Assign new key "Ctrl+Shift+T" or other keys.
4. Click "Assign", then click "OK" to save settings.
You may now invoke the command line tool of SourceFormatX by two ways:
1. Using Ctrl+Shift+T
2. By clicking "Tools" -> "SourceFormatX".
不要再浪費時間手工整理原始碼了!現在就下載 SourceFormatX 原始碼美化工具來體會全自動快速整理程式碼的快樂吧!
|