viernes, 12 de junio de 2015

How to show active item in Solution Explorer / Como seleccionar el elemento activo( clase , interfaz , etc) en el Explorador de Soluciones


Sometimes we need to enable this one, so we just need to go to:

Tools / Options/ Projects and Solutions/ General / "Track Active Item in Solution Explorer" and check the option to turn this feature on.


If you have ReSharper installed clicking Shift+Alt+L will move focus to the current file in Solution Explorer.

Hope it help you guys.

-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------

Para volver a habilitar esta opción tenemos que ir a:
Herramientas / Opciones / Proyectos y Soluciones / General / Marcar "Realizar seguimiento del elemento activo en el Explorador de Soluciones"

Y en caso tuviéramos instalado ReSharper al presionar Shift+Alt+L nos seleccionara el archivo actual en el Explorador de Soluciones.

Espero les ayude.

How to FIX shortcut Alt+Enter when it is not working / Como arreglar/restablecer el comando Alt+Enter en Visual Studio

Hi, We have to follow the next steps:

1) Remove all mapping for Alt+Enter shortcut
    Go to: Tools | Options | Environment | Keyboard (to find out mapped actions, press Alt+Enter in         "Press shortcut keys" field and look at the list in "Shortcut currently used by" dropdown)
   Then you have to search and remove one by one using Remove button



2) After removing:
  • Into "Show command containing" field type ReSharper_AltEnter
  • From "Use new shortcut in" dropdown select "Text Editor"
  • Then in "Press shortcut keys" field, press Alt+Enter and then clic into Assign button
  • In  "Use new shortcut in" dropdown, select "XAML UI Designer"
  • Finally, into "Press shortcut keys" field we should press Alt+Enter and then Assign
That's it, I hope it will help you guys.

-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
Hola, para poder restablecer el comando tenemos que seguir los siguientes pasos:

1) Debemos eliminar todos los metodos abreviados que esten usando esa combinacion de teclas

  • Para encontrar todos estos, vamos a la caja de texto "Presionar teclas de metodo abreviado" y presionamos Alt+Enter, y los metodos nos aparecen listados en el combo en la parte inferior derecha
  • Luego comenzamos a buscar y desligar cada comando del metodo abreviado, usando el boton Quitar
2) Luego tenemos que crear la relacion entre el comando "Resharper_AltEnter" y el metodo abreviado 
    2.1 Filtrar el comando "Resharper_AltEnter" usando la caja de texto "Mostrar los comandos que contengan"
    2.2 En el combo "Usar un nuevo método abreviado" seleccionar "Editor de texto"
    2.3 Dentro de la caja "Presionar teclas del metodo abreviado" presionar Alt+Enter y dar clic en el boton "Asignar"
    2.4 En el combo "Usar un nuevo método abreviado" seleccionar "Diseñador de UI XML"
    2.5 Finalmente, Dentro de la caja "Presionar teclas del método abreviado" presionar Alt+Enter y dar clic en el boton "Asignar" de nuevo y listo.

Espero que les haya servido.