Skip to content

Opening example sketch does not check the .development file flag #936

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
3 tasks done
KurtE opened this issue Apr 1, 2022 · 2 comments
Open
3 tasks done

Opening example sketch does not check the .development file flag #936

KurtE opened this issue Apr 1, 2022 · 2 comments
Labels
topic: CLI Related to Arduino CLI topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@KurtE
Copy link

KurtE commented Apr 1, 2022

Describe the problem

If you open an example sketch and you have marked the library as being in development.

As described in: https://arduino.github.io/arduino-cli/0.21/library-specification/#development-flag-file

The file is still opened up in the temporary directory not shown as within the library.

On IDE1, the example is opened, I can edit it and then do a save and the example is updated in place.

To reproduce

mark a library as in development, by creating the .development file,
And open an example sketch within that folder.

Expected behavior

Same as IDE1

Arduino IDE version

running 0401 nightly

Operating system

Windows

Operating system version

10

Additional context

I mentioned this in comment to #925

@per1234 mentioned that the CLI does not even pickup the presences of this file:
https://arduino.github.io/arduino-cli/0.21/rpc/commands/#library

Additional reports

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
@KurtE KurtE added the type: imperfection Perceived defect in any part of project label Apr 1, 2022
@per1234 per1234 added topic: code Related to content of the project itself topic: CLI Related to Arduino CLI labels Apr 1, 2022
@darianbjohnson

This comment was marked as duplicate.

@fpistm

This comment was marked as duplicate.

@arduino arduino locked as too heated and limited conversation to collaborators Sep 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic: CLI Related to Arduino CLI topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

5 participants