Skip to content
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

File are not renamed when renaming tab #1316

Closed
3 tasks done
matsekberg opened this issue Aug 10, 2022 · 2 comments
Closed
3 tasks done

File are not renamed when renaming tab #1316

matsekberg opened this issue Aug 10, 2022 · 2 comments
Assignees
Labels
conclusion: duplicate Has already been submitted conclusion: off topic Off topic for this repository topic: CLI Related to Arduino CLI type: imperfection Perceived defect in any part of project

Comments

@matsekberg
Copy link

Describe the problem

If I rename the filename of a tab; eg util.c to util.cpp
When compiling the compiler will still use the util.c file and ignore the newly renamed util.cpp

To reproduce

Create a new file in a new tab, rename the tab.
Check in the directory, both files will be there.

Expected behavior

The file should be renamed,

Arduino IDE version

2.0.0-rc9.2

Operating system

macOS

Operating system version

Monterey 12.5

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@matsekberg matsekberg added the type: imperfection Perceived defect in any part of project label Aug 10, 2022
@matsekberg
Copy link
Author

I think it may have to do with caching. If I change board, compile and change back to the correct board and build it works.

@per1234
Copy link
Contributor

per1234 commented Aug 11, 2022

Hi @matsekberg. Thanks for taking the time to submit an issue.

I see we have another report about this at arduino/arduino-cli#1240.

It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

If you end up with additional information to share, feel free to comment in the other thread.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 11, 2022
@per1234 per1234 self-assigned this Aug 11, 2022
@per1234 per1234 added conclusion: duplicate Has already been submitted topic: CLI Related to Arduino CLI labels Aug 11, 2022
@per1234 per1234 added the conclusion: off topic Off topic for this repository label Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted conclusion: off topic Off topic for this repository topic: CLI Related to Arduino CLI type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants