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

Bug: Deleting files/groups within Activity Bar -> IAR Build causes new, empty groups to be created #12

Closed
jack-trolex opened this issue Jul 1, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@jack-trolex
Copy link

jack-trolex commented Jul 1, 2022

Problem:
As title states, when deleting a file from within the IAR Build explorer, a new group is created with the same name as a group in that directory.

Example
image

Intention is to delete these two files from the group

image

On confirming the delete, the file is not removed from the group and a new group within that group has been created

image

Deleting the group results in a new group of the same name being created.
Deleting the base_comms.c file causes the number of groups to be duplicated!

image

Adding groups gives similar results

Print from IAR Build output on deleting the a group:

[01/07/2022, 13:04:54][Debug] 'c:\Users\Jack\Desktop\GitHub\project_Firmware\EWARM\project.ewp' changed on disk
[01/07/2022, 13:04:54][Debug] Loading project 'project' using thrift...
[01/07/2022, 13:04:54][Debug] Loading project context for 'project'
[01/07/2022, 13:04:54][Debug] Loaded extended project 'project'

No outputs from IAR Config Generator or IarServiceManager

@HampusAdolfsson HampusAdolfsson self-assigned this Jul 1, 2022
@HampusAdolfsson HampusAdolfsson added the bug Something isn't working label Jul 1, 2022
@HampusAdolfsson
Copy link
Collaborator

Hi,

This is a bug in some versions of the Embedded Workbench platform, not in the VS Code extension code. It has been fixed in the latest EWRISCV and EWARM releases.

The bug is more serious than I previously thought; this occurs whenever adding/removing a file/group that has any group as a sibling or child. I'll add some sort of warning or confirmation dialog when performing an action that would trigger this bug.

@jack-trolex
Copy link
Author

Hello,

I've updated my Embedded Workbench Platform to the latest version 9.30.1.50054 and the issue in VS Code is still present.

Switching to Embedded Workbench and deleting the groups/files from there works as it should.

@jack-trolex
Copy link
Author

Apologies, I had the wrong Embedded Workbench installation selected in Extention Configuration, Issue is fixed now.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants