Reputation: 12834
We have a tool that generates source files, and each generated file has several sections were a user can insert their own code. We would like to be able to mark those sections with a different background color than the automatically generated ones. Is there a way to do this in visual studio?
Thanks!
Upvotes: 2
Views: 431
Reputation: 12834
Looks like the answer is no.
So I asked a follow up question here, about being able to override Visual Studio's syntax highlighting through a plugin.
Thanks for your answers!
Upvotes: 0
Reputation: 7054
This is not possible. Why don't you use partial classes to seprate generated code from user code?
Upvotes: 0
Reputation: 120
i don't think so, why don't you just use noticeable delimiter comments?
Upvotes: 1