[1.3.2] - (2025-01-30)
openscad.experimental.skipLaunchPathValidation
configuration. (Not an ideal approach, but it should work.)- Better logging.
- Errors when validating OpenSCAD executable. (See PR #69).
[1.3.1] - (2024-02-01)
-
Configurations (See PR #58)
Old New openscad.export.autoNamingFormat
openscad.export.exportNameFormat
openscad.export.useAutoNamingExport
openscad.export.skipSaveDialog
openscad.export.useAutoNamingInSaveDialogues
openscad.export.saveDialogExportNameFormat
- Override
openscad.export.exportNameFormat
on a per-file basis. (See PR #58). openscad.export.exportNameFormat
now supports date time variables. Use${date}
for an ISO 8601 date string or use a custom format with:${date:TEMPLATE}
according to Luxon tokens. (See PR #57) Fixes: #55.
- Auto versioning started at "-Infinity" instead of "1" for a folder without similarly named files.
- Configurations (See PR #58)
openscad.export.autoNamingFormat
openscad.export.useAutoNamingExport
openscad.export.useAutoNamingInSaveDialogues
- Implemented logging-service.ts based on the one found in the prettier/prettier-vscode. This should make it easier for troubleshooting issues in the future.
openscad.showOutput
command to display the output channel.openscad.logLevel
configuration to set the output channel log level.
[1.2.1] - (2023-07-26)
[1.2.0] - (2023-07-22)
openscad.launchArgs
configuration. Fixes #36.
VSCode OpenSCAD can now run as a web extension!
- Syntax highlighting and OpenSCAD cheatsheet are available when using VS Code for the web
- Preview- and export- related commands are not available when running as a web extension. Attempting to run these commands will display a popup notification that the commands are disabled when running as a web extension.
- Migrated to PNPM for package management. (See PR#46).
[1.1.1] - (2021-06-07)
- Cheatsheet version to v2021.01 (See PR#23)
poly
snippet (See PR#22). Thanks mathiasvr- License from LGPL-3 to GPL-3 to be consistent with openscad/openscad
- Various vulnerabilities related to outdated dependencies. All dependencies have been updated.
[1.1.0] - (2021-01-18)
difference()
to snippets (See PR #11). Thanks williambuttenham- Keybinding
F5
foropenscad.preview
(See PR #12). Closes #7. Thanks williambuttenham - Keybinding
F6
foropenscad.render
- Updated
@types/node
from v9.4.6 to v14.14.20 (WHY did I leave this outdated for so long???) - Upgraded from TSLint to ESLint
- Added Prettier and formatting styles
- Reformatred all code according to styles set by ESLint and Prettier
See PR #14 and PR #15 for details on the above
[1.0.2] - (2020-12-09)
- Updated cheatsheet (See PR #8). Thanks ckittle
- Included path to openscad command in error message for invalid openscad command
- Configurations with markdownDescription were showing a less descriptive, plaintext description now shows the full description
- Syntax highlighting (See issue #5)
- Improved highlighting of
include
anduse
statements - Highlighting of non-alpha characters used within a customizer section header
or any character outside the
[]
does not prevent the[]
from being highlighted - Inline customizer syntax for defining possible values do not highlight when preceded by only spaces
- Improved highlighting of
- Added files to test syntax highlighting
- Fixed vulnerability with Lodash
[1.0.0] - (2020-06-19)
- Commands
- Preview in OpenSCAD (
openscad.preview
) launches an instance of OpenSCAD to preview a.scad
file- Only available in context menu and command palette for
.scad
files - Preview button in editor/title is shown for all
.scad
files
- Only available in context menu and command palette for
- Kill OpenSCAD Previews (
openscad.kill
) kills a single open instance of OpenSCAD- Only available when there are open previews
- Opens a Quick-Pick box to select one of the open previews to kill (or choose Kill All to kill them all)
- Kill All OpenSCAD Previews (
openscad.killAll
) kills all open previews- Only available when there are open previews
- (Hidden)
openscad.autoKill
functions as Kill All if one preview is open, otherwise functions as Kill- Only accesible through button on editor/title bar
- Export Model (
openscad.exportByConfig
) exports model based on config:openscad.export.preferredFileExtension
- Only available in context menu and command palette for
.scad
files
- Only available in context menu and command palette for
- Export Model (Select File Type) (
openscad.exportByType
) exports model to a selected file type- Only available in command palette for
.scad
files - Opens quick-pick box to select file type
- Only available in command palette for
- Export Model with Save Dialogue (
openscad.exportWithSaveDialogue
) exports model using a save dialogue- Only available in context menu and command palette for
.scad
files - Replaces
openscad.exportByConfig
in context menus when holding alt
- Only available in context menu and command palette for
- Preview in OpenSCAD (
- Menu buttons (in editor/title for
scad
files)- Preview - Runs
openscad.preview
- Kill - Runs
openscad.autoKill
. Ifalt
is held, runsopenscad.kill
- Export - Runs
openscad.exportByConfig
. Ifalt
is held, runsopenscad.exportByType
- Preview - Runs
- Configurations
openscad.launchPath
- Overrides default path toopenscad
executable.openscad.maxInstances
- Limits the max number of preview windows open at one time. Set 0 for no limit.openscad.showKillMessage
- Show message when a preview is killed.openscad.export.preferredExportFileExtension
- Preferred file extension to use when exporting using the 'Export' button in the editor title bar. Set tonone
to select the file extension each time.openscad.export.autoNamingFormat
- A configurable string that dynamically names exported files.openscad.export.useAutoNamingExport
- Setting to true will replace the standard behavior of Export Model to automatically export files according to the name specified in openscad.export.autoNamingFormat` instead of opening a save dialogue.openscad.export.useAutoNamingInSaveDialogues
- The default name of to-be exported files in save dialouges will be generated according to the config ofopenscad.export.autoNamingFormat
instead of using the original filename.openscad.interface.showPreviewIconInEditorTitleMenu
- Shows Preview in OpenSCAD button in editor title menu (right side of tabs).openscad.interface.showKillIconInEditorTitleMenu
- Shows Kill OpenSCAD Previews button in editor title menu (right side of tabs).openscad.interface.showExportIconInEditorTitleMenu
- Shows Export Model button in editor title menu (right side of tabs).openscad.interface.showCommandsInEditorTitleContextMenu
- Shows preview and export commands in editor title (tab) context menu.openscad.interface.showCommandsInExplorerContextMenu
- Shows preview and export commands in explorer context menu.openscad.interface.showPreviewInContextMenus
- Shows Preview in OpenSCAD command in context menus.openscad.interface.showExportInContextMenus
- Shows Export Model command in context menus.
- Grammar
- Added unicode/hex escape codes in strings. See: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Text, for details on escape codes in strings.
scad.cheatsheet
command is nowopenscad.cheatsheet
for consistancy with configurationsopenscad.cheatsheet.openToSide
configuration is an enumerated string instead of a boolean for improved clarity. Options now includebeside
(wastrue
) andcurrentGroup
(wasfalse
)
[0.1.2] - (2020-03-23)
- Fixed syntax highlighting not working on case sensitive operating systems (i.e. Linux)
[0.1.0] - (2020-03-17)
- Syntax highlighting for OpenSCAD Customizer widgets. Highlighting support includes:
- Drop down boxes
- Slider
- Tabs
Open OpenSCAD Cheatsheet
command to natively launch the OpenSCAD cheatsheet in VSCode- Included a status bar icon for easy access to the command
- By default, it is visible whenever a
.scad
file is in an open tab
- Extension Configurations:
openscad.cheatsheet.displayInStatusBar
: When the "Open Cheatsheet" button should be displaying in the status bar- Known bug: When set to
openDoc
, the status bar icon won't initially show up until viewing a.scad
file, even if one is open in another tab.
- Known bug: When set to
openscad.cheatsheet.colorScheme
: The color scheme used for the cheatsheet. Default uses VSCode's current theme for colors, but the original color scheme is available if desired.openscad.cheatsheet.openToSide
: Open the cheatsheet in the current column or beside the current column
[0.0.1] - (2020-02-23)
Includes syntax highlighting and snippets.