|
在CodeWright中整合使用SourceFormatX原始碼美化工具 |
|
|
|
|
|
在CodeWright中整合使用SourceFormatX原始碼美化工具
下面的用法說明詳細講述了如何將 SourceFormatX 原始碼美化工具的命令列工具整合到 CodeWright 整合開發環境中並在其內快速美化和縮排程式碼與原始碼檔案。我們使用的是 CodeWright 7.5 試用版,如果您使用的是 CodeWright 的新版本或者舊版本,某些功能可能會和我們的描述與截圖略有不同。
|
Add a Tool Menu that will invoke SourceFormatX
1. Click "Project" -> "Properties...".
2. Select the "Tools" page.
3. Select the "Settings For:" combo box to "All Configurations" item.
4. Select the "Category:" combo box to "Custom" item.
5. Click the "New" button in the "Description:" box to create a new tool.
6. Enter "SourceFormatX" as new tool's name.
7. In "Command:" box, click the "Browse" (...) button to select the SourceFormatX.exe main executable file. And please put quotation marks " " around the path if it has blank space(s).
8. After adding the SourceFormatX.exe executable file, then enter " %r%e" arguments string. Please note there is one blank space between "SourceFormatX.exe" and "%r%e".
9. Assuming you installed SourceFormatX in C:\Program Files\SourceFormatX\, the form should be shown as below:
10. Then, check the "Background" check box in the "Command Options:" box.
11. Click "OK" button to save settings.
You may now invoke SourceFormatX command line tool by:
1. By clicking "Tools" -> "SourceFormatX".
2. After hearing the bell sound, please refresh CodeWright IDE then click the "Reload document" button to reload the formatted code file.
不要再浪費時間手工整理原始碼了!現在就下載 SourceFormatX 原始碼美化工具來體會全自動快速整理程式碼的快樂吧!
|