Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Avoid copying whole directory on Open in all cases #7909

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
facchinm wants to merge 1 commit into arduino:master
base: master
Choose a base branch
Loading
from facchinm:copy_directory_on_open_only_if_needed_master

Conversation

Copy link
Member

@facchinm facchinm commented Aug 22, 2018
edited
Loading

Alternative to #7904, tries to distinguish between

  • click on a single ino file downloaded from the internet (old behaviour applies, directory is created and the file is moved in it)
  • click on an ino file that for some reason is part of a project with the wrong name (eg. it was downloaded as zip from github, so the containing folder names becomes "projectName-master"). In this case if the directory is renamed after prompting the user)
    2018年08月22日-112348_1920x1080_scrot

Copy link
Contributor

@facchinm are we still interested in moving ahead with these changes?

Copy link
Member Author

Yes, since the behaviour as of today is wrong 🙂
But maybe the right place to apply this would be the cli (if it enforces the dirName/dirName.ino convention)

Takes into account Github-like transformations (projectName becomes projectName-branchName)
Also changes user prompt to specify that it will move a whole folder.
@facchinm facchinm force-pushed the copy_directory_on_open_only_if_needed_master branch from f95d193 to 3e3593d Compare September 18, 2019 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@cmaglie cmaglie Awaiting requested review from cmaglie

Assignees
No one assigned
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /