|
在Gel中整合使用SourceFormatX原始碼美化工具 |
|
|
|
|
|
在Gel中整合使用SourceFormatX原始碼美化工具
下面的用法說明詳細講述了如何將 SourceFormatX 原始碼美化工具的命令列工具整合到 Gel Java IDE 整合開發環境中並在其內快速美化和縮排原始碼與程式碼檔案。我們使用的是 Gel 1.00.RC39 免費版,如果您使用的是 Gel 的新版本或者舊版本,某些功能可能會和我們的描述與截圖略有差別。
|
Add a Tool that will invoke SourceFormatX
1. Click "Tools" -> "Options...".
2. Click the "Tools" tree item, then click "Add" button to add a new tool.
3. Fill in the form as show below: (Assuming you installed SourceFormatX in C:\Program Files\SourceFormatX\)
- Name: SourceFormatX
- Executable: C:\Program Files\SourceFormatX\SourceFormatX.exe
- Working Directory: $(FILE_PATH)
- Parameters: $(FILE)
- Options: Nothing
- Image: Tool 0
4. Click "OK" button to save settings.
Add a keymapping so you can invoke SourceFormatX using Ctrl+Alt+T
1. Click "Tools" -> "Key Maps" -> "Customize Keys...".
2. In the "Categories" box select "Tools", scroll the "SourceFormatX".
3. Assign new key "Ctrl+Alt+T" or other keys.
4. Click "Close" to save settings.
5. Click "Tools" -> "Customize...".
6. Select "Command" page, in the "Categories" box select "Tools", then in the "Commands" box scroll to the "SourceFormatX", then drag this item to toolbar to create a new tool button.
7. Click "Close".
You may now invoke SourceFormatX command line tool by two ways:
1. Using Ctrl+Alt+T
2. By clicking "SourceFormatX" tool button.
不要再浪費時間手工整理原始碼了!現在就下載 SourceFormatX 原始碼美化工具來體會全自動快速整理程式碼的快樂吧!
|