Debug
Log Panel¶
Log messages are printed in the dedicated log panel. There are two ways to open the log panel:
- Right click on the bottom-left corner of ST and then select
Output: AutoSetSyntax
. Or, runAutoSetSyntax: Show Log Panel
from the command palette1. - (Re-)save your plugin/project settings.
- See whether your rules are in those dropped rules. In that case, it's likely that your rules have wrong name or args.
Note
Each window has its own log panel. They may have different outputs due to project settings.
Debug Information¶
Just run AutoSetSyntax: Debug Information
from the command palette1.
Tip
The output is designed to be Python-compatible, thus you can format it with a Python formatter like Ruff.
Syntax Rules Summary¶
Run AutoSetSyntax: Syntax Rules Summary
from the command palette1.
Tip
The output is designed to be Python-compatible, thus you can format it with a Python formatter like Ruff.