arduino / arduino/Arduino

Automatically scroll tab bar so that the selected tab is always visible

Open
#1,193 4 comments 1 reaction 0 assignees View on GitHub
Component: IDE user interface
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

Issue
File being edited is only identified in first few files of a large sketch limited by screen width or windows size. Typically 10 for low resolution monitors / reduced window size. Larger sketches (e.g. RepRap Marlin) have many files. The Windows Arduino IDE (018 through 1.03) is not handling these well. It's very easy to get lost on low resolution screens or reduced size windows. If handling multiple projects (versions) its extremely difficult to identify file edited.

Type
Enhancement

Software
Arduino IDE

What change would like to see?
Move TABs left and right keeping edited code as active TAB at left of screen.
Alternative
Explicitly identify file being edited in sketch in status line or similar.

Why?
Errors are introduced into code as correct file is difficult to identify / confirm. Relying on poor documentation in some code means the likelihood of editing the wrong file is high.

Would this cause any incompatibilities with previous versions? If so, how can these be mitigated?
Unknown, current experience limited to Windows IDE.
Believed limited compatibility impact as suggested improvement is in IDE only.

Steps to reproduce issue
Load large sketch, e.g. RepRap Marlin. Reduce window size to 1280 pixels wide. ALT + TAB through files. Attempt to confirm file name being viewed / edited.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the Arduino IDE with a large sketch such as RepRap Marlin at a narrow window size, then inspect the tab bar behavior while switching files with Alt+Tab. Done means the selected file remains visible and identifiable in the tab bar, or the chosen status-line alternative clearly identifies the file being edited.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.