M
M
Myroslav Zozulia2011-11-15 23:12:17
PHP
Myroslav Zozulia, 2011-11-15 23:12:17

NetBeans Coding Style?

Hello!
Can't set up standards from Zend in NetBeans IDE.
Actually, maybe there are some plugins that can help solve this problem?
Also wondering what colors do you use in the editor?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
CrazySquirrel, 2011-11-16
@diwms

Tabs:
Expand tabs to spaces: true
Number of spaces per ident: 8
Right margin: 120 (Zend recommends 80)
Line wrap: off intial
idention: 0
Continuation Indentation: 8
Array Declaration Indentation: 4
Alignment Unchecked Braces Class Declaration, Method Declaration: new line Others same line

C
CrazySquirrel, 2011-11-15
@CrazySquirrel

If by standards you mean code formatting (indentation, brackets, etc.), then
Tools -> Options -> Editor -> Formating
Languge: PHP
And change the format in the appropriate category.

C
CrazySquirrel, 2011-11-16
@CrazySquirrel

Tools -> Templates -> PHP
PHP File and PHP Class remove closing ?> from
template

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question