@exercism/codemirror-lang-rust 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 +32 -23
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -2,30 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# @codemirror/lang-rust [](https://www.npmjs.org/package/@codemirror/lang-rust)
|
|
4
4
|
|
|
5
|
-
[ [**WEBSITE**](https://codemirror.net/) | [**ISSUES**](https://code.haverbeke.berlin/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/) | [**CHANGELOG**](https://code.haverbeke.berlin/codemirror/lang-rust/src/branch/main/CHANGELOG.md) ]
|
|
6
|
-
|
|
7
|
-
This package implements Rust language support for the
|
|
8
|
-
[CodeMirror](https://codemirror.net/) code editor.
|
|
9
|
-
|
|
10
|
-
The [project page](https://codemirror.net/) has more information, a
|
|
11
|
-
number of [examples](https://codemirror.net/examples/) and the
|
|
12
|
-
[documentation](https://codemirror.net/docs/).
|
|
13
|
-
|
|
14
|
-
This code is released under an
|
|
15
|
-
[MIT license](https://code.haverbeke.berlin/codemirror/lang-rust/tree/main/LICENSE).
|
|
16
|
-
|
|
17
|
-
We aim to be an inclusive, welcoming community. To make that explicit,
|
|
18
|
-
we have a [code of
|
|
19
|
-
conduct](http://contributor-covenant.org/version/1/1/0/) that applies
|
|
20
|
-
to communication around the project.
|
|
21
|
-
|
|
22
5
|
## Exercism's fork
|
|
23
6
|
|
|
24
|
-
This is Exercism's fork of
|
|
25
|
-
[
|
|
26
|
-
published as `@exercism/codemirror-lang-rust
|
|
27
|
-
on
|
|
28
|
-
|
|
7
|
+
This is Exercism's fork of [@codemirror/lang-rust](https://code.haverbeke.berlin/codemirror/lang-rust).
|
|
8
|
+
Exercism uses it in the Rust editor on [exercism.org](https://exercism.org).
|
|
9
|
+
It is published on npm as `@exercism/codemirror-lang-rust`.
|
|
10
|
+
Our changes are on the `exercism` branch, and the `main` branch follows upstream.
|
|
11
|
+
Below this section, the README is upstream's.
|
|
29
12
|
|
|
30
13
|
The fork adds autocompletion:
|
|
31
14
|
|
|
@@ -44,14 +27,40 @@ The fork adds autocompletion:
|
|
|
44
27
|
|
|
45
28
|
Completion offers nothing inside strings and comments, or where you declare a new name.
|
|
46
29
|
|
|
47
|
-
|
|
30
|
+
### Install
|
|
48
31
|
|
|
49
32
|
```
|
|
50
33
|
npm install @exercism/codemirror-lang-rust
|
|
51
34
|
```
|
|
52
35
|
|
|
36
|
+
### Building and testing
|
|
37
|
+
|
|
53
38
|
To build and test it from a checkout, run `npm install` (which also builds the package), then `npm test`.
|
|
54
39
|
|
|
40
|
+
### Contributing
|
|
41
|
+
|
|
42
|
+
Contributions to this fork follow the Exercism [Code of Conduct](https://exercism.org/docs/using/legal/code-of-conduct).
|
|
43
|
+
Please read about how to [contribute to Exercism](https://exercism.org/docs/building).
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
[ [**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-rust/src/branch/main/CHANGELOG.md) ]
|
|
48
|
+
|
|
49
|
+
This package implements Rust language support for the
|
|
50
|
+
[CodeMirror](https://codemirror.net/) code editor.
|
|
51
|
+
|
|
52
|
+
The [project page](https://codemirror.net/) has more information, a
|
|
53
|
+
number of [examples](https://codemirror.net/examples/) and the
|
|
54
|
+
[documentation](https://codemirror.net/docs/).
|
|
55
|
+
|
|
56
|
+
This code is released under an
|
|
57
|
+
[MIT license](https://code.haverbeke.berlin/codemirror/lang-rust/tree/main/LICENSE).
|
|
58
|
+
|
|
59
|
+
We aim to be an inclusive, welcoming community. To make that explicit,
|
|
60
|
+
we have a [code of
|
|
61
|
+
conduct](http://contributor-covenant.org/version/1/1/0/) that applies
|
|
62
|
+
to communication around the project.
|
|
63
|
+
|
|
55
64
|
## Usage
|
|
56
65
|
|
|
57
66
|
```javascript
|