Myelipse's default code hints feature hides a lot of detail and requires the developer to set it up manually, setting it up to make your myeclpse more powerful.
Tools/raw Materials
Myeclipse,eclipse Step/Method 1
Typically, in Eclipse, MyEclipse code, a foreach,switch and so on, it's impossible to get code hints (try it yourself), and the rest, not to mention, in Microsoft Visual Studio Inside is a very friendly code hint. In fact, Eclipse, the code hint feature in the MyEclipse code is typically a dot ".", usually with a dot "." Before there is a code hint. Principle: "Auto activation triggers for Java" is the option that triggers the code hint, changing "." To ". ABCDEFGHIJKLMNOPQRSTUVWXYZ (," meaning, It means that you encounter 26 letters and., these symbols trigger the code hints feature. (specifically said, rest assured) to enhance eclipse, MyEclipse code hints, how to configure the specific. Below begin to say step (notice oneself use of MyEclipse 8.5 do explain).
2
Open MyEclipse 6.0.1, then "window" → "Preferences"
3
Select "Java", expand, "Editor", select "Content Assist"
4
Select "Content Assist" and then see the option "Auto activation triggers for Java" under "Auto-activation" on the right side of the right. Actually, it means that the trigger code hint is "." This symbol.
5
"Auto activation triggers for Java" option, in "." After adding ABC letter, easy to find the following changes. Then "Apply" and click "OK".
6
Then, "File" → "Export", in the pop-up window select "Perferences", click "Next".
7
Select the export file path, I export to the desktop, enter "test" as the file name, click "Save".
8
On the desktop, locate the file you just saved "TEST.EPF", and right-click to select "Open with Notepad."
9
You can see a lot of configuration MyEclipse 8.5 information.
10
Press CTRL + F to enter ". ABC" and click "Find Next" to find the configuration information for ". ABC".
11
Change ". abc" to ". ABCDEFGHIJKLMNOPQRSTUVWXYZ (,", Save, close "TEST.EPF".)
12
Back to the MyEclipse 8.5 interface, "file" → "Import", in the pop-up window select "Perferences", click "Next", select just in the modified "TEST.EPF" file, click "Open", click "Finish". This step is similar to the previous export step.
13
Finally, of course, the code is tested. Create a new project and create a new class. Test the code input Switch,foreach, and so on. You will immediately find that there is a hint, and no matter what letter is to knock on a lot of related tips, very smooth, very convenient.
14
The "Auto activation triggers for Java" option refers to the option of triggering a code hint to "." To ". ABCDEFGHIJKLMNOPQRSTUVWXYZ (,") means to encounter 26 letters and., (these symbols trigger the Code hints feature.) By the way, modify the class name, interface name, etc. with different colors highlighted, you can configure this in the "Java" → "Enditor" → "Syntac", the right to expand "Java" → "classes", on the hook "Enable" this option, choose their favorite color can be. Of course, there are other related color configurations. I will not tell you the details. In fact, in the "Preferences" this thing, there are a lot of things can be configured, so that MyEclipse optimization, specific to each person according to their personal preferences to configure. 15
The 6.5 version does not work with alt+/solution
I use the myeclipse5.5 for System.out.println (); I'm syso this thing. Then alt+/will appear System.out.println (), MyEclipse6.5 without any hint
Solution: Select the Window-preferences-->general--> Keys in the MyEclipse6.5 menu bar to find:
1, the content assist shortcut keys from Ctrl+space to alt+/.
2, the word completion shortcut keys set by the alt+/to other conflict-less shortcut.
3, click OK on it.