codemirror6-plugin
codemirror6-plugin copied to clipboard
WIP Plugin for CodeMirror 6
CSS snippets seem to be working in Vue, but Markup snippets don't. Am I missing something or is this a bug? https://github.com/emmetio/codemirror6-plugin/assets/777155/5089dae5-6260-4bcf-acb2-abfd2eb55b6d
For [_reasons_](https://www.notion.so/codepen/February-2-8-2024-cac76c5c6e724706b730f4c800a852dd?pvs=4#4daee5aabe1c4bc3820bd1e585992045) we have to mount CodeMirror 6 in ShadowDOM (which CodeMirror 6 supports via the [`root` property of `EditorView`](https://codemirror.net/docs/ref/#view.EditorViewConfig.root). Emmet overall works fine, but theme styles don't work in...
Related to #14: I have the new `syntax` setup in place. Snippets work correctly, but the snippet autocompletions are not showing up for Sass and SCSS. CSS still shows them...
Are there any ways to ensure Emmet is active for [CodeMirror 6 legacy modes](https://github.com/codemirror/legacy-modes), such as Sass, Scss and LESS? Based on my reading of the source, it seems like...
I'm currently using `@codemirror/theme-one-dark` on Codemirror 6 alongside Emmet (implemented using the `abbreviationTracker` extension) and I've noticed that the syntax highlighting is incorrect. See below for images. How it should...
See below video for examples. The plugin currently suggests invalid HTML tags, and seems to just match any given string. In VSCode, it does not do this. It only suggests...
Currently the tab key for the abbreviationTracker has no precedence, but this should probably be set to highest given that the tab key might also be assigned to indentation. Also...
It seems that the Emmet extension currently conflicts with the [built-in CSS autocomplete results](https://github.com/codemirror/lang-css/blob/main/src/complete.ts) and is always rendered at the top no matter how relevant it is. I did some...
See below gif for some examples. Typing in `h1` at the top level results in `height: 1px` being inserted which is unexpected in this context (since h1 is a valid...
codemirror 6 has great support for mobile devices. the current implementation for emmet plugin makes it difficult to use on mobile devices (where most mobile keyboards do not have `Tab`...