vscode-terosHDL icon indicating copy to clipboard operation
vscode-terosHDL copied to clipboard

Change vscode work directory when changing projects.

Open sigmuha opened this issue 9 months ago • 2 comments

Is your feature request related to a problem? Please describe. It would be nice if the workspace directory (the one used by vs-code) is switched to when selecting a project. This makes it clearer which project is used. It also opens up the previously opened tabs of that project making it easier to continue where you left of. Paths in the terminal are also correct, making running scripts easier.

Describe the solution you'd like When selecting a project in the PROJECTS pane, the workspace directory should be changed. The workspace directory then needs to be stored in the project settings somewhere, eg. under General. The path could be defaulted to the current workspace directory when creating a project.

sigmuha avatar Apr 08 '25 05:04 sigmuha

Also, when opening vs code in a workspace directory, the corresponding project may be loaded. Don't know how easy this is to trigger.

sigmuha avatar Apr 08 '25 05:04 sigmuha

Also, when opening vs code in a workspace directory, the corresponding project may be loaded. Don't know how easy this is to trigger.

hmmm but you need to have a TerosHDL project file in the top on the workspace in other case how could I know what files to add?

qarlosalberto avatar Apr 08 '25 09:04 qarlosalberto

Close as not planned.

qarlosalberto avatar Sep 22 '25 09:09 qarlosalberto