Configurar Editor

18/04/2006 - 03:11 por Red Azul | Informe spam
Hola grupo.
Hay alguna forma de configurar el editor de Visual Estudio al editar código
C#, de tal forma q cuando escriba una variable sin importar minúsculas o
mayúsculas, la convierta automáticamente a como fue declarada, es decir así
como lo hace por default el editor pero cuando se edita código VB.net.
De la misma forma, puede ser por esto q no se me activa correctamente la
lista de miembros, de la instancia actual??
Perdón, quizás por lo novato de mis preguntas, pero en verdad agradezco
cualquier ayuda...
_________________
Red Azul
red_azul.en.hotmail.com
http://spaces.msn.com/redazul

Preguntas similare

Leer las respuestas

#1 Jose Luis Manners
18/04/2006 - 17:45 | Informe spam
No creo que exista para C# debido a que estas opciones del editor solo
existen para VB.NET. Tomado de la documentación de MSDN:

"VB Specific, Basic, Text Editor, Options Dialog Box

The VB Specific property page, in the Basic folder of the Text Editor folder
of the Options (Tools menu) dialog box contains the following properties:

Automatic insertion of end constructs
When you type, for example, the first line of a procedure declaration, Sub
Main, and press ENTER, the text editor adds a matching End Sub line.
Similarly, if you add a For loop, the text editor adds a matching Next
statement. When this option is selected, the code editor automatically adds
the end construct.

Pretty Listing (reformatting) of code
The text editor reformats your code as appropriate. When this option is
selected, the code editor will:
-Align your code to the correct tab position
-Recase keywords, variables, and objects to the correct case
-Add a missing Then to an If...Then statement
-Add parenthesis to function calls
-Add missing end quotes to strings
-Reformat exponential notation
-Reformat dates "

Por cierto, para llegar a la opción de "Pretty Listing (reformatting) of
code" lo haces seleccionando Tools->Options->Text Editor. Notaras que hay
varias carpetas una para VB y otra para C# las cuales tienen configuraciones
diferentes para el editor. "Pretty Listing..." solo existe para VB y se
encuentra en la carpeta "VB Specific".

Coopera con el foro. Dinos si te sirvió la respuesta aquí planteada.

Saludos,

Jose Luis Manners
MCP, MCAD.NET, DCE5
http://www.josemanners.com/

"Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as
possible, you are, by definition, not smart enough to debug it."
-Brian W. Kernighan

"Red Azul" wrote in message
news:
Hola grupo.
Hay alguna forma de configurar el editor de Visual Estudio al editar


código
C#, de tal forma q cuando escriba una variable sin importar minúsculas o
mayúsculas, la convierta automáticamente a como fue declarada, es decir


así
como lo hace por default el editor pero cuando se edita código VB.net.
De la misma forma, puede ser por esto q no se me activa correctamente la
lista de miembros, de la instancia actual??
Perdón, quizás por lo novato de mis preguntas, pero en verdad agradezco
cualquier ayuda...
_________________
Red Azul
red_azul.en.hotmail.com
http://spaces.msn.com/redazul


Respuesta Responder a este mensaje
#2 Red Azul
19/04/2006 - 02:59 | Informe spam
Gracias, ya lo probé y tienes toda la razón... :-)

"Jose Luis Manners" escribió en el mensaje
news:
No creo que exista para C# debido a que estas opciones del editor solo
existen para VB.NET. Tomado de la documentación de MSDN:

"VB Specific, Basic, Text Editor, Options Dialog Box

The VB Specific property page, in the Basic folder of the Text Editor
folder
of the Options (Tools menu) dialog box contains the following properties:

Automatic insertion of end constructs
When you type, for example, the first line of a procedure declaration, Sub
Main, and press ENTER, the text editor adds a matching End Sub line.
Similarly, if you add a For loop, the text editor adds a matching Next
statement. When this option is selected, the code editor automatically
adds
the end construct.

Pretty Listing (reformatting) of code
The text editor reformats your code as appropriate. When this option is
selected, the code editor will:
-Align your code to the correct tab position
-Recase keywords, variables, and objects to the correct case
-Add a missing Then to an If...Then statement
-Add parenthesis to function calls
-Add missing end quotes to strings
-Reformat exponential notation
-Reformat dates "

Por cierto, para llegar a la opción de "Pretty Listing (reformatting) of
code" lo haces seleccionando Tools->Options->Text Editor. Notaras que hay
varias carpetas una para VB y otra para C# las cuales tienen
configuraciones
diferentes para el editor. "Pretty Listing..." solo existe para VB y se
encuentra en la carpeta "VB Specific".

Coopera con el foro. Dinos si te sirvió la respuesta aquí planteada.

Saludos,

Jose Luis Manners
MCP, MCAD.NET, DCE5
http://www.josemanners.com/

"Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as
possible, you are, by definition, not smart enough to debug it."
-Brian W. Kernighan

"Red Azul" wrote in message
news:
Hola grupo.
Hay alguna forma de configurar el editor de Visual Estudio al editar


código
C#, de tal forma q cuando escriba una variable sin importar minúsculas o
mayúsculas, la convierta automáticamente a como fue declarada, es decir


así
como lo hace por default el editor pero cuando se edita código VB.net.
De la misma forma, puede ser por esto q no se me activa correctamente la
lista de miembros, de la instancia actual??
Perdón, quizás por lo novato de mis preguntas, pero en verdad agradezco
cualquier ayuda...
_________________
Red Azul
red_azul.en.hotmail.com
http://spaces.msn.com/redazul






email Siga el debate Respuesta Responder a este mensaje
Ads by Google
Help Hacer una preguntaRespuesta Tengo una respuesta
Search Busqueda sugerida