dbml
dbml copied to clipboard
How to have syntax highlighting on Intellij products? (WebStorm, etc.)
I noticed there is a plugin for VS Code, but couldn't find one for WebStorm.
Alternatively, what would be a good-enough file extension to use to have syntax highlighting if there is no dedicated plugin available?
We do not yet support syntax highlighting in WebStorm.
Furthermore, we'd like to learn more about your use cases in order to understand what you're doing with DBML. I asked because I'm curious if there are any other solutions that would work in your situation.
Being more familiar with WebStorm, and liking to centralize everything in the same place, I naturally ended up keeping a copy of the schema there, and was wondering if I could also improve the file readability somehow.
It appears that I did not phrase my earlier query clearly. I mean, I'd like to know if you're utilizing this DBML code for dbdiagram, dbdocs, or other purposes. Instead, I'd like to learn that.
We will take your proposal about WebStorm syntax highlighting into consideration.
We're using dbdiagram, indeed. And that's it for now.
Our workflow is to edit on dbdiagram, unless we need advanced features like search and replace, or look at the "code" in full width, in those cases I rather do it on Webstorm and keep both version in-sync regularly.
Also, I've made a PR on GitHub for my teammates to add comments on the diagram file (.txt) itself, I couldn't think of a better way to gather feedback and discuss it in a way that makes it easy to review.
Edit: I'm the same user, just mixing different accounts
It's great to get your detailed response. We'd like to figure it out so that we can improve our other products as well. We will also record your situation in our product logs.
Thank you very much for your input.