Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Edge HMI

Python editor IntelliSense and script checking

  • Last UpdatedOct 29, 2026
  • 3 minute read

IntelliSense provides an array of options that make language references easily accessible. When coding, you do not need to leave the code editor to perform searches on language elements. You can keep your context, find the information you need, insert language elements directly into your code, and even have IntelliSense complete your typing for you.

The implementation of IntelliSense for Python supports the following features:

  • Declarative Language features supported: syntax highlighting, snippet completion, bracket matching, bracket auto closing, bracket auto surrounding, comment toggling, auto indentation, and folding (by markers).

  • Programmatic Language features:

    • Supported: hover information, auto completion, error checking, and formatting (change tabs to four spaces).

    • Not supported: jump to definition, refactoring, and folding.

Code Completion

The Python worksheet code completion works for any module that is already available in the Python distribution (Python Standard Library) and for manually installed packages. You can navigate the menu and use Enter or Tab to complete the element.

Examples:

  • Functions, classes, and variables in the Python distribution:

    Functions, classes, and variables in the Python distribution

  • Functions, classes, and variables in a module that has been imported into the worksheet. In this example, import math appears before this math module code completion:

    Functions, classes, and variables in a module that has been imported into the worksheet

  • Functions, classes, and variables with global scope:

    Functions, classes, and variables with global scope

  • HMI module functions:

    HMI module functions

HMI Function Quick Info

The Quick Info option displays tooltips with the information about the functions from the Built-in Scripting Language. The information includes the parameters supported by this function:

Quick Info display

Script Checking

As you type, you will see red and yellow underlining that will often disappear after the line has been typed correctly. You can hover the mouse over the underlined text to see error information:

Script checking dialog

You can also right click underlined text to open a context menu (see next section). Selecting Check Script on the menu, will open a dialog with more information on the error:

Error information screen

Error information screen 2

Format Document

You can write your Python code in an external text editor and copy it into any of the Python interfaces (worksheets). If you do this, right-click anywhere in the Python script (Global or Task Python scripting worksheets) and select Format Document on the context menu. This will convert Tab characters to four spaces.

Context menu

In This Topic