@exercism/codemirror-lang-java 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +17 -9
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
<!-- NOTE: README.md is generated from src/README.md -->
|
|
2
2
|
|
|
3
|
-
# @
|
|
3
|
+
# @codemirror/lang-java [](https://www.npmjs.org/package/@codemirror/lang-java)
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
## Exercism's fork
|
|
6
|
+
|
|
7
|
+
This is Exercism's fork of [@codemirror/lang-java](https://code.haverbeke.berlin/codemirror/lang-java).
|
|
8
|
+
Exercism uses it in the Java editor on [exercism.org](https://exercism.org).
|
|
9
|
+
It is published on npm as `@exercism/codemirror-lang-java`.
|
|
10
|
+
Our changes are on the `exercism` branch, and the `main` branch follows upstream.
|
|
11
|
+
Below this section, the README is upstream's.
|
|
9
12
|
|
|
10
13
|
The fork adds autocomplete to the upstream package:
|
|
11
14
|
|
|
@@ -18,19 +21,24 @@ Completion offers nothing in strings and comments, while you type a new name, an
|
|
|
18
21
|
|
|
19
22
|
The package uses Exercism's fork of the grammar, `@exercism/lezer-java`, in place of `@lezer/java`. The fork parses nested generics (`Map<String, List<String>>`) and lets `to`, `with` and the other module declaration words be used as names.
|
|
20
23
|
|
|
21
|
-
|
|
24
|
+
### Install
|
|
22
25
|
|
|
23
26
|
```
|
|
24
27
|
npm install @exercism/codemirror-lang-java
|
|
25
28
|
```
|
|
26
29
|
|
|
30
|
+
### Building and testing
|
|
31
|
+
|
|
27
32
|
To build and test it from a checkout, run `npm install` (which also builds the package), then `npm test`.
|
|
28
33
|
|
|
29
|
-
|
|
34
|
+
### Contributing
|
|
35
|
+
|
|
36
|
+
Contributions to this fork follow the Exercism [Code of Conduct](https://exercism.org/docs/using/legal/code-of-conduct).
|
|
37
|
+
Please read about how to [contribute to Exercism](https://exercism.org/docs/building).
|
|
30
38
|
|
|
31
|
-
|
|
39
|
+
---
|
|
32
40
|
|
|
33
|
-
[ [**WEBSITE**](https://codemirror.net/) | [**ISSUES**](https://code.haverbeke.berlin/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/) | [**CHANGELOG**](https://code.haverbeke.berlin/codemirror/lang-java/src/branch/main/CHANGELOG.md) ]
|
|
41
|
+
[ [**WEBSITE**](https://codemirror.net/) | [**ISSUES**](https://code.haverbeke.berlin/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://code.haverbeke.berlin/codemirror/lang-java/src/branch/main/CHANGELOG.md) ]
|
|
34
42
|
|
|
35
43
|
This package implements Java language support for the
|
|
36
44
|
[CodeMirror](https://codemirror.net/) code editor.
|