OpenSCAD language support for VSCode
Loading README and project media…
NOTICE: Because clang-format produces poor formatting results for OpenSCAD, we have completely removed support for clang-format and switched to the new formatter topiary.
VS Code Marketplace: [OpenSCAD Language Support]
Visual Studio Code extension utilizing the OpenSCAD language server,providing language support for OpenSCAD. The extension is available on Mac, Linux, and Windows. If you like this extension, please light up the stars in GitHub.
Project is available at: https://github.com/Leathong/openscad-support-vscode
scad-lsp.inlinePreview: When enabled, shows previews directly in VSCode rather than opening externally.
scad-lsp.searchPaths: The extension will read OPENSCADPATH Environment Variable to point to the library(s), or you can set search paths by this property.
scad-lsp.launchPath:
Command to launch openscad. Either the path to the openscad executable, or just "openscad" (no quotes) if the executable is in the path. If left blank, it will use the default path for your system noted below:
C:\\Program Files\\Openscad\\openscad.exe/Applications/OpenSCAD.app/Contents/MacOS/OpenSCADopenscad (Automatically in path).scad-lsp.fmtIdent:
The indentation string. Defaults to " " if not provided. Any string can be provided, but in most instances will be some whitespace: " ", " ", or "\t".
scad-lsp.fmtQueryFilePath: The query file used for topiary formatting, more detail refer to topiary.
scad-lsp.defaultParam: if true, will include default params in auto-completion.
For more information, see: Using an external Editor with OpenSCAD