本文介绍了在哪里可以找到IntelliJ的其他语言的词典?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IntelliJ拼写检查器仅捆绑了英语和阿拉伯语(奇怪,我认为它是在东欧制造的,他们甚至没有捆绑他们的语言?).

IntelliJ spellchecker comes with only English and Arabic bundled (strange, I think it is made in east Europe, they didn't even bundle their language?).

我的客户是德国人,所以我所有的代码都是英语(代码)/德语(界面)的混合,而且我找不到IntelliJ的德语字典.

My customer is German so all my code is mixed English (code)/German (interface) and I can't find a German dictionary for IntelliJ.

推荐答案

当前的IDEA版本以UTF-8加载字典,您无需将其转换为平台编码,而忽略 iconv 步骤如下.

Current IDEA versions load dictionaries in UTF-8, you don't need to convert them to the platform encoding, ignore the iconv step below.

可以使用 aspell (对于Unix/Mac OS X或Cygwin)来制作字典.您需要安装 aspell 和相应的词典.

The dictionary can be produced using aspell for Unix/Mac OS X or under Cygwin. You need to have aspell and appropriate dictionary installed.

以下是我使用的俄语词典的示例:

Here is the example for Russian dictionary I've used:

aspell --lang ru-yeyo dump master | aspell --lang ru expand | tr ' ' '\n' > russian.dic

对于德国人来说,应该是:

For German it would be:

aspell --lang de_DE dump master | aspell --lang de_DE expand | tr ' ' '\n' > de.dic

这篇关于在哪里可以找到IntelliJ的其他语言的词典?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 21:43
查看更多