問(wèn)題描述
在執(zhí)行Source->Format"時(shí),是否有任何方法可以更改 NetBeans 自動(dòng)格式化代碼的標(biāo)準(zhǔn)?我好像記得在某處看到過(guò)這個(gè)選項(xiàng),但我找不到任何關(guān)于它的信息.
Is there any way of changing the standard by which NetBeans automatically formats the code when doing "Source->Format"? I seem to remember seeing this option somewhere, but I can't find anything about it.
推薦答案
您可以更改非常有限的與格式相關(guān)的設(shè)置.
打開(kāi) netbeans IDE
轉(zhuǎn)到工具->選項(xiàng)
單擊選項(xiàng)對(duì)話框左上角的 Editor 按鈕
單擊格式選項(xiàng)卡
從語(yǔ)言選擇框中選擇 PHP
然后您將能夠看到可以更改的所需設(shè)置.
You can change a very limited number of settings related to formatting.
open up netbeans IDE
Go to tools->options
click on Editor button on top left of the options dialog box
click on the formatting tab
select PHP from the language select box
then you would be able to see the required settings that can be changed.
最新版本 7.3 將解決您的大部分需求.
Latest version 7.3 will solve most of your needs.
這篇關(guān)于編輯 NetBeans 源格式標(biāo)準(zhǔn)的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!