Ash VS Code Extension!

* DSL Block Navigation - Go To command, Breadcrumbs, Sidebar * Mermaid Diagram Visualization You can find Ash Studio on the VS Code Marketplace, Open VSX or download it from GitHub I'm really keen to hear your thoughts, feedback, and suggestions for future features. Feel free to drop them here or open an issue on the GitHub repo if you find any bugs or have ideas!
GitHub
GitHub - ketupia/ash-studio-vscode-extension: Ash Framework VSCode ...
Ash Framework VSCode Extension. Contribute to ketupia/ash-studio-vscode-extension development by creating an account on GitHub.
No description
No description
34 Replies
ZachDaniel
ZachDaniel4mo ago
It's so fucking cool I'm just mad I don't use VSCode now haha Awesome work! Are you planning on posting it on x/blue sky? If not, mind if I do? If so, send me links and I'll repost
Ketupia (Kevin)
Ketupia (Kevin)OP4mo ago
Works with any VSCode fork like Windsurf or Cursor. No help for Emacs or Vim.
ZachDaniel
ZachDaniel4mo ago
Not a problem at all of course ❤️
Ketupia (Kevin)
Ketupia (Kevin)OP4mo ago
GitHub
GitHub - ketupia/ash-studio-vscode-extension: Ash Framework VSCode ...
Ash Framework VSCode Extension. Contribute to ketupia/ash-studio-vscode-extension development by creating an account on GitHub.
ZachDaniel
ZachDaniel4mo ago
Which is the best link? The VSCode marketplace? Or the GitHub?
Ketupia (Kevin)
Ketupia (Kevin)OP4mo ago
The Github readme
ZachDaniel
ZachDaniel4mo ago
Done
Ketupia (Kevin)
Ketupia (Kevin)OP4mo ago
just released v0.0.8
- fingers crossed it fixes generating diagrams on windows.
- added navigating from a code_interface to the action - ❤️ @ken-kost for the request. - added GraphQL, JsonApi
Matt Beanland
Matt Beanland4mo ago
@Ketupia (Kevin) awesome I've just contributed config for some community extensions I use/maintain
Ketupia (Kevin)
Ketupia (Kevin)OP4mo ago
v0.0.9 is out. Big thank you to @Matt Beanland for adding configuration for 3 more ash modules. AshJason, AshOutstanding, and AshNeo4j 🥳 AshGhannam confirmed generating diagrams now works on Windows.
Siraj Samsudeen
Siraj Samsudeen4mo ago
I am brand new to Ash and i am happy to see this lovely - simple yet helpful extension, especially Goto action.
Ketupia (Kevin)
Ketupia (Kevin)OP4mo ago
The next version is available. The names of actions, aggregates, attributes, calculations, and relationships definitions you can ctrl+click navigate. Thanks to @ken-kost for requesting and assisting on this feature!
ZachDaniel
ZachDaniel4mo ago
son of a gun that is cool I need this for neovim lol
Shahryar
Shahryar4mo ago
I need this for Zed :))) so cool
Ketupia (Kevin)
Ketupia (Kevin)OP4mo ago
Just added Ash Oban and fixed a couple of bugs.
Got a favorite Ash library not being identified? Contributing a library configuration is easy.
GitHub
ash-studio-vscode-extension/CONTRIBUTING.md at v0.1.1 · ketupia/as...
Ash Framework VSCode Extension. Contribute to ketupia/ash-studio-vscode-extension development by creating an account on GitHub.
Carl
Carl4mo ago
This is just wow! 🤯 @Ketupia (Kevin) Thank you for doing this!
Carl
Carl4mo ago
I stumbled on to this while searching for diagram, happily so I must say. Regarding the diagram part I just ran into this on macOS, I don't think there were any specifics required for diagram generation? I have mermaid-cli installed and the mixs tasks are operational:
No description
Gonzalo Muñoz
Gonzalo Muñoz4mo ago
Oh hell yeah CTRL+click everything 🔥 Thx man
Ketupia (Kevin)
Ketupia (Kevin)OP4mo ago
Could you check that you're on v0.1.1 please - there was a diagram bug in the prior version.
Carl
Carl4mo ago
nvm, it works now 🤔 I believe it was the latest VS Code upgrade actually. I was already on the latest version of your (neat) extension
No description
Mylan Connolly
Mylan Connolly4mo ago
This is so cool. I haven't used vscode in a while due to frustrations with its performance. Might give it a shot again for this...
Ketupia (Kevin)
Ketupia (Kevin)OP4mo ago
or cursor/windsurf…
Ashraf
Ashraf4mo ago
Thanks for this awesome work. I wonder if mermaid diagrams can be done for the domain like ERD
Ketupia (Kevin)
Ketupia (Kevin)OP4mo ago
@Ashraf You can generate both class diagrams and Entity relationship diagrams for domains. Is this what you had in mind?
No description
No description
Ashraf
Ashraf4mo ago
Thanks I did not notice it the first time.
Ketupia (Kevin)
Ketupia (Kevin)OP4mo ago
Speaking of diagrams.... I just released v.0.1.2 where 1. Diagrams are pan and zoomable 2. By default, the diagrams are generated and deleted (a setting will let you keep them) 3. Breaking - maybe, I removed an option to pick the format
No description
Rutgerdj
Rutgerdj2mo ago
@Ketupia (Kevin) Any particular reason why the children of dsl sections are not in the breadcrumbs? I think it would be really helpful to see the children of the sections, like this:
No description
Ketupia (Kevin)
Ketupia (Kevin)OP2mo ago
To confirm, you're asking why the same level of detail found in the Ash Studio sidebar is not in the breadcrumb dropdown. Somewhere I had gotten the impression that breadcrumbs were for coarse navigation and that details belonged in the sideview. I could be persuaded otherwise.
No description
Rutgerdj
Rutgerdj2mo ago
Hmm im not seeing the child entries in the sidebar either. But anyway I would like to have those in the symbols dropdown too. I often use that view (ctrl+shift+o) to quickly navigate between functions Having it in the sidebar is also nice but in general im not a huge fan of navigating that way (In general I'm hoping for LSP level support for these kinds of things)
Ketupia (Kevin)
Ketupia (Kevin)OP2mo ago
I noticed the header in your screenshot is outline. Do you also see the Ash Studio section in the sidebar?
Rutgerdj
Rutgerdj2mo ago
Ahh, thats under Explorer. I do see the Ash Studio section with the child compoments. That helps but I would still prefer them in the symbols view. It could be a configration option? I can create a PR if you want
Ketupia (Kevin)
Ketupia (Kevin)OP2mo ago
Sure - if you'd like - that'd also give you the opportunity to see if the idea works well at scale. I think you'd be looking at adding children to the document symbols in documentSymbolProvider.ts.
Rutgerdj
Rutgerdj2mo ago
GitHub
feat: Show child entries in Symbols and Outline views by Rutgerdj ...
This PR adds the option to add the child sections to the Outlie and Symbols views. This makes it possible to quickly navigate to child sections using the Symbols Search (ctrl+shift+o) Added a symb...
Ketupia (Kevin)
Ketupia (Kevin)OP2mo ago
Thanks to @Rutger for the contribution to Ash Studio! If you enable the setting, you can get the section children details in the breadcrumb bar and outline view.
No description
No description

Did you find this page helpful?