This is an automated email from the ASF dual-hosted git repository.
junichi11 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
from 6862116550 VSCode: Renaming Java 8+ debug configuration to Java+.
(#5816)
new 9ae85ac64f Add the "End of File" blank line formatting option #4641
new d61e1d09ea Add the new hint for PSR-12 Files
new efa6483fb3 Merge pull request #5824 from
junichi11/php-gh-4641-formatter-blank-lines-eof
The 8461 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../modules/php/editor/indent/CodeStyle.java | 4 +
.../modules/php/editor/indent/FmtOptions.java | 6 +-
.../modules/php/editor/indent/TokenFormatter.java | 35 ++++
.../modules/php/editor/indent/ui/Bundle.properties | 1 +
.../php/editor/indent/ui/FmtBlankLines.form | 12 +-
.../php/editor/indent/ui/FmtBlankLines.java | 10 +-
.../modules/php/editor/resources/layer.xml | 4 +
.../php/editor/verification/Bundle.properties | 1 +
.../php/editor/verification/PSR12FilesHint.java | 133 ++++++++++++++
.../modules/php/editor/verification/PSR12Hint.java | 112 ++++++++++++
.../testfiles/formatting/blankLines/eof_01.php | 21 +++
.../blankLines/eof_01.php.testEOF_01a.formatted | 21 +++
.../blankLines/eof_01.php.testEOF_01b.formatted | 21 +++
.../testfiles/formatting/blankLines/eof_02.php | 21 +++
.../blankLines/eof_02.php.testEOF_02a.formatted | 21 +++
.../blankLines/eof_02.php.testEOF_02b.formatted | 21 +++
.../testEndWithWhitespace.php | 21 +++
...dWithWhitespace.php.testEndWithWhitespace.hints | 3 +
.../PSR12/Files/testHasNewline/testHasNewline.php | 20 +++
.../testHasNewline.php.testHasNewline.hints | 0
.../testHasNewlineCRLF/testHasNewlineCRLF.php | 20 +++
...testHasNewlineCRLF.php.testHasNewlineCRLF.hints | 4 +
.../testNoNewlineAtEOF/testNoNewlineAtEOF.php | 20 +++
...testNoNewlineAtEOF.php.testNoNewlineAtEOF.hints | 3 +
.../indent/PHPFormatterBlankLinesEOFTest.java | 191 +++++++++++++++++++++
.../php/editor/indent/PHPFormatterTestBase.java | 2 +-
.../editor/verification/PSR12FilesHintTest.java | 73 ++++++++
.../php/editor/verification/PSR12HintTestBase.java | 56 ++++++
28 files changed, 853 insertions(+), 4 deletions(-)
create mode 100644
php/php.editor/src/org/netbeans/modules/php/editor/verification/PSR12FilesHint.java
create mode 100644
php/php.editor/src/org/netbeans/modules/php/editor/verification/PSR12Hint.java
create mode 100644
php/php.editor/test/unit/data/testfiles/formatting/blankLines/eof_01.php
create mode 100644
php/php.editor/test/unit/data/testfiles/formatting/blankLines/eof_01.php.testEOF_01a.formatted
create mode 100644
php/php.editor/test/unit/data/testfiles/formatting/blankLines/eof_01.php.testEOF_01b.formatted
create mode 100644
php/php.editor/test/unit/data/testfiles/formatting/blankLines/eof_02.php
create mode 100644
php/php.editor/test/unit/data/testfiles/formatting/blankLines/eof_02.php.testEOF_02a.formatted
create mode 100644
php/php.editor/test/unit/data/testfiles/formatting/blankLines/eof_02.php.testEOF_02b.formatted
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/PSR12/Files/testEndWithWhitespace/testEndWithWhitespace.php
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/PSR12/Files/testEndWithWhitespace/testEndWithWhitespace.php.testEndWithWhitespace.hints
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/PSR12/Files/testHasNewline/testHasNewline.php
copy
enterprise/web.jspparser/test/unit/data/jspparser-data/wmroot/subdir/Page1.jsp
=>
php/php.editor/test/unit/data/testfiles/verification/PSR12/Files/testHasNewline/testHasNewline.php.testHasNewline.hints
(100%)
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/PSR12/Files/testHasNewlineCRLF/testHasNewlineCRLF.php
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/PSR12/Files/testHasNewlineCRLF/testHasNewlineCRLF.php.testHasNewlineCRLF.hints
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/PSR12/Files/testNoNewlineAtEOF/testNoNewlineAtEOF.php
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/PSR12/Files/testNoNewlineAtEOF/testNoNewlineAtEOF.php.testNoNewlineAtEOF.hints
create mode 100644
php/php.editor/test/unit/src/org/netbeans/modules/php/editor/indent/PHPFormatterBlankLinesEOFTest.java
create mode 100644
php/php.editor/test/unit/src/org/netbeans/modules/php/editor/verification/PSR12FilesHintTest.java
create mode 100644
php/php.editor/test/unit/src/org/netbeans/modules/php/editor/verification/PSR12HintTestBase.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists