2010-08-12 20 views
12

एक्लिप्स अपनी उपयोगकर्ता वरीयताओं को कहां स्टोर करता है? विशेष रूप से कुंजीपटल बाइंडिंग?एक्लिप्स स्टोर कीबोर्ड बाइंडिंग कहां करता है?

+0

http://stackoverflow.com/questions/3462216/aptana-keyboard-shortcut-for-html-js-jquery-preview-within-the-ide (अनुत्तरित) – ina

+0

से संबंधित मुझे लगता है कि ओपी पूछ रहा है कि ओपी कहां से पूछ रहा है सेटिंग स्वयं संग्रहित हैं यानी। '~/.eclipse' में,' $ project_path/.settings' आदि .. – prodigitalson

उत्तर

25

जब आप ग्रहण, कुंजी शॉर्टकट (सेटिंग्स कि डिफ़ॉल्ट कॉन्फ़िगरेशन से भिन्न होते हैं) के बारे में कोई स्थानीय सेटिंग बंद

</path/to/workspace>\.metadata\.plugins\org.eclipse.core.runtime\.settings\ 
org.eclipse.ui.workbench.prefs 
+0

लाइफसेवर - धन्यवाद! –

0

में सहेजे जाते हैं आप नीचे दिए गए ग्रूवी स्क्रिप्ट का उपयोग कर बाइंडिंग निकाल सकते हैं। मैं एक 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= और इसे में पेस्ट अन्य संबंधित ग्रहण कार्यक्षेत्र prefs फ़ाइल जिसे आप अपडेट करना चाहते हैं - कम से कम ग्रहण नियॉन में, और आप उन्हें एक साथ प्राप्त करेंगे।

संबंधित मुद्दे