Skip to content

[sketchbook] The view shows broken hierarchy when opening the MarlinFirmware/Marlin project #1038

Closed
@kittaakos

Description

@kittaakos

Describe the problem

The view shows some strange sketchbook hierarchy when I have Marlin project opened in IDE2.

Screen Shot 2022-06-10 at 16 44 53

The actual FS content:

% ls -al
total 0
drwxr-xr-x  14 a.kitta  staff  448 Jun 10 16:43 .
drwx------+  5 a.kitta  staff  160 May 27 15:32 ..
drwxr-xr-x  21 a.kitta  staff  672 Jun 10 16:43 Marlin
drwxr-xr-x@  4 a.kitta  staff  128 Jun 10 16:32 MultipleFiles
drwxr-xr-x@  3 a.kitta  staff   96 Jun  9 14:09 libraries
drwxr-xr-x   4 a.kitta  staff  128 Jun  2 14:31 sketch with space
drwxr-xr-x   3 a.kitta  staff   96 Jun 10 13:11 sketch_jun10a
drwxr-xr-x   3 a.kitta  staff   96 Jun  1 14:56 sketch_jun1a
drwxr-xr-x   6 a.kitta  staff  192 Jun 10 09:37 sketch_jun1b
drwxr-xr-x   3 a.kitta  staff   96 Jun  3 15:11 sketch_jun3a
drwxr-xr-x   4 a.kitta  staff  128 Jun 10 14:12 sketch_jun3b
drwxr-xr-x   3 a.kitta  staff   96 May 27 14:31 sketch_may27a
drwxr-xr-x   3 a.kitta  staff   96 May 27 14:31 sketch_may27b
drwxr-xr-x@  3 a.kitta  staff   96 May 27 14:31 sketch_may27c

To reproduce

Expected behavior

I am not sure what to expect but the sketchbook tree looks incorrect. If there is a complex sketch, IDE2 should show the sketch Marlin as any other sketches.

Arduino IDE version

Version: 2.0.0-rc7 Date: 2022-06-09T08:19:19.877Z CLI Version: 0.23.0 [899dc91b] Copyright © 2022 Arduino SA

Operating system

macOS

Operating system version

12.3.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

Labels

conclusion: invalidIssue/PR not validtopic: 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