mbien opened a new pull request, #7333:
URL: https://github.com/apache/netbeans/pull/7333
extracted some fixes and improvement from a cleanup branch, would be cool if
we could get this into NB 22 still.
jackpot hint support improvements
- `source-level` option does now understand the new java version scheme
- use reasonable source level default
- optional `%%` token allows marking the end of a test
- register run-single action to hint file editor
- log file parsing errors
update declarative hint templates
- register hint file templates and descriptions
- add file icon
- add template for hint tests
demonstrates usecase for `%%` (without it, there couldn't be any space
between test cases):

file templates:

file icons:

run file action in editor:

hint template:
```java
<!description="Sample Inspection">
// see https://netbeans.apache.org/jackpot/HintsFileFormat
"use System.out for Hello World":
System.err.println("Hello World!");
=>
System.out.println("Hello World!");
;;
```
the hint test template matches to the hint template:
```java
%%TestCase hint-test-case
package test;
public class TestClass {
private static void foo() {
System.err.println("Hello World!");
}
}
%%=>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
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