Explanation of Intellij undo.documentUndoLimit and undo.globalUndoLimit

泪湿孤枕 提交于 2020-12-15 05:17:10

问题


What do these settings actually do?

What values should a pro have on these and what impact do they have? Refactoring undo for instance, "X file has already changed so you can not undo" would be GREAT if we could throw in the garbage using any setting combination.


回答1:


Based on this question the documentUndoLimit is the max level of undo for each document (actually current document) and the globalUndoLimit is the undo max level of undo for the IDE on the current project.

For example, when you change codes of a file and then decide to undo the documentUndoLimit value is the number of levels that you can go back. but when you add some files or delete some other files, rename them and etc, the globalUndoLimit value is the number of levels that you can go back.



来源:https://stackoverflow.com/questions/59423614/explanation-of-intellij-undo-documentundolimit-and-undo-globalundolimit

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!