Skip to content

Commit d5a73dc

Browse files
MichalSycmaglie
authored andcommitted
added setting to show always file extensions
1 parent 7438440 commit d5a73dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-core/src/processing/app/SketchFile.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public String getFileName() {
206206
* others.
207207
*/
208208
public String getPrettyName() {
209-
if (isExtension(Sketch.SKETCH_EXTENSIONS))
209+
if (!PreferencesData.getBoolean("editor.show_always_extensions") && isExtension(Sketch.SKETCH_EXTENSIONS))
210210
return getBaseName();
211211
else
212212
return getFileName();

0 commit comments

Comments
 (0)