- Trending Categories
- Data Structure
- Operating System
- MS Excel
- C Programming
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to show line numbers in Arduino IDE?
Line numbers are often necessary when working with large files consisting of several functions. Most developers prefer to have the line numbers shown in their code editing software.
By default, line numbers are hidden in the Arduino IDE. In order to display the line numbers, go to File → Preferences.
In the dialog that opens, tick the box that says ‘Display Line Numbers’.
The line numbers will now appear on the Sketch.
Alternatively, the line number of your cursor can always be obtained from the bottom-left corner of the screen. This is one of the not-so-well-known features of Arduino IDE.
- Related Articles
- How to change programmer in Arduino IDE
- How to compile code using Arduino IDE
- How to program a board using Arduino IDE
- How to download and install Arduino IDE 2.0?
- How to use the Autocomplete feature in Arduino IDE 2.0?
- Auto-format code in Arduino IDE
- See inbuilt examples in Arduino IDE
- Change board selection in Arduino IDE
- How to increase the font size of text in Arduino IDE?
- How to Use a Serial Monitor with Arduino IDE 2.0?
- Download a new library in Arduino IDE
- Add new header files in Arduino IDE
- How to export the binary file of a code in Arduino IDE
- Installing a new library in Arduino IDE 2.0
- Arduino IDE 2.0 – Using the Boards Manager