v0.6.3 — File encoding diagnostic (GPPL3001)
Added
- Encoding diagnostic
GPPL3001— warns when a.gppfile contains characters that cannot be saved in the target ANSI encoding (SolidCAM reads postprocessor files in the system ANSI codepage). Points at the first offending character and reports the total count. - Setting
gppl.encoding(windows1252|windows1251, defaultwindows1252) — selects the target ANSI encoding used byGPPL3001. Changes take effect immediately — all open documents are re-diagnosed without reload. - Default editor encoding for
.gppset to Windows-1252 viaconfigurationDefaults. Cyrillic postprocessor users should override both[gppl].files.encodingandgppl.encodingtowindows1251— see README.
The diagnostic intentionally does not offer a Quick Fix — use VS Code's built-in Save with Encoding / Reopen with Encoding to switch encoding.
Install
code --install-extension anzory.vscode-gppl-ide-0.6.3.vsix