JetBrains / UnrealLink

Apache License 2.0
132 stars 23 forks source link

How to highlight inactive preprocessor branch in shader files ? #171

Open ethanleau opened 2 years ago

ethanleau commented 2 years ago

Unreal Engine shader files (.usf) usually have many different preprocessor branches. I found only the code in the default path is highlighted, for example: image

Is there a way to enable code highlighting in inactive preprocessor branches (as what Visual Studio IDEs support)?

I found the resharper-unity plugin has a context switch for cg files. Is there a similar feature for .usf files in this unreal plugin?