Trivial Tip: Visual Studio – How to easily insert a carriage return in a resource (.resx) file string?

There are many ways to insert a carriage return (new line feed) in a resource string in a resx file but this is the simplest in my opinion.

Just open up the resx file in Visual Studio, edit the string content that you want carriage returns in, and just do a ‘SHIFT’ + ‘ENTER’ everywhere you need a carriage return. Yup, that simple.

For example, if you need


Just type “Hi”, followed by SHIFT + ENTER and then “There!”.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s