Create a new python Project: file > new > project > PyDev > PyDev project.Import an existing Project (for example the Python Sample Menu Command): File -> New -> Project.Now, you can create or import a Project: a directory containing all files needed for a plug-in, for example the folder Python Sample Menu Command.The list will be visible here: Preferences > General > Startup and Shutdown > Workspaces Also take care to select a directory with proper read/write user rights, for example within the folder "Documents". If this path is visible by Vectorworks, it will make it launch very slowly (from traversing all these files and sub-folders). This is VERY important for the reason that a workspace directory will contain a ton of files that start with ‘.’. When you need to manually change the path: File > Switch Workspace > Other.: choose a directory outside any Vectorworks path.When prompted at start: choose a directory outside any Vectorworks path.Depending on Aptana's defaults, the application will prompt you with a workspace choice at every launch: Specify a Workspace: the directory where you store your Projects, in our case the plug-in folders with the code.See Configure Interpreter in the pdev documentation for more infos. We wont actually use it, but will let Aptana use it to syntax check. select the Python 3.3 you just installed in step 1.Preferences > PyDev > Interpreters > Python Interpreter.Only the first time, you must setup the Python interpreter (the above mentioned pydev plug-in): This is technically not necessary, but I prefer to have it so Aptana could report syntax errors while editing. Install Python 3.3 runtime ( download) I’ll hook Aptana to this version later.It includes PyDev for that which, by itself, is a plug-in to do python in Eclipse.Īnyway, you can remote debug, and here is how: I have experimented with Aptana Studio which is a version of Eclipse.Īptana is an IDE that allows you to manage Python projects and can debug remote python engines like Vectorworks.
0 Comments
Leave a Reply. |