joaopcm/snipshare

Command to open the command palette

Closed this issue ยท 7 comments

Is your feature request related to a problem? Please describe.
I use linux so I don't have the command key

Describe the solution you'd like
Change command key to forward slash /

Describe alternatives you've considered
Could create a right click box to use commands

Additional context
image

Hey, @miroswd! Thanks for your contribution!

One thing I'd like to let y'all know: you can use control + K to open the command palette as well

The simple solution for this case: we can identify what's the OS the user is using and then render different shortcut labels in the placeholder. Does it sound good to you?

In my case when I press ctrl+k it has no effect. I tried using various combinations like ctrl+alt, alt gr, etc. But the solution you proposed seems fine to me.

You are probably trying to use the shortcut (control + K) while having your courses focused on a text or code. To use shortcuts, you need to focus on elements that are not part of the note.

I tested it on other computers and was able to use the shortcuts. Can you verify that the problem is that your cursor is focused on some text block or code snippet?

Hmmm this is currently very unintuitive in my opinion.
I'm used to Atlassian Confluence, so I was under the impression that I had to press cmd+K and then select the code snippet widget from some kind of library to insert it into the document.

After some fiddling I realized I only needed to type ``` to get a code block.

Hmmm this is currently very unintuitive in my opinion. I'm used to Atlassian Confluence, so I was under the impression that I had to press cmd+K and then select the code snippet widget from some kind of library to insert it into the document.

After some fiddling I realized I only needed to type ``` to get a code block.

@danielsitnik, thank you for your input! I believe that this is another problem. This issue is regarding the shortcuts not being accessible when typing. I just opened a PR โฌ†๏ธ fixing it.

If you have an idea of how to improve and make Nodepad more intuitive, please one a new issue ๐Ÿ˜ƒ Nodepad is based on Markdown, so there's no code snippet widget from some kind of library to insert into the document. It's just the ``` to open a code block section, as you'd do using Markdown.

It'd be great if we had some shortcuts in the command palette to insert some blocks into the document. Please feel free to create an issue so that someone can work on that :)

@miroswd, just opened this PR to fix your problems. After it gets merged, it must work for you ;)

๐ŸŽ‰ This issue has been resolved in version 1.8.1 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€