microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.49k stars 28.65k forks source link

Allow emmet and keyboard-shortcuts in the help menu even when being offline #20963

Closed Tekbr closed 7 years ago

Tekbr commented 7 years ago

-- Sorry for the English, I used Google Translator --

Allow emmet and keyboard-shortcuts from the offline help menu, similar to the 'Welcome' option. Whatever the OS.

ramya-rao-a commented 7 years ago

Emmet Expansion is already available in the Edit Menu

image

For rest of the Emmet commands you can click on the "Emmet..." item in the same menu. This will open the command palet with all the Emmet commands pre-filled

There are no shortcuts assigned out of the box for any of the Emmet commands other than expansions. You can assign your own keyboard shortcuts to these commands. Once you do that, the shortcuts will appear next to the command in the command pallet the next time.

Tekbr commented 7 years ago

-- Sorry for the English, I used Google Translator --

@ramya-rao-a Maybe it was not clear ... it would be in relation to this page, with the link inside the faq of vscode.

When the shortcuts are the ones that come by default ... yes I know we can change, but I particularly prefer to keep the IDE standard until I see the need to change. It would be good for anyone who is starting to use VSCode.

ramya-rao-a commented 7 years ago

Oh, so you are saying that you'd like to have a link to the emmet cheet sheet from the menu?

Tekbr commented 7 years ago

My suggestion is: 1- Have the emmet offline available within the VSCode. 2- Make the "Keyboard Shorcuts Reference" option on the Help menu, offline.

Similar to the Release Notes page.

ramya-rao-a commented 7 years ago

@bpasero @waderyan This is about having emmet cheatsheet and the keyboard shortcuts reference available offline like the Release Notes. And additionally have menu options to open the same.

Thoughts?

bpasero commented 7 years ago

Maybe a crazy idea, but since we can open PDF files inside VS Code, it would probably be possible to open the cheatsheet within Code. However this means we depend on the PDF component and would not be able to take it out later if we wanted to save some MB of download size. I also think the PDF is good for people that want to actually print it. We could detect if the user is offline when clicking on that action and then maybe show the keybindings inside a markdown preview?

Tekbr commented 7 years ago

@bpasero @ramya-rao-a

I did not think of a PDF.

I thought the same style as the Welcome or Release note page.

Are both made in Markdown, or not?

bpasero commented 7 years ago

Yeah, all markdown.

@chrmarti fyi

Tekbr commented 7 years ago

@bpasero Like you said "crazy idea". You're right. I'll close this.

An off question, can you answer me:

Note: I think 'Welcome is html'.

File 'Welcome' in VSCode stable: I found the file and it is in html. File 'Welcome' in VSCode - insider: I did not find the file ..

Has there been a change of location and the path has not been updated?.

capturar

'Release Notes' could not find the file type.

Is it possible to locate Release Notes in Windows Explorer?

bpasero commented 7 years ago

No, I think the release notes are being downloaded from our website.

Tekbr commented 7 years ago

Thanks.What about Welcome?

chrmarti commented 7 years ago

I moved the Welcome page from html to a TypeScript file, so we can have it translated the same way we translate most of the UI.

Tekbr commented 7 years ago

Thank you all. Sorry for the inconvenience.