mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
added setting to show always file extensions
This commit is contained in:
parent
74384400e2
commit
d5a73dc419
@ -206,7 +206,7 @@ public class SketchFile {
|
||||
* others.
|
||||
*/
|
||||
public String getPrettyName() {
|
||||
if (isExtension(Sketch.SKETCH_EXTENSIONS))
|
||||
if (!PreferencesData.getBoolean("editor.show_always_extensions") && isExtension(Sketch.SKETCH_EXTENSIONS))
|
||||
return getBaseName();
|
||||
else
|
||||
return getFileName();
|
||||
|
Loading…
x
Reference in New Issue
Block a user