英文:
STM32CubeIDE: How to disable auto re-generation the code when .ioc saved
问题
我已经勾选了保存 .ioc 文件后重新生成代码的“记住我的答案”选项。现在我如何禁用它?
英文:
I have checked the "Remember my answer" for re-generating code after saving the .ioc file. How can I disable it now?
答案1
得分: 2
如果我理解正确,您想让STM32CubeIDE忘记“记住我的决定”关于重新生成代码的选择。
我不知道在GUI中是否有这样的方法。我找到的唯一解决方案(在进行了相当多的调查后)是编辑工作区目录下的以下文件(在执行此操作时最好关闭STM32CubeIDE):
<WORKSPACE_FOLDER>/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.st.stm32cube.common.preferences.prefs
该文件应该有一行写着
DeviceConfigurationTool.AskToDoCodeGenerationOnIocSave=false
删除该行,然后在保存.ioc文件后,您应该重新开始收到有关生成代码的问题。
英文:
If I understand you correctly, you want STM32CubeIDE to forget the "remember my decision" choice about re-generating code.
I do not know if there is a way to do this in the GUI. The only solution I found (after a considerable amount of investigation) is to edit the following file under the workspace directory (it is probably a good idea to close STM32CubeIDE while doing this):
<WORKSPACE_FOLDER>/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.st.stm32cube.c
ommon.preferences.prefs
The file should have a line saying
DeviceConfigurationTool.AskToDoCodeGenerationOnIocSave=false
Remove that line and you should start getting the question about generating code again after saving the .ioc file.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论