Description
openedon Feb 10, 2023
Describe the request
Tighten the sketch folder and file name requirements in the Arduino Sketch Specification to ensure compliant names are compatible with all operating systems.
🙂 Shared Arduino sketches will be usable by anyone, regardless of which supported operating system they use.
Describe the current behavior
The Arduino Sketch Specification includes requirements for the names of the sketch folder and code files:
https://arduino.github.io/arduino-cli/dev/sketch-specification/#sketch-folders-and-files
🙁 Names that are compliant with the current specification are incompatible with the Windows operating system:
Ending With .
Do not end a file or directory name with a space or a period. Although the underlying file system may support such names, the Windows shell and user interface does not.
Reserved Names
Do not use the following reserved names for the name of a file:
CON, PRN, AUX, NUL, COM0, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT0, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. Also avoid these names followed immediately by an extension
Arduino CLI version
N/A
Operating system
N/A
Operating system version
N/A
Additional context
I did not find any instances of specification-compliant names that would be incompatible with Linux or macOS.
Example of problem caused by specification-compliant sketch name:
arduino/arduino-ide#1833 (review)
Additional requests
Issue checklist
- I searched for previous requests in the issue tracker
- I verified the feature was still missing when using the latest nightly build
- My request contains all necessary details
Activity