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

问题描述

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



My客户是德语,所以我的所有代码都是混合英语(代码)/德语(界面),我找不到IntelliJ的德语词典。

解决方案

UPDATE :当前IDEA版本以UTF-8加载字典,您无需将它们转换为平台编码,请忽略下面的 iconv 步骤。



可以使用 aspell 为Unix / Mac OS X或Cygwin生成字典。您需要安装 aspell 和相应的词典。



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

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

对于德语,它将是:

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

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

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

解决方案

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

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 dump master | aspell --lang de expand | tr ' ' '\n' > de.dic

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

08-22 21:43
查看更多