I recently switched to a virtual machine and found that eclipse Settings on someone else’s virtual machine were a little bit bad. The biggest problem was that Ctrl+/ (keypad) was disabled, but Ctrl+/ (query key) can still be commented quickly.
I checked online blogs, and using what they said was the way to change the Toggle Comment Settings still didn’t work when writing C++
When I checked the Ctrl+/ setting, It turned out it wasn’t Toggle Comment, it was Comment/Uncomment
Process:
1. Click Window-& gt; preferences
2. Search for Comment/Uncomment, bind related keys in binding, and define when to take effect in when
There’s a weird thing here, Ctrl+/ (keypad) in the binding is Ctrl+ numpad_divide
Click copy Command, you can copy the same comment command, you can add your own shortcut to comment, I’ll add Ctrl+/ (big keyboard key) here
This allows you to annotate the
code with Ctrl+/ (small keyboard) and Ctrl+/ (large keyboard)
I checked online blogs, and using what they said was the way to change the Toggle Comment Settings still didn’t work when writing C++
When I checked the Ctrl+/ setting, It turned out it wasn’t Toggle Comment, it was Comment/Uncomment
Process:
1. Click Window-& gt; preferences
2. Search for Comment/Uncomment, bind related keys in binding, and define when to take effect in when
There’s a weird thing here, Ctrl+/ (keypad) in the binding is Ctrl+ numpad_divide
Click copy Command, you can copy the same comment command, you can add your own shortcut to comment, I’ll add Ctrl+/ (big keyboard key) here
This allows you to annotate the
code with Ctrl+/ (small keyboard) and Ctrl+/ (large keyboard)
Read More:
- IntelliJ idea / eclipse automatically generate author annotation signature
- Solution to the error of @ resource annotation in eclipse spring
- @How to solve eclipse error after setter and @ getter (@ data) annotation
- @Solution to get / set error in eclipse after using data annotation
- Error pathvariable annotation was empty on param 0 when migrating idea to eclipse
- After eclipse eclipse eclipse imports the correct project, an error is reported in XML and other files
- Istio Error 503 upstream connect error or disconnect/reset before headers. reset reason: connect
- Eclipse: unable to open editor: no ID org.eclipse.jdt . ui.CompilationUnitEditor Editor descriptor for
- DB2 table annotation pull
- Reset power on password of lightning simulator
- ConnectionResetError: [Errno 104] Connection reset by peer
- Nginx: recv() failed (104: connection reset by peer) troubleshooting
- Reset local git account and generate secret key
- Error: package android.support.annotation Does not exist
- Attempt to reset the display driver and recover from timeout failed
- @Error in restcontroller annotation
- Solution of idea using @ Autowired annotation to report errors
- java.sql.SQLRecoverableException: IO Error: Connection reset
- About connection reset by peer: socket write error
- Failed to load resource: net::ERR_CONNECTION_RESET