Good day! I am having an issue editingOpenSCAD files on a MacBook Air M4.
I'd like to see if this is something that I need to configure, or if it is
a bug that needs to be reported.
I am using:
MacOS Sequoia 15.3.2
OpenSCAD version 2025.03.17
Visual Studio Code V1.98.2
OpenSCAD Language Support, Leathong, Version 1.2.5, Last Updated 2025-03-19,
12:15:22
Much to my disappointment, when editing an OpenSCAD file, the OUTLINE pane
on the left does not work. Instead, for me, it shows the message "No
symbols found in document".
BTW, the OUTLINE pane works great on Windows.
Thanks!
Len
Ok, I figured this out. The openscad-lsp executable supplied in the OpenScd
Extension could not run since it is of the incorrect CPU type.
So, on my MacBook Air M4, to fix issue of MacOS VS Code OpenSCAD extension
not providing auto-fill or symbols in outline:
Install Rust per https://www.rust-lang.org/learn/get-started
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Install openscad-lsp per
https://github.com/Leathong/openscad-LSP?tab=readme-ov-file
cargo install openscad-lsp
Move the executable:
cd ~/.vscode/extensions/leathong.openscad-language-support-1.2.5/server
mv openscad-lsp openscad-lsp-original
mv ~/.cargo/bin/openscad-lsp .
Restart Visual Studio Code
On Sun, Mar 23, 2025 at 6:05 PM Leonard Martin Struttmann <
lenstruttmann@gmail.com> wrote:
Good day! I am having an issue editingOpenSCAD files on a MacBook Air M4.
I'd like to see if this is something that I need to configure, or if it is
a bug that needs to be reported.
I am using:
MacOS Sequoia 15.3.2
OpenSCAD version 2025.03.17
Visual Studio Code V1.98.2
OpenSCAD Language Support, Leathong, Version 1.2.5, Last Updated 2025-03-19,
12:15:22
Much to my disappointment, when editing an OpenSCAD file, the OUTLINE pane
on the left does not work. Instead, for me, it shows the message "No
symbols found in document".
BTW, the OUTLINE pane works great on Windows.
Thanks!
Len