How an I use Spyder instead of Visual Studio?

How an I use Spyder instead of Visual Studio?

Anonymous
Not applicable
1,346 Views
3 Replies
Message 1 of 4

How an I use Spyder instead of Visual Studio?

Anonymous
Not applicable

Hi,

 

When I wanted to edit TestScript add-in written in C++, Visual Studio started to run and opened the TestScript file in its editor. I would like to open it and write code in Sypder instead of Visual Studio.

 

How can I do that?

Accepted solutions (1)
1,347 Views
3 Replies
Replies (3)
Message 2 of 4

marshaltu
Autodesk
Autodesk
Accepted solution

Hello,

 

We defined two attributes in manifest file so that clients can specify code editor for C++ script or addin. Unfortunately it seems that Spyder isn't ideal editor for C++ script or addin as it cannot open associated cpp/header files by opening project file.

 

Thanks,

Marshal 

 

http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-9701BBA7-EC0E-4016-A9C8-964AA4838954

 

sourcewindows and sourcemac

A C++ script or add-in has two additional properties that identify the filename of the project file for both Windows and Mac. When you select the "Edit" option in the "Scripts and Add-Ins" dialog, Fusion opens the associated project file using whatever application is associated with that file type. For example, in the example below a .vcxproj file is specified for the sourcewindows property so Visual Studio will be invoked since it's defined within Windows as the associated application for .vcxproj files. By changing this file you can choose to use any code editor that you want.

	"sourcewindows":	"NewCPPTest.vcxproj",
	"sourcemac":	"NewCPPTest.xcodeproj"

 

These properties can also be used for JavaScript scripts and add-ins to override the default behavior of using Brackets as the JavaScript editor. In this case the source file will be the projects .js file and whatever you have set up on your system as the associated pplication for .js files will be used.

	"sourcewindows":	"AssemblyTree.js",
	"sourcemac":	"AssemblyTree.js"

 



Marshal Tu
Fusion Developer
>
Message 3 of 4

Anonymous
Not applicable

Thank you very much for the answer.

0 Likes
Message 4 of 4

dewaine50
Advocate
Advocate

Hello I'd like to follow up on this relevant comment by asking how I would do this in Python spyder. I'm unable to use visual studio and I can't use it. I want to use what was already working. Please show me how to have this open in spider like it normally did before where everything worked