If you are new to Eclipse IDE and wondering how to enable the line numbers for your code, you can do it in following steps,
- Go to the Gutter area of any file.
- Right Click → Show Line Numbers
- Now you should be able to see the line numbers.
Below are some screenshots that can help you guide to it.
Similarly if you want to disable line numbers Gutter → Right Click → Show line numbersAlternate Option:
You can do the same by using the menu options as well: Go to Windows → Preferences → General → Editors → Text Editors, now look for "Show line numbers" checkbox and tick it!
If you are using macOS you need to go to: Eclipse → Preferences → General → Editors → Text Editors → General → Editors → Text Editors
Note: ⛏️ This is no shortcut keys to do it!
- Eclipse : This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in
- How to Word wrap eclipse console logs width
- How to reset Eclipse IDE Code Font
- [Eclipse] Enable or Disable print margin line
- INVALID FILE NAME: MUST CONTAIN ONLY [a-z0-9_.] Android Eclipse Error
- Increase Font Size of Eclipse Java Code
- How to use Content Assist in Eclipse IDE
- How to enable line numbers in Eclipse IDE
- Add imports in eclipse shortcut key combinations
- Word-wrap Eclipse Console logs
- How to Reset Eclipse Theme to Classic
- How to switch Eclipse IDE Workspace
- [Eclipse] Syntax error, annotations are only available if source level is 1.5 or greater
- How to display Line Number in Eclipse IDE
- eclipse maven m2e : Cannot complete the install
- Failed to load the JNI shared library jvm.dll
- Search text in Eclipse Console logs
- Eclipse version 32-bit or 64-bit check on macOS
- How to view the Eclipse error log
- Eclipse Error : The Eclipse executable launcher was unable to locate its companion shared library.
- Java was started but returned exit code=13 [Eclipse]
- Eclipse Error The JVM Shared Library JavaVirtualMachines does not contain the JNI_CreateJavaVM symbol
- List of Code Snippets/Templates to Eclipse IDE
- Enable Eclipse dark mode
- How to Save Eclipse console logs in external log file