Python script .vscode\settings

Python script .vscode\settings

doojin.kang
Explorer Explorer
706 Views
1 Reply
Message 1 of 2

Python script .vscode\settings

doojin.kang
Explorer
Explorer

Hi,

This is about the environment creating a python script and editing it on visual studio code.

 

After creating a python script, while editing the script, the vscode python setting file is created automatically.

 

C:\Users\(username)\AppData\Roaming\Autodesk\Autodesk Fusion 360\API\Scripts\Myscript\.vscode\settings.json

{
    "python.autoComplete.extraPaths":  ...,
    "python.analysis.extraPaths": ...,

    "python.pythonPath": ...,

}

 

"python.pythonPath" key is outdated, 

"python.defaultInterpreterPath"  is right to vscode later than 2021.6.0 (16 June 2021)

 

Please refer the vscode change note

https://github.com/microsoft/vscode-python/blob/main/CHANGELOG.md#202160-16-june-2021

 

Thanks,

Doojin

Accepted solutions (1)
707 Views
1 Reply
Reply (1)
Message 2 of 2

BrianEkins
Mentor
Mentor
Accepted solution

Thanks for reporting this. I checked and the development team wasn't aware of this change and will get it fixed.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com