I,EclipseSet remoteDebug
Enter the following information in debug-> remote Java application:
Project: myproject
Connection Properties
HOST: localhost
Port: 8000 (I have set address = 8000 in JBoss run. BAT)
Click Apply and then click Debug. The error "failed to connect to remote VM. connnection refused." is returned ."
I checked it online and said it may be because the firewall is on. The control panel is like Security Center, Windows Firewall, and click Close. Still does not work. Finally, I found that a connection has been established, and I did not pay attention to it. Then I click debug to establish another connection, so the above error will be reported. It took an hour to get started.
Remote debug settings:
Project: select your project name
Port: the debug port number set in the run. BAT file of JBoss.
Set in JBoss:
Set java_opts =-xdebug-xrunjdwp: Transport = dt_socket, address = 8000, Server = Y, suspend = n % java_opts %
Ii. EclipseCode prompt settings
After SWT designer was installed just now, it was prompted that the public could be absent.
Solution:
Windows> preferences> JAVA> editor> code assist
Enable auto-activetion in auto-activetion must be checked.
There is a time set to set the display time for the prompt code. You can set it according to your own situation.
But none of them can be automatically prompted. Check the previous eclipse settings to find them: window-> preferences-> JAVA-> Editor-> content assist-> select the proposal kinds contained in the 'default' content assist list on the "advanced" tab: to check the other Java proposals option.
Note:
In some cases, the code automatic function is invalid when the plug-in is installed in eclipse. You can also use the above method to modify it back.
Iii. Eclipse Alt +/Invalid Reset
Window-> preferences-> General-> keys
Word completion shortcut key set Alt +/