Comments to indicate which structure a closing brace belongs to
Hello ~
In layout files, sometimes a sizable number of structures get nested, resulting in a few lines of closing braces. When modifying a structure, it sometimes takes time to figure out which brace needs to be removed or if I accidentally left a structure opened.
My current workaround has been to add comments after closing braces to so I know which brace corresponds to what structure ie:
// The content of the layout content { // content.section section { // content.section.content, the content of the layout section content { // ...
// Blah blah blah blah
// ... } // End content.section.content } // End content.section } // End content
If a plugin could be developed to add and update these kinds of comments automatically, that would be 🔥.
Thank you much ~
-
Official comment
With the release of Bixby Studio 7.0.0, we now include Monaco editor project that allows you to do this. https://bixbydevelopers.com/dev/docs/dev-guide/release-notes/bixby-studio.7-0-0
Comment actions
Please sign in to leave a comment.
Comments
1 comment