n-for-all / live-tailwind-alpine-preview

Live HTML Previewer with Tailwind Support
https://invision.ae
0 stars 1 forks source link

Works great but gets stuck on initial preview #1

Open magnacartatron opened 5 days ago

magnacartatron commented 5 days ago

After initial preview all subsequent previews show original document. I have to disable and enable to get it to work again and follow same loop.

n-for-all commented 4 days ago

I updated it to support a preview per file, check and let me know

magnacartatron commented 2 days ago

@n-for-all Thanks that works really great. The only other suggestion I'd make is the change the Ctrl + Q S shortcut.

On macOS, CMD + Q closes your VSCode instance and CMD is macOS's Ctrl key. So I keep closing my app every once in a while.

n-for-all commented 1 day ago

There is no CMD + Q shortcut for the extension, infact this extension doesn't assign any shortcuts

On Sun, Nov 17, 2024 at 12:34 PM magnacartatron @.***> wrote:

@n-for-all https://github.com/n-for-all Thanks that works really great. The only other suggestion I'd make is the change the Ctrl + Q S shortcut.

On macOS, CMD + Q closes your VSCode instance and CMD is macOS's Ctrl key. So I keep closing my app every once in a while.

— Reply to this email directly, view it on GitHub https://github.com/n-for-all/live-tailwind-alpine-preview/issues/1#issuecomment-2481037793, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJ2Z42G7ORHUOCBTPVFUT2BBIJBAVCNFSM6AAAAABRYMVR2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBRGAZTONZZGM . You are receiving this because you were mentioned.Message ID: @.***>

--

magnacartatron commented 1 day ago

@n-for-all Sorry maybe I didn't make myself clear previously

In order to execute this short according to your "Usage" instructions the following needs to be performed.

Usage
For side preview, use the keybinding 'ctrl+q s' or press 'F1' and type "Show tailwind side preview"
For full preview, use the keybinding 'ctrl+q f' or press 'F1' and type "Show tailwind full preview"

The problem is on MacOS, for nearly all users CMD & Ctrl are swapped for most functions.

So every time I use the plugin because 'Q' is the trigger key, if I press CMD instead of Ctrl I kill all instances of VSCode.

On windows to close an application you use Alt + F4 on MacOS you use CMD + Q. I know that I'm supposed to press Ctrl + Q, but because CMD and Ctrl are swapped I every once in a while use the wrong key.

This is a usability issue but because the key to use is Q is very easy to accidentally kill your instance.