Skip to content

Irrelevant files from the sketch folder are synced to the cloud #1903

Open
@kittaakos

Description

@kittaakos

Describe the problem

When arduino.language.log: true setting is used, IDE2 will generate the log files for the Arduino LS and clangd. All these files are pushed when the user pushes a sketch to the cloud.

To reproduce

  • Create a new cloud sketch,
  • Set arduino.language.log: true,
  • Select a board so that the language server starts,
  • Push to the cloud,
  • Go to https://create.arduino.cc/editor/ and see that the log files are there. Probably they should not.
log-files-pushed.mp4

Expected behavior

Do not sync irrelevant files in the sketch folder.

TODO:

  • figure out what should be synced. Probably what is discovered by the CLI LoadSketch function.

Arduino IDE version

2.0.3

Operating system

macOS

Operating system version

12.5.1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: cloudRelated to Arduino Cloud and cloud sketchestopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions