Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Adding FeatureScript Syntax Support to VSCode
S1mon
Member Posts: 4,192 PRO
I do a lot of vibe coding of FeatureScript using Codex and VSCode. I've wanted better FeatureScript syntax highlighting support for VSCode. Codex and ChatGPT developed a .VSIX extension which you can install. It knows the syntax and standard library and it will use sticky scrolling to show headers of functions and other blocks while you scroll.
https://github.com/gatrall/featurescript-language-support
Please follow up here with bug reports or improvement requests.
Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn

Comments
I'm honestly still learning the basics of VSCode, but one of the nice benefits of this FeatureScript aware plugin is that you can navigate by symbols defined in the text (editor or workspace).
Shift Cmd 0(for workspace) brings up this menu which is the list ofenum,const,function,export, etc.The text below the filename also gives you breadcrumbs of where you are in the file.
Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn
This is interesting indeed, if the api integration through public extension will be added together with agentic coding this can boost productivity extensively. Great work, thanks for sharing Simon!
Are the "go to definition" and "where used" capabilities not there yet or I'm doing something wrong? Also would be good to have tooltips from symbol docstrings
Apparently I just needed to ask it to do that too. 0.1.5 version is up on GitHub.
This works within the file. Adding workspace references will be a next step.
Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn