eclipse TeXlipse 拼写检查配置

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5362650/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 16:01:34  来源:igfitidea点击:

TeXlipse spell-check configuration

eclipseconfigurationspell-checking

提问by fre.sch

I'm turning kind of desperate looking for a way to enable spell checking in TeXlipse. Of the application itself I am very fond. I've tried things I found here and on other forums, and on the user manual (http://texlipse.sourceforge.net/manual/spelling.html), but I can't find clear instructions to configurespell checking, i.e. what path directory to choose, where can I find .dict files,… I mean step-by-step instructions from the beginning to the end. The User Manual entry is too vague for me.

我正在绝望地寻找一种在 TeXlipse 中启用拼写检查的方法。对于应用程序本身,我非常喜欢。我已经尝试过在这里和其他论坛上以及用户手册 (http://texlipse.sourceforge.net/manual/spelling.html) 上找到的东西,但我找不到配置拼写检查的明确说明,即选择什么路径目录,在哪里可以找到 .dict 文件,......我的意思是从头到尾的分步说明。用户手册条目对我来说太模糊了。

I'm using Mac OS X 10.6.6, Eclipse 3.6.2, TeXlipse 1.4.1.

我使用的是 Mac OS X 10.6.6、Eclipse 3.6.2、TeXlipse 1.4.1。

回答by fre.sch

The answers arein the manual:
http://texlipse.sourceforge.net/manual/spelling.html

答案在手册中:
http://texlipse.sourceforge.net/manual/spelling.html

  1. Get the dictionaries here: sourceforge page
  2. Save them wherever you want. Could be /Users/your_name/documents/dictionaries, for example.
  3. Enable 'Use built in spell checker' in the Texlipse options in eclipse.
  4. Set both directories to whatever you used above.
  5. Enable eclipse's own spellchecker, if it isn't already.
  6. Restart the IDE.
  1. 在此处获取词典:sourceforge 页面
  2. 将它们保存在任何你想要的地方。/Users/your_name/documents/dictionaries例如,可能是。
  3. 在 eclipse 的 Texlipse 选项中启用“使用内置拼写检查器”。
  4. 将两个目录设置为您在上面使用的任何内容。
  5. 启用 Eclipse 自己的拼写检查器(如果尚未启用)。
  6. 重新启动 IDE。

I had a little trouble getting it to work nicely; I keep getting the following error message in the console. There are about 10 posts on the texlipse forum about it with no answers, so presumably it's not a big deal.

我在让它正常工作时遇到了一些麻烦;我不断在控制台中收到以下错误消息。texlipse 论坛上大约有 10 篇关于它的帖子没有答案,所以大概这没什么大不了的。

running: null
Error running spell checker

回答by Aram Kocharyan

Make sure that you set the language for the project under

确保您在下为项目设置了语言

Properties > Latex Project Properties > Language setting to "en"

属性 > Latex 项目属性 > 语言设置为“en”

after telling it to use the built in spell checker in

在告诉它使用内置的拼写检查器之后

Preferences > Texlipse

首选项 > Texlipse

回答by Danijel

For me, it turned out to be related to file extensions. I pointed the texlipse spell checker to the same directory that eclipse stores its dictionaries and it didn't work. Then I made my own directory and generated my own dictionary using aspell (as mentioned in the texlipse FAQ), but this time I used a simple "dict" extension instead of the "dictionary" as in the Eclipse installation and it worked.

对我来说,结果证明它与文件扩展名有关。我将 texlipse 拼写检查器指向 eclipse 存储其字典的同一目录,但它不起作用。然后我创建了我自己的目录并使用 aspell 生成了我自己的字典(如 texlipse FAQ 中所述),但是这次我使用了一个简单的“dict”扩展名而不是 Eclipse 安装中的“dictionary”并且它起作用了。