mylonics / zephyr-ide

Apache License 2.0
16 stars 2 forks source link

I can add add project but can't delete it, and can add build but can't delet build #1

Closed IOT4566 closed 2 months ago

IOT4566 commented 2 months ago

issue

I can add add project but can't delete it, and can add build but can't delet build!

rijesha commented 2 months ago

Thanks for the issue. It may be that the GUI is not actually updating. Could you try "Zephyr IDE: Load Projects from File" Command?

rijesha commented 2 months ago

or restarting VS code and seeing if it deletes correctly?

IOT4566 commented 2 months ago

Thanks for the issue.. It may be that the GUI is not actually updating. Could you try "Zephyr IDE: Load Projects from File" Command?

NO, this issue is not caused by the GUI not being updated, beacause i click buttom for delete project or bulid then closing vscode and reopening it, but it can not be deleted

rijesha commented 2 months ago

I have pushed an update. The update should be available on the marketplace in 5 minutes or so.

IOT4566 commented 2 months ago

I have pushed an update. The update should be available on the marketplace in 5 minutes or so.

OK,I try it a few, thanks!

IOT4566 commented 2 months ago

I have pushed an update. The update should be available on the marketplace in 5 minutes or so.

I have updated and restart vscode, but the issues still persists!

rijesha commented 2 months ago

Ok, so the extension is on 1.0.7? Could you send me .vscode/settings.json file?

IOT4566 commented 2 months ago

Ok, so the extension is on 1.0.7? Could you send me .vscode/settings.json file?

1 07 settings.json

rijesha commented 2 months ago

Could you put this in your settings.json file and see if the issue is still there? "zephyr-ide.use-zephyr-ide-json": false,

rijesha commented 2 months ago

image

When you press delete do you see the popup appear asking you if you are sure?

IOT4566 commented 2 months ago

Could you put this in your settings.json file and see if the issue is still there? "zephyr-ide.use-zephyr-ide-json": false,

001

I put "zephyr-ide.use-zephyr-ide-json": false,, but the issue is still there. when i press delete i can not see the popup appear asking me if you are sure

IOT4566 commented 2 months ago

image

When you press delete do you see the popup appear asking you if you are sure?

https://github.com/mylonics/zephyr-ide/assets/169084509/53d380b5-5754-4b70-962f-8a421bea11fe

rijesha commented 2 months ago

Could you "Zephyr IDE: Clear Project" and try readding projects. Or start fresh from a new folder.

IOT4566 commented 2 months ago

Could you "Zephyr IDE: Clear Project" and try readding projects. Or start fresh from a new folder.

https://github.com/mylonics/zephyr-ide/assets/169084509/48ecebb4-f4ed-4592-9bd8-218621db284c

do you mean by this?

rijesha commented 2 months ago

Yes. It is interesting that the button is not doing anything. It seems like none of the buttons on the GUI are working. Can you add a new build from the GUI or can you only add them from the command pallet?

rijesha commented 2 months ago

can you also share a zip of the folder. (you can leave out the external directory though)

IOT4566 commented 2 months ago

Yes. It is interesting that the button is not doing anything. It seems like none of the buttons on the GUI are working. Can you add a new build from the GUI or can you only add them from the command pallet?

I add a new build from the gui

rijesha commented 2 months ago

Ok. Could you open the extension host logs and let me know what happens when you try deleting a build? Ctrl-Shift-p -> Show Logs -> Extension Host

rijesha commented 2 months ago

Oh your notifications are just off. image

It should look like this. Or click on the bell icon to see a notification. image

IOT4566 commented 2 months ago

can you also share a zip of the folder. (you can leave out the external directory though)

ok, but i no how send a zip file

IOT4566 commented 2 months ago

Oh your notifications are just off. image

It should look like this. Or click on the bell icon to see a notification. image

oh, yes, it's this caused, it's ok now, thank you very much! Additionally, when adding a project from a template, can we add a fold path that allows users to specify the project

rijesha commented 2 months ago

oh, yes, it's this caused, it's ok now, thank you very much! Additionally, when adding a project from a template, can we add a fold path that allows users to specify the project

Do you mean the ability to manually browse to a desired sample project? Or do you mean renaming the project folder after it is copied? (Project blinky is added as project blinky2) Or do you mean putting the project into a subfolder? (Project blinky is added as project subfolder/blinky)

IOT4566 commented 2 months ago

oh, yes, it's this caused, it's ok now, thank you very much! Additionally, when adding a project from a template, can we add a fold path that allows users to specify the project

Do you mean the ability to manually browse to a desired sample project? Or do you mean renaming the project folder after it is copied? (Project blinky is added as project blinky2) Or do you mean putting the project into a subfolder? (Project blinky is added as project subfolder/blinky)

yes i mean putting the project into a subfolder? (Project blinky is added as project subfolder/blinky), the subfolder can be brow by user and the project folder can be rename also

rijesha commented 2 months ago

Yea that is something I could do. Please make a new issue for it, and I will get to it when I have a chance. To rename the project, the CMakeLists file needs to be parsed and the project like needs to be updated, so that adds a little bit of complexity.