CodeBlocks启动提示Spellchecker错误

本文介绍了如何将LibreOffice中的en_GB.aff和en_GB.dic文件复制到CodeBlocks的SpellChecker目录,以实现代码编辑器的拼写检查功能。用户需要将thesaurus文件定位到正确目录并重命名,以便与字典文件匹配。同时提到,在不同操作系统中,thesaurus文件的位置可能不同,例如在Linux系统中通常位于/usr/share/myspell/dicts和/usr/share/mythes,而在Windows上则可能存在于OpenOffice或LibreOffice安装路径的相应目录下。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Thesaurus files

The files for the thesaurus are also available from OOo, like the dictionaries. Copy the thesaurus files (th_*.dat and th_*.idx) to the directory configured in 'Path settings, Thesauri' (see above) and rename them to match the name of the dictionary but prepend "th_" and let the extension as is.

Example: If the dictionary files (for one language) are "en_GB.aff" and "en_GB.dic" the files used for the thesaurus are "th_en_GB.idx" and "th_en_GB.dat".

On my Linux system I found thesaurus files already installed in /usr/share/myspell/dicts and /usr/share/mythes. Again, don't move the files. Set the spell checker to use the files from their current location.

On Windows, if either OpenOffice.org or LibreOffice is installed, they often include thesaurus files in C:\Program Files\(Open/Libre)Office\share\extensions\dict-*.

 

SO

我从LibreOffice\share\extensions\dict-en目录复制了en_GB.aff"和 "en_GB.dic 文件到

CodeBlocks\share\CodeBlocks\SpellChecker里,然后就好了。

这里有很多https://extensions.libreoffice.org/?q=spellchecker&action_doExtensionSearch=Search

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值