gpt4 book ai didi

intellij-idea - IntelliJ : How to configure dictionary that is already under version control?

转载 作者:行者123 更新时间:2023-12-03 16:04:39 25 4
gpt4 key购买 nike

我们在路径 eclipse/spelling/german.dic 下有一个版本控制字典。 .我知道在 IDEA 中使用该词典的唯一方法是将其添加为自定义词典。

因此,每个开发人员都必须在克隆存储库后手动配置字典。有没有办法避免这种情况?有没有.idea/where.ever ,这告诉 IDEA 使用位于给定项目本地路径下的字典?

最佳答案

应用级词典可以在以下位置找到:{IDE 安装目录}/config/options/cachedDictionary.xml

项目级词典 :{项目根}/.idea/dictionaries/%username%.xml

当您应用“保存到”快速修复或修改时,IDE 会自动创建字典文件 设置 |拼写 |接受词表 .

此外,字典文件可以从 在编辑器中打开设置 |拼写 |字典表也可以通过单击“编辑”按钮:
enter image description here

更多详情请访问:https://www.jetbrains.com/help/idea/spelling.html

开发人员之间只能通过 VCS 共享项目级词典。请查看 How to manage projects under Version Control Systems .

关于intellij-idea - IntelliJ : How to configure dictionary that is already under version control?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51095658/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com