Returns the filename without extension for normal sketch files (Sketch.SKETCH_EXTENSIONS) and the filename with extension for all others.
()
| 206 | * others. |
| 207 | */ |
| 208 | public String getPrettyName() { |
| 209 | if (!PreferencesData.getBoolean("editor.show_always_extensions") && isExtension(Sketch.SKETCH_EXTENSIONS)) |
| 210 | return getBaseName(); |
| 211 | else |
| 212 | return getFileName(); |
| 213 | } |
| 214 | |
| 215 | /** |
| 216 | * Returns the filename without extension |
no test coverage detected