Atom 中乳胶文件的拼写检查
Spell check for latex file in Atom
我正在尝试在 atom/spell-check 的设置 -> 语法中添加 .tex 文件,以便它检查我文档中的拼写,因为 .tex 文件将成为 PDF 文档,但它不起作用。
发现我使用了错误的语法。正确的范围是 text.tex.latex
。 README 文件中已经提到如何获取它。在 Atom 编辑器中执行以下过程。
To enable Spell Check for your current file type: put your cursor in
the file, open the Command Palette (cmd-shift-p
), and run the
Editor: Log Cursor Scope
command. This will trigger a notification
which will contain a list of scopes. The first scope that's listed is
the one you should add to the list of scopes in the settings for the
Spell Check package. Here are some examples: source.coffee,text.plain, text.html.basic.
应该会弹出如下图
我正在尝试在 atom/spell-check 的设置 -> 语法中添加 .tex 文件,以便它检查我文档中的拼写,因为 .tex 文件将成为 PDF 文档,但它不起作用。
发现我使用了错误的语法。正确的范围是 text.tex.latex
。 README 文件中已经提到如何获取它。在 Atom 编辑器中执行以下过程。
To enable Spell Check for your current file type: put your cursor in the file, open the Command Palette (
cmd-shift-p
), and run theEditor: Log Cursor Scope
command. This will trigger a notification which will contain a list of scopes. The first scope that's listed is the one you should add to the list of scopes in the settings for the Spell Check package. Here are some examples:source.coffee,text.plain, text.html.basic.
应该会弹出如下图