Skip to content

Commit a1bf127

Browse files
feat: playgrounds in JS VSCODE-372 (#482)
* feat: replace mongodb language with javascript in playgrounds * feat: use js grammar only * feat: save playgrounds as mongodb ext * docs: add comment about read-only root * refactor: clean up * refactor: better handling new files * refactor: drop fragment * feat: add mongodb grammar injection * refactor: restore update-grammar script * docs: update contributing page * refactor: update-grammar * feat: update mongodb injection grammar * test: update for playgrounds in js * refactor: reformat * refactor: restore snippets * refactor: clean up * build: bump vscode engine * build: clean up dependencies * refactor: reforamt * build: try with prev npm * build: try old deps * refactor: reformat * test: use activeTextEditor from the playground controller * refactor: os homedir * refactor: clean up * refactor: address pr comments * test: try bigger timeout * test: less playground documents open * test: clean up * test: assert.strictEqual * test: mock text flaky text document
1 parent 946d790 commit a1bf127

33 files changed

+4988
-10736
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,12 @@ npm run watch
3737

3838
#### Code Tour
3939

40-
- `out` compiled extension code
40+
- `out` Compiled extension code
4141
- `images` Icons, logos, etc.
42-
- `snippets` [Bundled MongoDB Snippets][snippet guide]
43-
- `syntaxes` [Syntax highlighting for `.mongodb` files][syntax guide]
44-
- `src`
45-
- `test/suite` where tests live with files names `*.test.ts`
46-
- `scripts` project helper scripts
42+
- `snippets` Bundled MongoDB Snippets
43+
- `syntaxes` [Syntax highlighting](https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide#injection-grammars) for MongoDB keywords
44+
- `src/test/suite` Where tests live with '`*.test.ts`' files names
45+
- `scripts` Project helper scripts
4746

4847
## Releases
4948

0 commit comments

Comments
 (0)