Editing resource files in VS 2005 tip

Posted Friday, August 24, 2007 11:39 AM by Maurice

Resource files are great for storing strings that need to be translated and Visual Studio makes it real easy to add resource files and edit them. However something that isn’t immediately obvious is how to go about adding a carriage return in a resource string. If you press enter VS just takes you to the next row in the grid. The trick is to use shift enter instead of just enter and you get a new line in the same resource string.

Of course you still need to resize the row to see the whole line but that is easy to, just double click the resize line in the row header (that is the one at the bottom of the row) and VS will auto resize the row so you can read all text.

Enjoy!

 

Filed under: , ,

Comments

# re: Editing resource files in VS 2005 tip

Thursday, September 20, 2007 1:04 AM by imre

simple and obvious but useful nevertheless ;)

Leave a Comment

(required) 
(required) 
(optional)
(required)