Move sketch to appropriately named subfolder#5
Open
per1234 wants to merge 1 commit intoCritters:masterfrom
Open
Move sketch to appropriately named subfolder#5per1234 wants to merge 1 commit intoCritters:masterfrom
per1234 wants to merge 1 commit intoCritters:masterfrom
Conversation
The Arduino IDE requires that a sketch be located in a folder of the same name. Although the name of the repository does match the sketch name, when GitHub's popular Clone or download > Download ZIP feature is used to download the contents of a repository the branch/release/commit name is appended to the folder name, causing a mismatch. When opening a file that does not meet this sketch/folder name matching requirement the Arduino IDE presents a dialog: The file "TWANG.ino" needs to be inside a sketch folder named "TWANG". Create this folder, move the file, and continue? After clicking "OK" the Arduino IDE currently moves only the file TWANG.ino to the new folder, leaving behind the other source files. This causes compilation of the sketch to fail: TWANG-master\TWANG\TWANG.ino:7:18: fatal error: iSin.h: No such file or directory
|
just remove the |
Author
|
@mirceaciu ...or just put the sketch in an appropriately named folder and that won't be necessary. Of course I know to change the folder name. The purpose of this PR is to make the project friendly to the average Arduino user, who won't know to do that and will end up suffering a lot of confusion. That also results in an increased support burden. |
|
|
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Arduino IDE requires that a sketch be located in a folder of the same name. Although the name of the repository does match the sketch name, when GitHub's popular Clone or download > Download ZIP feature is used to download the contents of a repository the branch/release/commit name is appended to the folder name, causing a mismatch.
When opening a file that does not meet this sketch/folder name matching requirement the Arduino IDE presents a dialog:
After clicking "OK" the Arduino IDE currently moves only the file TWANG.ino to the new folder, leaving behind the other source files. This causes compilation of the sketch to fail: