izhangzhihao / intellij-rainbow-brackets

🌈Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio/Fleet
https://plugins.jetbrains.com/plugin/10080-rainbow-brackets
GNU General Public License v3.0
4.45k stars 213 forks source link

Support for files with .shader .cginc .hlsl extensions #478

Closed viruseg closed 1 year ago

viruseg commented 4 years ago

Please add support for files with .shader .cginc .hlsl extensions for Rider. The latest version of Rider 2020.2 provides full support for shaders, but the Rainbow Brackets plugin does not work with these files. Thank you.

izhangzhihao commented 4 years ago

For .hlsl file, the UE4 Rider even don't have C++ front parser support, so this should be done only after this feature request: #424 (according to https://github.com/JetBrains/resharper-unity/issues/216#issuecomment-618079910)

For .shader .cginc files, there seems still don't have a front parser. you can check https://github.com/JetBrains/resharper-unity/pull/78/files

So basically the Rider has really different ecosystems compare with other IntelliJ-based IDEs. For specific file support like(F# support or cshtml support or C++ support for UE 4 Rider) they all need some font parser implemented in the Rider part in first place. For now, the Rider only has backend parser support. So if you really need this, please submit a feature request for the Rider IDE in here: https://youtrack.jetbrains.com/issues/RIDER

By the way, please considers donating to this project on Open Collective if you love this plugin.

izhangzhihao commented 3 years ago

.shader file already supported, with GLSL plugin image

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

izhangzhihao commented 1 year ago
image image

Support for .cginc and .hlsl files will be in the next release. because of some limitations of JetBrains, I could not support all brackets in .cginc file.