What is the shortcut key for eclipse comments?
Oct 27, 2020 pm 02:00 PMThe shortcut keys for eclipse comments are: 1. "Ctrl /" shortcut key, the selected code will be commented out by "http://"; 2. "Ctrl Shift C" shortcut key, the selected code will be commented out by "http://" //" commented out; 3. "Ctrl Shift /" shortcut key, the selected code will be surrounded by "/*" and "*/" and commented out.
Shortcut keys for eclipse comments
Method 1: Use Ctrl / Shortcut keys
Step 1: Drag the mouse in Eclipse to select the code that needs to be commented, usually multiple consecutive lines of code.
Step 2: Hold down the Ctrl/shortcut key as shown in the picture.
Step 3: You will find that the selected code is commented out with "http://". When debugging is completed, you can hold down the Ctrl/shortcut key again to open the comment.
END
Method 2: Use the Ctrl Shift C shortcut key
Step 1: Drag the mouse in Eclipse to select the code that needs to be commented.
Step 2: Hold down the Ctrl Shift C shortcut key as shown in the picture.
Step 3: You will find that the selected code is commented out with "http://". After debugging, you can hold down the Ctrl Shift C shortcut key again to open the comment.
END
Method Three: Use Ctrl Shift/Shortcut Key
Step 1: Drag the mouse in Eclipse , select the code that needs to be commented.
Step 2: Hold down the Ctrl Shift/shortcut key as shown in the picture.
Step 3: You will find that the selected code is commented out by "/* */".
Step 4: After debugging, you can hold down the Ctrl Shift \ shortcut key to open the comment, as shown in the figure.
The above is the detailed content of What is the shortcut key for eclipse comments?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

NVIDIA graphics cards have their own screen recording function. Users can directly use shortcut keys to record the desktop or game screen. However, some users reported that the shortcut keys cannot be used. So what is going on? Now, let this site give users a detailed introduction to the problem of the N-card screen recording shortcut key not responding. Analysis of the problem of NVIDIA screen recording shortcut key not responding Method 1, automatic recording 1. Automatic recording and instant replay mode. Players can regard it as automatic recording mode. First, open NVIDIA GeForce Experience. 2. After calling out the software menu with the Alt+Z key, click the Open button under Instant Replay to start recording, or use the Alt+Shift+F10 shortcut key to start recording.

How to use shortcut keys to take screenshots in Win8? In our daily use of computers, we often need to take screenshots of the content on the screen. For users of Windows 8 system, taking screenshots through shortcut keys is a convenient and efficient operation method. In this article, we will introduce several commonly used shortcut keys to take screenshots in Windows 8 system to help you take screenshots more quickly. The first method is to use the "Win key + PrintScreen key" key combination to perform full

The shutdown shortcut key for Windows desktop computers is ALT+F4; the shutdown shortcut key for Windows laptops is Alt+Fn+F4; the shutdown shortcut key for Apple computers is Ctrl+Option+Power key. Analysis 1 If it is a Windows desktop computer, the shortcut key for shutting down is ALT+F4. After pressing the key, the shutdown interface will pop up. Simply press the Enter key to complete the shutdown. 2. If it is a Windows laptop, the shortcut key to shut down is Alt+Fn+F4, and then press the Enter key to complete the shutdown. 3. If it is an Apple computer, then the shutdown key is Ctrl+Option+Power key to complete the shutdown. Supplement: What are the computer shortcut keys? 1 The computer shortcut keys are: C

How to use the shortcut keys for merging cells In daily work, we often need to edit and format tables. Merging cells is a common operation that can merge multiple adjacent cells into one cell to improve the beauty of the table and the information display effect. In mainstream spreadsheet software such as Microsoft Excel and Google Sheets, the operation of merging cells is very simple and can be achieved through shortcut keys. The following will introduce the shortcut key usage for merging cells in these two software. exist

The shortcut key for renaming is F2. Analysis 1 The shortcut key for renaming is F2. 2 If you want to rename a file or folder, you can press F2 after selecting the file, modify it directly and press Enter. 3 Sometimes you can also use the mouse to select the file, right-click, select Rename, and press Enter after the modification is completed. 4 Shortcut keys refer to the special combination or sequence of keys on the keyboard to quickly complete a certain command, which can effectively improve work efficiency. Supplement: What are shortcut keys? 1 Shortcut keys, also called hot keys, refer to completing an operation through certain specific keys, key sequences or key combinations. You can use shortcut keys to do some work instead of the mouse. You can use keyboard shortcuts to open, close, and navigate the start menu, desktop, menus, and dialog boxes.

PyCharm is a powerful Python integrated development environment that can improve development efficiency through flexible shortcut keys. This article will introduce you to the commonly used running shortcut keys in PyCharm, and provide specific code examples to help you quickly get started using PyCharm. First, we need to understand the most basic running shortcut key in PyCharm: running the program. In PyCharm, you can use the shortcut key "Shift+F10" to run the current Python program. Below is one

PyCharm is a powerful Python integrated development environment that can greatly improve development efficiency by rationally utilizing shortcut keys. Among them, adjusting font size is one of the functions that developers often use. This article will introduce how to easily adjust font size in PyCharm and give specific code examples. First, we need to understand the shortcut keys for adjusting font size in PyCharm. In PyCharm, you can use the following shortcut keys to adjust the font size in the code editor

Recently, some friends who are using Win10 system have encountered that whenever the "W" key on the keyboard is pressed, the stylus function is activated, causing normal work to be disrupted. In order to solve this problem, we will bring you several different detailed solutions below, let’s take a look. Solution Method 1: Click "Start" in the taskbar in the lower left corner and select "Settings" in the option list. 2. After entering the new interface, click the "Device" option. 3. Then click "Pen and WindowsInk" in the left column. 4. Then find "Write with fingers on the handwriting panel" on the right, and finally uncheck the small box. Method 2: 1. Use the "win+R" shortcut key to start running, enter "regedit", and press Enter to start.
