Eclipse在哪裏存儲其用戶首選項?特別是鍵盤綁定?Eclipse存儲鍵盤綁定在哪裏?
12
A
回答
25
當你關閉Eclipse,關於快捷鍵(設置,從默認配置不同)的任何地方設置保存在
</path/to/workspace>\.metadata\.plugins\org.eclipse.core.runtime\.settings\
org.eclipse.ui.workbench.prefs
+0
救命恩 - 謝謝! – 2012-07-09 21:22:56
0
您可以使用以下Groovy腳本提取綁定。我不是一個時髦的開發人員,所以請原諒我的黑客。
Groovy的腳本中使用(替代的正確路徑工作臺XMI文件):
workbench = new XmlSlurper().parse("<path to eclipse>/workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi")
List bindingTables
workbench.bindingTables.each
{ it->
//println "\tContributorURI: ${[email protected]} | \tElementID : [email protected]";
def command = "command";
def commandName = "commandname";
def description = "description";
def category;
def name = "name";
def keys = "keys";
it.bindings.each
{bindingIt->
//loop through every binding entry
command = [email protected];
keys = [email protected];
workbench.commands.each
{commandIt->
def thisCommand = commandIt.attributes()['{http://www.omg.org/XMI}id'];
if(thisCommand.equals(command.toString()))
{
commandName = [email protected];
description = [email protected];
category = [email protected];
workbench.categories.each
{workbenchIt->
if(workbenchIt.attributes()['{http://www.omg.org/XMI}id'].equals(category.toString()))
{
name = [email protected];
}
}
}
}
println "\t\tKeys: ${keys}\tCommand: ${commandName}"+
"\tDescription: "+description+"\tName: "+name;
}
}
0
實際上,你可以只是整條生產線複製在org.eclipse.ui.workbech.prefs
文件開頭:org.eclipse.ui.commands=
並粘貼到其他相應的eclipse工作區首選項文件要更新 - 至少在Eclipse Neon中,您將立即得到它們。
相關問題
- 1. bindParam在哪裏存儲綁定?
- 2. 的Eclipse鍵盤綁定2008
- 3. Eclipse書籤存儲在哪裏?
- 4. Eclipse在哪裏存儲項目/包等?
- 5. Eclipse存儲首選項在哪裏?
- 6. 在哪裏存儲Android偏好鍵?
- 7. Eclipse Pydev中新Python解釋器的定義在哪裏存儲?
- 8. Eclipse在哪裏存儲哪些文件是「Derived」的信息?
- 9. 在哪裏存儲在Python
- 10. .NET「獨立存儲」存儲在哪裏?
- 11. Emacs在TTY +鍵盤綁定
- 12. 它在哪裏保存鍵?
- 13. 鍵盤掛鉤存儲鍵
- 14. 在哪裏存儲數據?
- 15. Properties.Settings.Default存儲在哪裏?
- 16. .data()在哪裏存儲值?
- 17. Express.js/Passport.js:req.user存儲在哪裏?
- 18. OCUnit在哪裏存儲NSUserDefaults?
- 19. BaseX Db在哪裏存儲?
- 20. 在哪裏存儲配置
- 21. 宏在哪裏存儲?
- 22. inodes存儲在哪裏?
- 23. $ _SESSION存儲在哪裏?
- 24. 活動存儲在哪裏
- 25. 變量存儲在哪裏?
- 26. Git Stashes存儲在哪裏?
- 27. TempData在哪裏存儲?
- 28. iPhone:NSUserDefaults存儲在哪裏?
- 29. 在哪裏存儲音樂
- 30. AspnetIdentity在哪裏存儲UserTokens?
相關http://stackoverflow.com/questions/3462216/aptana-keyboard-shortcut-for-html-js-jquery-preview-within-the-ide(未回答) – ina 2010-08-12 19:24:45
我認爲這是OP問在哪裏設置本身被存儲,即。在'〜/ .eclipse','$ project_path/.settings'等。 – prodigitalson 2010-08-12 19:27:20