Source Editor

Utils for launching source editors like VSCode or PyCharm.

class SourceEditorLauncher

Bases: object

Handles running an editor to open and edit python source files.

property editor_path

pulse.editor.sourceEditorPath

Type:

Get or set the optionVar

open_file(file_path)

Open a file in the source editor.

Parameters:

file_path – str The file to open in the editor.

open_module(module)

Open a python module’s file in the source editor.

Parameters:

module – A python module to open.

open_file(file_path: str)

Open a file in the current source editor.

open_module(module)

Open a python module’s file in the current source editor.

Parameters:

module – A python module to open.