Closed chen1zee closed 1 year ago
Jetbrains' already contains a feature called language injection
Use language injection comments
Here is a c++ code snippet
And for js
@chen1zee sorry for the late reply. Seems like @xiaozhuai found a pretty elegant solution for that that I wasn't aware of. Hope that'll work for you. thank you @xiaozhuai!
for example,I am working in aaa.js , writing JavaScript, using three.js. inside aaa.js , I have part of GLSL code, for example:
can someShaderStr has GLSL highLight?