Загрузка видео...
Не удалось загрузить видео
Every JavaScript dev has done this at least once: > Typed ${name} inside "quotes"... > Hit save. > Saw "Hello ${name}" instead of Hello John. > Then sighed, deleted, and retyped everything with backticks. So I built "Quotick", a VS Code extension that instantly converts quotes → backticks the... show more
100,134 просмотров • 11 месяцев назад •via X (Twitter)
Комментарии: 47

make it a saas and start charging 20$ per mo subscription

Have to think about it

You can now revert the backticks too and convert them to quotes if you remove '$' or '{', move to version 0.0.6 on extension.

I didn’t realize other IDEs didn’t just change it for you. Jetbrains just changes it to backticks, and you can undo it if you’re leaving it for a reason.

Ooh never used jetbrain for js only used it for python

Yea, Webstorm, its leaps and bounds better than VSCode

why not just use this: ?

congrats on shipping, but this already exists.

saans to lele bhai

Star the repo

Nope, haven't done this once Even when I used monochrome editor theme, syntax highlighting tells you what to do

Nice that you came up with it by yourself. This kind of dx details are gold. (Built in with WebStom btw,)

Sorry to say but I've never done that mistake. The colour syntax in the editor makes it painfully obvious. And besides I don't like back ticks a whole lot so I'm aware when I can avoid it and when I need it for ${} stuff

mfs will do anything but use webstorm

I have never done that, because the LSP highlights backticks differently.

Cool build bro 🔥

Thanks bhai ❤️

I started my web dev journey as well, I'm currently learning CSS 😅

Downloading immediately

Great work bhai

No. Just type «cs"`» and you're done.

This is 4 characters in vim: cs"`

There's a million of these already but gj

I need this but for Python F-strings. 😂 I can't count how many times I've made that mistake

I've been using but competition never hurts!

Come to @jetbrains

dope repository mate, cool for VSC devs! feel free to launch it on should help

Have you heard of AI? I use it for this.

cool for you

“deleted, and retyped everything”… whaaaaa? If you have to delete and retype everything to change quotes to backtick, more than an extension is needed at that point… 😳

i want but cant install on cursor

Have to fix it for cursor

Damn

What if I literally want to have a dollar sign, a left curly brace, some letters, and a right curly brace in a string?

You can disable the extension from command pallete

Never in my life done that

ohhh.. so people are actually using vscode ? im Nvim user btw

Literally, never done this

I already use is yours any better?

Naah just made it for fun

What if I want you to make it better

Yup i have done it much better much better architecture, better quality code. And potential to adds more features in the future

Hey so I just put together a quick benchmark for both, you did an exceptional job! Well done

`findAllTemplateLiterals` (~1.5µs) is your slowest function, maybe work on that branch?

Sure thanks for the benchmark man

Nice. Quick question what if u dont want backticks. Is there any undo option?

yes, you can disable the extension or if you remove $ or { it will revert it back to quotes
