是否有可能改变 Drupal 的编码标准或绕过微小的间距?

Is it possible to change Drupal's coding standards or get around tiny spacing?

为了submit a drupal module, you must adhere to Drupal's coding standards. The problem with the coding standards, is that it has one specific and very annoying standard: indenting。我绝对讨厌缩进是:

Use an indent of 2 spaces, with no tabs.

如果是4,那我就可以接受了。有什么办法可以说服 Drupal 改变这些标准,或者至少,其他人有办法处理这个问题吗?也许是将单个空格显示为双空格或类似内容的 Netbeans 插件?

没有人会改变 Drupal 的编码标准。

您可以按照自己的风格编写代码,但在提交之前,您可以 "autoformat" 所有代码 (Alt + Shift + F) 都符合 Drupal 编码标准,可以在以下位置进行配置:工具 ->选项 -> 编辑器。