|
PyStudio
Python Integrated Development Solution
IDE
IntroductionProvides a collection of tools to aid in the development of Python applications. Main Features
Minor FeaturesInstallation NotesNOTE: If you have previously installed the standalone PylintPlugin it is suggested to uninstall it prior to installing PyStudio as the functionality of that plugin has been deprecated based on the new improved functionality provided by the PyStudio plugin DetailsPyStudio is a collection of tools for working with and developing Python code. This page contains the general information about the plugin, please see the links to the various features of the plugin for more detailed information. General ConfigurationThe PyStudio configuration dialog can be accessed from any of the plugins Shelf windows as well as from the PluginManager dialog. The screenshot below shows the General configuration page.
The PyStudio plugin tries to automatically detect what Python your using on your system but to get started you should make sure that this path is pointing to the Python that you want to work with. Most features of this plugin rely on this setting when running Python related commands. Configuration FileIt is possible to specify an optional configuration file (sometimes called a directory variables file). It must be named: __dirvar_py__.cfg When the tools are activated, they look for this file automatically (without user intervention) in the Python script's current directory, its parent, its parent's parent and so on up the directory tree. Hence, __dirvar_py__.cfg could, for example, be put in a project's src folder so that the settings apply to all scripts in src and its subfolders. Currently, 3 parameters are supported in __dirvar_py__.cfg:
Relative paths are allowed, for example: . or .. An example __dirvar_py__.cfg might be: PYTHONPATH=./src,./test PYLINTRC=../.pylintrc DEBUGGERARGS=./src/run.py %MODULE% Open ModuleThe Open Module feature allows you to right click on an import statement and open the corresponding module. When an import statement is clicked on the buffers context menu will include the "Open Module" menu item as shown in the below screenshot.
Syntax Error CheckThe syntax error check option (defaults to on) will automatically check files for syntax errors and other typos when the file is saved. The screenshot below shows the syntax error checker marking an error it found in the file.
Hovering over the line with the error will show a tooltip providing more details about the error. TODO List |