justcla / KeyBindings

Installs alternative keyboard mapping schemes to work with Visual Studio. Provides rich hotkeys and keyboard shortcuts.
http://aka.ms/HotKeys
70 stars 10 forks source link

HoyKeys extension not installed #3

Closed MaherJendoubi closed 7 years ago

MaherJendoubi commented 7 years ago

image

justcla commented 7 years ago

The new keyboard mapping schemes should appear under the "Keyboard" item in Tools Options.

You can check if the extension installed properly by looking for HotKeys in Tools->Extensions and Updates. You should also find a related entry in Windows Add/Remove Programs.

MaherJendoubi commented 7 years ago

@justcla Thanks for the reply! I don't see it :

image

MaherJendoubi commented 7 years ago

@justcla I checked here but I can't find it :

image

MaherJendoubi commented 7 years ago

@justcla but I find it here : image

justcla commented 7 years ago

As you say, it appears that HotKeys is not installed. Did you attempt installing it? If so, what was the result?

If it failed, can you share the error with me?

justcla commented 7 years ago

When you run the installer, it prompts you to select the correct directory for Visual Studio. By default it selects the installation directory for VS2015. If you have installed VS to a different directly, you must choose the root of installed instance.

I suggest that you uninstall it via Add/Remove programs. Then try installing it again. When it prompts to select the directory to install to, carefully check to make sure it's installing in the right place.

MaherJendoubi commented 7 years ago

@justcla Did you attempt installing it? I downloaded HotKeys-v1.2.1.msi from https://marketplace.visualstudio.com/items?itemName=JustinClareburtMSFT.HotKeys-KeyboardShortcuts

justcla commented 7 years ago

The installer attempts to put files into the [VSInstallRoot]\Common7\IDE directory. And it creates an extension directory under [VSInstallRoot]\Common7\IDE\Extensions.

MaherJendoubi commented 7 years ago

image

MaherJendoubi commented 7 years ago

@justcla is that path correct?

justcla commented 7 years ago

@MaherJendoubi I just installed it now and it worked for me.

justcla commented 7 years ago

Is that the path that you installed VS2015 to?

MaherJendoubi commented 7 years ago

@justcla yes

justcla commented 7 years ago

How many VSK files do you have in your C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE directory? Can you see the following directory: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\KeyBindingSchemes ?

justcla commented 7 years ago

Also, did you restart VS? You need to restart VS for the extension to show up in the Extensions and Updtes dialog.

But the VSKs will show up in the Keyboard options page in the dropdown at the top (Keyboard mapping schemes) immediately - as soon as the VSKs get copied into the Common7\IDE directory.

MaherJendoubi commented 7 years ago

image

MaherJendoubi commented 7 years ago

image

MaherJendoubi commented 7 years ago

@justcla I restarted VS many times

justcla commented 7 years ago

Great. The VSK files are in the right place. And the extension dir is correct. The extension is fully installed. :-)

Now what do you see when you open the drop-down list at the top of the Keyboard options page?

Do you see all the VSKs that are in your Common7\IDE directory?

image

MaherJendoubi commented 7 years ago

image

justcla commented 7 years ago

I'm not sure what that last comment / image is about. It does not show the contents of the mapping scheme drop-down. (I use the in-built Windows "Snipping Tool" and set a delay of 5 seconds to screenshot the drop-down box values.)

Do you see the new keyboard mapping schemes in the drop-down box?

MaherJendoubi commented 7 years ago

image

justcla commented 7 years ago

Bingo! The extension has installed the new keyboard mapping files and they are available for you to select from the Keyboard options page. Congratulations. I hope you enjoy using the new key bindings.

Out of interest, which mapping scheme are you most interested in?

MaherJendoubi commented 7 years ago

Out of interest, which mapping scheme are you most interested in? Resharper (VS Style) for C#

But I'm not convinced that the extension is well installed :(

MaherJendoubi commented 7 years ago

@justcla why I don't have a green window like you showed in channel 9 video?

MaherJendoubi commented 7 years ago

@justcla Why I don't see the extension in the list on installed vs extensions?

justcla commented 7 years ago

@MaherJendoubi The extension is installed if you have the new mapping schemes appearing in the Keyboard options.

I'm not sure why the extension is not showing up in your Extensions and Updates dialog. Sometimes the E&U is out of date. It occasionally rebuilds. If you delete all the cache files from the Common7\IDE\Extensions directory then it will re-scan the extensions directories and rebuild the list of installed extensions.

justcla commented 7 years ago

The only reason you saw green windows in the video is because I have set green as my Windows colour theme. If you want your windows to look green, you can adjust your colours in the Settings (Right-click desktop and choose Personalise).

image

justcla commented 7 years ago

Closing this issue since the mapping schemes have been successfully installed.

MaherJendoubi commented 7 years ago

@justcla I deleted extensions files... and my VS2015 is brocken now...

MaherJendoubi commented 7 years ago

I can't sign in and I can't create whatever new project. I reboot VS and even my machine.

justcla commented 7 years ago

Oh dear. :-( You need to be careful deleting files.

MaherJendoubi commented 7 years ago

no problem I will repair it