qcodes.extensions

The extensions module contains smaller modules that extend the functionality of QCoDeS. These modules may import from all of QCoDeS but do not themselves get imported into QCoDeS.

Functions:

register_station_schema_with_vscode()

This function registeres the qcodes station schema with vscode.

qcodes.extensions.register_station_schema_with_vscode() None[source]

This function registeres the qcodes station schema with vscode.

Run this function to add the user generated station schema to the list of associated schemas for the Red Hat YAML schema extension for vscode. (https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml)

This function will effectively add an entry to yaml.schemas in the user config file of vscode, which is located under %APPDATA/Code/User/settings.json, or will be created there.

You can alternatively access this setting via File->Preferences->Settings and search for yaml.schemas.

To enable autocompletinon of QCoDeS instrument from additional packages run qcodes.station.update_config_schema.

For more information consult qcodes/docs/examples/Station.ipynb.