zhaouv / vscode-markdown-everywhere

Embed and highlight and preview markdown in any language which support line-comment or block-comment for vscode.
https://marketplace.visualstudio.com/items?itemName=zhaouv.vscode-markdown-everywhere
Apache License 2.0
9 stars 3 forks source link

Incompatible With Lots of Extensions #3

Closed githubpsyche closed 3 years ago

githubpsyche commented 3 years ago

A few examples:

When any of these (and likely many others) are installed and enabled at the same time, VSCode freezes up. It's apparently not just only an issue for me; I recommended Markdown Everywhere to someone else and they ran into the problem immediately.

I like this extension so much that I just don't use the above, but I imagine these conflicts should at least be documented if they can't be addressed - a couple of the above examples have millions of users.

zhaouv commented 3 years ago

fixed in this commit
https://github.com/zhaouv/vscode-markdown-everywhere/commit/9e024e348ca7fe45e6d9d905f571c2e830a5d967

it seems a upstream bug of vscode.

"editor/title": [
                {
                    "command": "markdown-everywhere.showPreviewToSide",
                    "when": "editorLangId == 'coffeescript' && !notebookEditorFocused || editorLangId == 'dockerfile' && !notebookEditorFocused || editorLangId == 'git-commit' && !notebookEditorFocused || editorLangId == 'git-rebase' && !notebookEditorFocused || editorLangId == 'diff' && !notebookEditorFocused || editorLangId == 'ignore' && !notebookEditorFocused || editorLangId == 'properties' && !notebookEditorFocused || editorLangId == 'makefile' && !notebookEditorFocused || editorLangId == 'perl' && !notebookEditorFocused || editorLangId == 'perl6' && !notebookEditorFocused || editorLangId == 'powershell' && !notebookEditorFocused || editorLangId == 'python' && !notebookEditorFocused || editorLangId == 'r' && !notebookEditorFocused || editorLangId == 'ruby' && !notebookEditorFocused || editorLangId == 'shellscript' && !notebookEditorFocused || editorLangId == 'yaml' && !notebookEditorFocused || editorLangId == 'cython' && !notebookEditorFocused || editorLangId == 'julia' && !notebookEditorFocused || editorLangId == 'cmake' && !notebookEditorFocused || editorLangId == 'c' && !notebookEditorFocused || editorLangId == 'cpp' && !notebookEditorFocused || editorLangId == 'csharp' && !notebookEditorFocused || editorLangId == 'css' && !notebookEditorFocused || editorLangId == 'go' && !notebookEditorFocused || editorLangId == 'groovy' && !notebookEditorFocused || editorLangId == 'hlsl' && !notebookEditorFocused || editorLangId == 'java' && !notebookEditorFocused || editorLangId == 'javascriptreact' && !notebookEditorFocused || editorLangId == 'javascript' && !notebookEditorFocused || editorLangId == 'json' && !notebookEditorFocused || editorLangId == 'jsonc' && !notebookEditorFocused || editorLangId == 'less' && !notebookEditorFocused || editorLangId == 'objective-c' && !notebookEditorFocused || editorLangId == 'objective-cpp' && !notebookEditorFocused || editorLangId == 'php' && !notebookEditorFocused || editorLangId == 'rust' && !notebookEditorFocused || editorLangId == 'scss' && !notebookEditorFocused || editorLangId == 'shaderlab' && !notebookEditorFocused || editorLangId == 'sql' && !notebookEditorFocused || editorLangId == 'swift' && !notebookEditorFocused || editorLangId == 'typescript' && !notebookEditorFocused || editorLangId == 'typescriptreact' && !notebookEditorFocused || editorLangId == 'antlr' && !notebookEditorFocused || editorLangId == 'fsharp' && !notebookEditorFocused || editorLangId == 'qasm-lang' && !notebookEditorFocused || editorLangId == 'matlab' && !notebookEditorFocused || editorLangId == 'bibtex' && !notebookEditorFocused || editorLangId == 'tex' && !notebookEditorFocused || editorLangId == 'latex' && !notebookEditorFocused",

works, but have to use

"keybindings": [
            {
                "command": "markdown-everywhere.showPreviewToSide",
                "key": "ctrl+k v",
                "mac": "cmd+k v",
                "when": "editorLangId != 'markdown' && !notebookEditorFocused"
            }
        ],

in key bindings. or it will trigger max calling stack error when working together with some other extensions

zhaouv commented 3 years ago

and thanks for your report

githubpsyche commented 3 years ago

wow that was fast. thanks a lot!