![仅在 vscode 中为 latex 文件启用自动换行](https://linux22.com/image/1569930/%E4%BB%85%E5%9C%A8%20vscode%20%E4%B8%AD%E4%B8%BA%20latex%20%E6%96%87%E4%BB%B6%E5%90%AF%E7%94%A8%E8%87%AA%E5%8A%A8%E6%8D%A2%E8%A1%8C.png)
我希望 Visual Studio Code 自动“自动换行”Latex 文件,但保留其他文件原样。我该怎么做?
答案1
您可以使用特定于语言的设置. 在您的用户设置中添加以下块。
"[latex]": {
"editor.wordWrap": "on"
},
为此,打开命令面板(ctrl- shift- p),选择Preferences: Configure language specific settings...
并选择 latex 语言。
我希望 Visual Studio Code 自动“自动换行”Latex 文件,但保留其他文件原样。我该怎么做?
您可以使用特定于语言的设置. 在您的用户设置中添加以下块。
"[latex]": {
"editor.wordWrap": "on"
},
为此,打开命令面板(ctrl- shift- p),选择Preferences: Configure language specific settings...
并选择 latex 语言。