arduino / arduino/Arduino

Suggestion that BaseNoGui.java change how VERSION_NAME is defined, to made 'local mods' easier

Open
#11,708 0 comments 0 reactions 0 assignees View on GitHub
Component: IDE feature request
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

I suggest that in `arduino-core/src/processing/app/BaseNoGui.java`, that the single line definition
```
public static final String VERSION_NAME = "1.8.17";
```
be changed to be across two lines, as
```
public static final String VERSION_NAME = "1.8.17"
;
```
because I like to show to myself modifications to my local branches such as
```
public static final String VERSION_NAME = "1.8.17"
.concat("(FancyFeature)")
;
```
that shows in the IDE title bar, making it obvious which local changes version of the IDE is being run.

I have 3 feature branches: ExtraSketchbookInfoOnIncorrectFolder, SerialMonitorBackspace, & one that implements formfeed for SerialPlotter with adjustable minX & Y in computeBounds() for a pseudo-oscilloscope display.

As it stands at the moment, whenever I fetch the latest source from the GIT repository, and try and merge/rebase my local feature branches with various fancy features, I naturally get conflicts which need to be resolved before I can carry on.
So this would make local changes easier to merge/rebase, as there would be no conflict to sort out with `VERSION_NAME`.

Contributor guide

Open the contributing guide

Research direction

Open arduino-core/src/processing/app/BaseNoGui.java and inspect the VERSION_NAME declaration. The work is complete when its layout allows local version suffixes to be added without modifying the version-value line, while preserving the existing IDE version and build behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop, developer-experience
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.