Eclipse records

original
2013/07/19 10:49
Number of readings 436

one Recovery of deleted files in eclipse
In Eclipse, you can restore the deleted files in the project, or restore a java file like SVN
Deleted content.  
If the files in the project are deleted, the recovery steps are as follows:
1 Select an item and right-click it;  
2 Select Restore from Local history;  
3 Select the corresponding file to restore in "Check files to restore from local history:".  
If the deleted content in the file is recovered, the recovery steps are as follows:
1 Open the java file to be recovered;  
2 Select the part to be restored and right-click;  
3  Local History--〉Replace with;  

4 Select the time point to restore to in the pop-up dialog box.

 

two The same variable is displayed in color
Window -->preferences -->Java -->Editor -->Mark Occurs

three Set Highlight Color
Window -->preferences -->General -->Editors -->Text Editors -->Annotations -->Right click Occurrences -->Set Color

4. The plug-in installation of eclipse in the links mode is invalid

(1) Delete the org.eclipse.update folder under the path D: eclipse configuration;
(2) Modify the D: eclipse configuration config.ini configuration file, change the attribute value of org.eclipse.update.reconcile=false to true and save it. Then restart eclipse, and you can see the SVN option in Window>Open perspective>Other;
(3) Finally, modify org.eclipse.update.reconcile to true and save it.

five Solve the problem that the SVN icon is not displayed in Eclipse

Windows ->preferences ->General ->Appearance ->Label Decorations Check the SVN item, click the applet, and then click OK. The version number and status icon of the file should be displayed

6. The change of git icon is not obvious

Windows ->preferences ->team ->git ->Label Decorations ->Icon Decorations Check Dirty resource

Expand to read the full text
Loading
Click to lead the topic 📣 Post and join the discussion 🔥
Reward
zero comment
zero Collection
zero fabulous
 Back to top
Top