GLSL formatting in CLion removes tabs inside array initializers
I’m using CLion with a GLSL plugin for shader development. When I run the code formatter on GLSL files, it removes all spaces and line breaks inside array initializers.
what i want:

after format:

config

Please sign in to leave a comment.
Hello!
CLion doesn't have official support for the GLSL language yet. Feel free to comment or upvote CPP-1536. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.
I assume the code style settings for GLSL come from the plugin, so feel free to report the issue to the plugin authors.