Home  >  Article  >  How to display line number in eclipse

How to display line number in eclipse

藏色散人
藏色散人Original
2020-12-24 11:03:2213259browse

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.

How to display line number in eclipse

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

How to display line number in eclipse

3. General setting method

In the Eclipse menu Select "Window"--"Prenference"

How to display line number in eclipse

##################################################### 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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn