Scroll to navigation

PYSIDE6-QMLFORMAT(1) PySide6 tools PYSIDE6-QMLFORMAT(1)

NAME

pyside6-qmlformat - qmlformat

SYNOPSIS

qmlformat [options] filenames

DESCRIPTION

Formats QML files according to the QML Coding Conventions. Options below the "Formatting options" section can also be set via .qmlformat.ini unless --ignore-settings is used

OPTIONS

Displays help on commandline options.
Displays help, including generic Qt options.
Displays version information.
Verbose mode. Outputs more detailed information.
Writes defaults settings to .qmlformat.ini and exits (Warning: This will overwrite any existing settings and comments!)
Ignores all settings files and only takes command line options into consideration
Format all files listed in file, in-place
Prints the settings file that would be used for this instance.This is useful to see what settings would be used without actually performing anything.
Use the specified .qmlformat.ini file as the only configuration source.Overrides any per-directory configuration lookup.
Edit file in-place instead of outputting to stdout.
Continue even if an error has occurred. ?????????????????????????????????????????????????????? Formatting options ??????????????????????????????????????????????????????
Use tabs instead of spaces.
How many spaces are used when indenting.
Breaks the line into multiple lines if exceedes the specified width. Use -1 to disable line wrapping. (default)
Reorders the attributes of the objects according to the QML Coding Guidelines.
Override the new line format to use (native macos unix windows).
Ensure spaces between objects (only works with normalize option).
Ensure spaces between functions (only works with normalize option).
Sort imports alphabetically (Warning: this might change semantics if a given name identifies types in multiple modules!).
Specify the semicolon rule to use (always, essential). always: always adds semicolon [default]. essential: adds only when ASI wouldn't be relied on.

Arguments:

files to be processed by qmlformat
March 2026 pyside6-qmlformat 6.10