permanently change VSCode settings.json

permanently change VSCode settings.json

m0d0
Contributor Contributor
1,167 Views
2 Replies
Message 1 of 3

permanently change VSCode settings.json

m0d0
Contributor
Contributor

Hi,

 

is there a way to change the workspace settings of VSCode permanently? (for adding linter configuration etc.) It seems like the  .../API/AddIns/<my_addin>/.cscode/setting.json file is overwritten at every run of the addin?

 

Thank you.

 

 

0 Likes
1,168 Views
2 Replies
  • API
Replies (2)
Message 2 of 3

kandennti
Mentor
Mentor

Hi @m0d0 .

 

For windows, I think that the two files "settings.json" and "launch.json" have been copied from the following folders.

C:\Users\<username>\AppData\Roaming\Autodesk\Autodesk Fusion 360\API\Python\vscode

 

0 Likes
Message 3 of 3

m0d0
Contributor
Contributor

Thanks for your answer.

This will work but there are two drawbacks in our case:

1.  we can not share the settings via git (the repository is the addin folder)

2. this file probably gets overwritten as well every time fusion gets an update

 

So modifying the way the python interpreter is launched and setup would probably be more convenient.

Or is there an other solution achieving a stable setup for VSCode?

0 Likes