Skip to content

v0.6.3 — File encoding diagnostic (GPPL3001)

Choose a tag to compare

@anzory anzory released this 09 Apr 05:53
· 36 commits to master since this release

Added

  • Encoding diagnostic GPPL3001 — warns when a .gpp file 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, default windows1252) — selects the target ANSI encoding used by GPPL3001. Changes take effect immediately — all open documents are re-diagnosed without reload.
  • Default editor encoding for .gpp set to Windows-1252 via configurationDefaults. Cyrillic postprocessor users should override both [gppl].files.encoding and gppl.encoding to windows1251 — 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