编辑 NetBeans 源格式标准 [英] editing the NetBeans source formatting standard

查看:33
本文介绍了编辑 NetBeans 源格式标准的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在执行Source->Format"时,是否有任何方法可以更改 NetBeans 自动格式化代码的标准?我好像记得在某处看到过这个选项,但我找不到任何关于它的信息.

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.

推荐答案

您可以更改非常有限的与格式相关的设置.
打开 netbeans IDE
转到工具->选项
单击选项对话框左上角的 Editor 按钮
单击格式选项卡
从语言选择框中选择 PHP
然后您将能够看到可以更改的所需设置.

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.

这篇关于编辑 NetBeans 源格式标准的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆