Results 359 comments of Yu Zhang

> 禁用这个插件后,就没补全功能了。 ![image](https://user-images.githubusercontent.com/7588612/161767391-3b1cb4c3-ef87-455f-965f-e813d25c1272.png) 那我感觉大概率是你的设置问题。。。有试过 `ctrl + space`(或者命令 `trigger suggest`)吗?另外检查一下这个设置 ``` "[markdown]": { "editor.quickSuggestions": true }, ``` > 或许是 TM scope 冲突了?上个月,Matt 整了个 embedded `latex` 进去。 ~~感觉 snippet 也不应该被这个影响~~ snippet 和语言绑定了

突然意识到我自己一直是把 vscode 自带的 `vscode.markdown-math` 禁用了(所以不能复现) 那就确实是 @Lemmingh 提到的问题了

(需要说明的是本插件并不会影响 user snippets) 至于如何排查,首先请确定禁用所有插件(包括 `vscode.markdown-math`)之后 user snippets 是正常工作的 在上述前提下,目前已知开启 `markdown-math` 会影响数学环境中的 snippet(因为它改变了 language scope)

Doc: It seems that when formatting whole document, you `registerDocumentFormattingEditProvider` which implements `provideDocumentFormattingEdits` (or might be `formatDocument`?) method, and when formatting selection, you `registerDocumentRangeFormattingEditProvider` which implements `provideDocumentRangeFormattingEdits` method.

From a technical perspective, it is easy. However, it is possible that headings literally start with a (floating) number `3` or `1.5`. Then we will have some trouble. https://github.com/yzhang-gh/vscode-markdown/issues/457#issuecomment-623103838

> I think it can be safely assumed that the headings are non-fractional. I tend to agree with that but I don't want to take the risk as this extension...

Don't be closed-minded (e.g. a date or a year). I do agree that it should be really rare. But collecting more feedback is always helpful. The more users want this,...

Thanks for the information. Then I agree that we need such an option.

Thanks for the feedback. You may find https://github.com/yzhang-gh/vscode-markdown/issues/618#issuecomment-589079668 helpful. By changing `activationEvents` this extension will be enabled for other languages. And to enable the keybindings, you need to change the...

_Copied from_ [#88](https://github.com/neilsustc/vscode-markdown/issues/88#issuecomment-364628067). ![image](https://user-images.githubusercontent.com/7588612/36058911-67928b66-0e67-11e8-98bd-2868adf794b8.png) ![image](https://user-images.githubusercontent.com/7588612/36058926-c0df00a0-0e67-11e8-9492-85465aa6051e.png)