Python Preferences

General

Display errors and warnings - Toggles the display of errors, warings and info in the sidebar.

Smart indent - When enabled, Charcoal Editor will create indents according to code structure.

Hide .pyc files in Project View -Filters .pyc files from the Project View widget.

Import PyMEL on load - When enabled, Charcoal Editor will automatically import PyMEL when it is loaded.

Auto-complete updates Quick Help - Auto-completion updates the Quick Help search bar if the completed text is a Maya command.

Auto-Complete

The auto-complete checkboxes control how and when the auto-complete dialog is displayed. By disabling all checkboxes, auto-complete will never be displayed.

Auto-Complete Options

Include Keywords - Include Python keywords in the auto-complete list.

Include Built-ins - Include Python built-in methods in the auto-complete list.

Forced Imports

Forced imports are a list of semi-colon (;) separated Python import statement. The imports included in this list are automatically imported by Charcoal Editor and added to the auto-complete list (without having to include the import statement in the source code).

Common usage of this field would be for imports that are included in the userSetup.py startup file or any imports that the user would always like to have displayed in the auto-complete list.

Example:

import maya.cmds as cmds;import pymel.core as pmc;import sys

Related Links