-
-
Notifications
You must be signed in to change notification settings - Fork 470
Closed
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedcriticality: lowOf low impactOf low impacttopic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Describe the bug
The Arduino build system requires assembly language files to use the .S
file extension but the "New Tab" dialog only allows .s
. Files using the .s
extension are not compiled.
To Reproduce
- Click the downward pointing triangle button on the right side of the tab bar.
- Click "New Tab"
- In the "Name for new file" dialog, type "Foo.S". - ".S is not a valid file extension." is shown and the "OK" button is disabled.
Expected behavior
The .S
file extension to be allowed and the .s
extension prohibited by the "New Tab" and "Rename" dialogs of the tab control menu.
Desktop (please complete the following information):
- OS: Windows 10
- Version: 2.0.0-beta.3-nightly.20210313
Date: 2021-03-13T03:11:23.309Z
CLI Version: 0.16.1 alpha [76f55490]
Additional context
Reference from the Arduino Sketch Specification: https://arduino.github.io/arduino-cli/latest/sketch-specification/#additional-code-files
I believe the relevant code is here:
export const SOURCE = ['.c', '.cpp', '.s']; | |
export const ADDITIONAL = ['.h', '.c', '.hpp', '.hh', '.cpp', '.s', '.json']; |
kittaakos
Metadata
Metadata
Assignees
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedcriticality: lowOf low impactOf low impacttopic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project