How to display line numbers in eclipse: 1. Directly enter the shortcut key "CTRL F10" and check "show line numbers"; 2. Right-click its sidebar and check "show line numbers"; 3 , just set the displayed line number in the Eclipse menu bar.
The operating environment of this tutorial: Windows 10 system, Eclipse IDE 2020-06 R version, Dell G3 computer.
Recommended: "Programming Video"
eclipse displays line number
一, Shortcut key method
#Open a code page, directly enter the shortcut key CTRL F10, a menu will be called up, check "show line numbers" to display the line number
## 2. Right sidebar method
Open a code page, right-click on its sidebar, as shown in the figure, a menu will be displayed, check "show line numbers" to display the line numbers
3. General setting method
In the Eclipse menu Select "Window"--"Prenference"
##################################################### Window->Preferences->Gerenal->Editors->Text Editors, then check "show line numbers" on the right to display the line numbers~######
The above is the detailed content of How to display line number in eclipse. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

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

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

Undress AI Tool
Undress images for free

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

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Linux new version
SublimeText3 Linux latest version

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

SublimeText3 Chinese version
Chinese version, very easy to use

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.
