djcouchycouch
djcouchycouch

Reputation: 12834

Displaying code sections with a different background color?

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

Answers (3)

djcouchycouch
djcouchycouch

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

M. Jahedbozorgan
M. Jahedbozorgan

Reputation: 7054

This is not possible. Why don't you use partial classes to seprate generated code from user code?

Upvotes: 0

cyborg_ar
cyborg_ar

Reputation: 120

i don't think so, why don't you just use noticeable delimiter comments?

Upvotes: 1

Related Questions