|
0a9f909c
|
2021-12-05T14:40:38
|
|
Java: Added `char` token (#3217)
|
|
e8d3b503
|
2021-06-27T14:56:07
|
|
ESLint: Added `regexp/strict` rule (#2944)
|
|
18a00828
|
2021-06-13T19:53:03
|
|
ESLint: Added regexp plugin (#2924)
|
|
4ec7535c
|
2021-04-03T11:35:15
|
|
Java: Improved generics (#2812)
|
|
e644178b
|
2020-12-28T18:19:11
|
|
Added test for polynomial backtracking (#2597)
|
|
0889bc7c
|
2020-11-04T21:44:48
|
|
Java: Improved package and class name detection (#2599)
|
|
73f81c89
|
2020-10-13T14:24:24
|
|
Java: Added Java 15 keywords (#2567)
|
|
62e184bb
|
2020-04-09T12:50:20
|
|
Java: Fixed `namespace` token (#2295)
|
|
47910b5c
|
2020-02-18T21:45:03
|
|
Java: Added `record` keyword (#2185)
This adds support for the new `record` keyword from Java 14.
|
|
ee7fdbee
|
2019-10-25T21:09:57
|
|
Java: Added missing :: operator (#2101)
This adds the `::` operator and removes the backreference for better performance.
|
|
c187e229
|
2019-10-16T12:06:22
|
|
Added test for unused capturing groups (#1996)
This adds a test that checks for unused capturing groups in patterns and another test which ensures that lookbehind groups are always the first thing being matched in a pattern.
|
|
a7b95dd3
|
2019-09-24T17:38:09
|
|
Added support for syntax in Java 13 (#2060)
This adds support for the new `yield` keyword and text blocks (triple quoted strings) which are both introduced in Java 13.
|
|
6e250a5f
|
2018-12-06T07:27:46
|
|
Added module keywords to Java. (#1655)
This adds the in Java 9 introduced module keywords to Java.
Namespaces following these keywords are also properly highlighted.
|
|
81bd8f0b
|
2018-12-01T21:44:17
|
|
Improve Java (#1474)
A bunch of small improvements for the Java language.
1. Class highlighting based on [naming conventions](http://www.oracle.com/technetwork/java/javase/overview/codeconventions-135099.html). Because of these conventions, we know that every name which starts with an uppercase letter and contains some lower case letters afterward is a class, interface or enum.
2. Nested generics are now supported. The contents of a generic statement are no longer highlighted as a `function`, but as a `class-name` which is more fitting.
3. Packages will now be highlighted as `namespace`.
4. E.g. `foo::bar`, `bar` will be highlighted as a function.
5. ~Support for `var`.~ #1549
6. `null` is now a keyword. As it should be.
|
|
8c981a22
|
2018-09-06T13:33:07
|
|
Add Java 10 support (#1549)
Add `var` as a new keyword–added in Java 10:
https://developer.oracle.com/java/jdk-10-local-variable-type-inference
|
|
7af8f8be
|
2018-08-19T17:09:29
|
|
C/C++/Java operator update (#1528)
This PR extends and updates the operators of C, C++, and Java.
Java and C++ now support the -> operator.
(C++ had a bug.)
The tests of all languages were updated and the operator pattern for
each language is now shorter.
|
|
a5cf3025
|
2018-03-26T08:53:43
|
|
Java: Add support for generics. Fix #1351
|
|
12c0b20a
|
2018-03-08T22:19:01
|
|
Decouple minus sign from number pattern in most languages. Close #1110
|
|
96b35c85
|
2017-10-22T14:44:26
|
|
Java: Don't use captures if not needed
|
|
367ace62
|
2016-03-05T17:41:56
|
|
1)Adding annotation token for Java
2)Aliasing java annotation to punctuation
3)Aliasing grovy annotation to punctuation
4)Adding in sample code
|
|
21e20b9e
|
2015-08-25T07:40:27
|
|
Java: fix number regexp + simplified number regexp and optimized operator regexp
|
|
b1fd5bdc
|
2015-03-10T08:27:53
|
|
Removed unused global flag in all grammars
|
|
dcf31d29
|
2015-01-03T12:46:12
|
|
Little fix for Java numbers
|
|
4d352495
|
2014-08-12T01:16:07
|
|
Fix Java operators to correctly highlight examples.html
This patch basically adds a lot of `=?` at the end of operators that
were missing. The order of the `>=` and `<=` operator was wrong. It also
changes the order of the lookbehind pattern, so that the start of the
line is matched first. This last change fixes a lot of the bugs on the
`example.html` page.
The design of Prism makes it seem as if the regex multi line flag has no
effect, because strings are continuosly split up before the regexes are
applied. In this case it is necessary so that `^` is interpreted as the
start of a line instead of the start of the document.
|
|
d478d6aa
|
2014-05-25T09:20:51
|
|
Remove escaped entities from Java
|
|
1b40db97
|
2012-11-10T00:23:33
|
|
Made Java & JavaScript inherit from a generic C-style language definition; Added methods for language definition inheritance; Added simple dependency management in downloader
|
|
c571149a
|
2012-08-07T16:22:23
|
|
improve number highlight
|
|
20778033
|
2012-08-05T08:47:24
|
|
fix * operator highlight for import a.b.*;
|
|
201077e9
|
2012-08-03T17:25:09
|
|
Added Java syntax highlighter
|