all groups > sql server reporting services > july 2006 >
You're in the

sql server reporting services

group:

Formatting C# code, specifically curlys {}


Formatting C# code, specifically curlys {} JrMcG
7/20/2006 12:00:00 AM
sql server reporting services:
1. For some reason, my Debug menu had many options missing. I found some
help that said go to Tools/Import & Export Settings and Choose Reset All. I
did it, and chose C# Developer and now my Debug menu is fully restored.
However, I did lose all of my other customzied settings, i.e. fonts, colors,
etc...
2. In my environment, before I did #1 above, when I keyed in two curly's
like this: {}, it would automatically move the ending curly to a new line
underneath. So, example:
I type this: {}
I get this after pressing enter:
{
}

For some reason, this no longer works.

3. I've changed settings in: Tools/Options/Text Editor/C#/Formatting.
Specifically the 'Automatically format completed block on }'. I'm not sure
if this is even the correct setting, but I tried anyway. I've also tried
the other settings in that screen and nothing happens.

Can someone advise if they've seen or fixed this problem? It worked for me
this morning, I reset my environment to get my Debug menu, and now it doesnt
work anymore.

Kind regards,
Jr

Re: Formatting C# code, specifically curlys {} JrMcG
7/20/2006 1:18:53 PM
Whoops. Wrong group. Sorry.

[quoted text, click to view]

AddThis Social Bookmark Button