My favourite VSCode extension has 3k downloads

  Рет қаралды 133,506

Matt Pocock

Matt Pocock

Күн бұрын

Пікірлер: 118
@mattpocockuk
@mattpocockuk Жыл бұрын
Lol up to 26k downloads now. Will need to change this title at some point.
@Drunkenvalley
@Drunkenvalley Жыл бұрын
Can just rename it to "had" lol.
@rafageist
@rafageist 4 ай бұрын
57.4K now!
@hyperprotagonist
@hyperprotagonist 2 жыл бұрын
Matt, you can’t just say “I want to pull it out and have it visible”, “make sure you’re pulling out”, and “look at a small piece” in one sentence 😂
@mattpocockuk
@mattpocockuk 2 жыл бұрын
Best first comment ever
@igorskyflyer
@igorskyflyer Жыл бұрын
🙈🙈🙈🙈
@hugodsa89
@hugodsa89 2 жыл бұрын
Duuuuuuude, this changes my day to day. No exaggeration.
@dk5146
@dk5146 Жыл бұрын
This extension is also a great example for beginners to get started with creating a vscode extension!
@rinzler_d_vicky
@rinzler_d_vicky 2 жыл бұрын
I was googling this today, trying to find the extension you were using, Thank you!
@adhamsalama4336
@adhamsalama4336 2 жыл бұрын
I find inlay hints even better
@Joxel
@Joxel 2 жыл бұрын
Got this random recommendation; Totally worth it. Thanks for the great tip!
@faizanahmed9304
@faizanahmed9304 2 жыл бұрын
Thanks! amazing extension so as your videos are!
@JaquaSchao
@JaquaSchao 8 ай бұрын
I'm member number 50,490 on 31/05/24 use this extension. Good content, good video. Thanks
@noahkrause6607
@noahkrause6607 2 жыл бұрын
You are an absolute treasure, Matt. Thanks!
@YOUdudex
@YOUdudex Жыл бұрын
Thank for the video, Matt Pocock is so cool 🤩
@simpingsyndrome
@simpingsyndrome 2 жыл бұрын
terimakasih banyak matt!
@Zzznmop
@Zzznmop 2 жыл бұрын
I love videos like this because I learn why everyone with vscode commits random comments everywhere
@helleye311
@helleye311 2 жыл бұрын
Thank you! I was literally searching for this today!
@steveneeson5698
@steveneeson5698 2 жыл бұрын
Finally, the mystery is revealed! Thank you, Matt, for sharing all those tips. Don't stop
@zilahi8
@zilahi8 2 жыл бұрын
odd. i was just looking for something the other day, didn't really find anything useful, then saw this video on my recommended list. :) thanks a lot!
@ThangPhan-t2o
@ThangPhan-t2o Жыл бұрын
Thank you so much for sharing with us :)
@pupfriend
@pupfriend 2 жыл бұрын
Heck yeah. Giving this a go today.
@thetarnav
@thetarnav 2 жыл бұрын
Worth mentioning that this requires "Inlay Hints" setting to be enabled in vscode...
@mattpocockuk
@mattpocockuk 2 жыл бұрын
True!
@parkame1
@parkame1 2 жыл бұрын
pin worthy comment
@mattpocockuk
@mattpocockuk 2 жыл бұрын
@@parkame1 It's in the docs of the extension itself so I'm not too worried!
@ElliotDeNolf
@ElliotDeNolf 2 жыл бұрын
I'd say inlay hints are worth enabling anyway
@claireworld_
@claireworld_ 2 жыл бұрын
About to install it!!!
@thohangst
@thohangst 3 ай бұрын
See, kids, the caret points to the thing you want to know type info about! You gotta add spaces to get under the thing! Pretty neat-o.
@eulucascampelo
@eulucascampelo 2 жыл бұрын
Thank you Matt. This helps alot.
@yorailevi6747
@yorailevi6747 2 жыл бұрын
Title is so accurate
@davbrito
@davbrito 2 жыл бұрын
This can be achieved through inlay hints also
@GordonChil
@GordonChil 2 жыл бұрын
Jetbrains needs to add this feature to Webstorm.
@Duasdamanhaonline
@Duasdamanhaonline 2 жыл бұрын
2 minutes of pure gold
@adam29334
@adam29334 2 жыл бұрын
Nice room Matt
Жыл бұрын
thank Matt :D
@Motivize_
@Motivize_ 2 жыл бұрын
That's just great. Thanks!
@wayslow
@wayslow 2 жыл бұрын
Anything like that for jetbrains ecosystem (webstorm)?
@mokhtariabdelmadjid2977
@mokhtariabdelmadjid2977 2 жыл бұрын
i do use console ninja for debugging but it's lack this type feature
@sziluchannel
@sziluchannel 2 жыл бұрын
Ok that is cool and all but I use Rust and its extension prints out the types everywhere by default. Really helpful.
@loading_wait
@loading_wait 2 жыл бұрын
You know you can enable in-line type annotations for ts? If you've dabbled in rust it looks exactly like rust analyzer
@u1f98a
@u1f98a 2 жыл бұрын
I've always just used the hover tooltip to figure this out
@brhh
@brhh 2 жыл бұрын
volar extension has the same thing without comments, rather smart solution that works on functions etc
@joostschuur
@joostschuur 2 жыл бұрын
Actual high pitched sound I made at 0:26: Whaat???
@snatvb
@snatvb 2 жыл бұрын
what the differenct between info in tooltip and this extention?
@NatoBoram
@NatoBoram 2 жыл бұрын
None, it's just so you can see it visually while debugging
@Randych
@Randych 2 жыл бұрын
*laughs in rust-analyzer*
@reze_dev
@reze_dev 2 жыл бұрын
The extension has 5k downloads now
@nikensss
@nikensss 2 жыл бұрын
let's check the extension marketplace in a few days to see how many times it's been downloaded after your video
@5omebody
@5omebody 2 жыл бұрын
currently at 5887 (5 days later)
@hszt4414
@hszt4414 Жыл бұрын
Is there similar tool for nvim?
@sachasmart7139
@sachasmart7139 11 ай бұрын
How does everyone manage prettier formatting with this extension?
@tezza48
@tezza48 2 жыл бұрын
This plugin really needs a better name! Just spent 15 minutes trying to find the name of it again to install on my personal PC!
@dopetag
@dopetag 2 жыл бұрын
Hi, Matt! Offtopic question: Which extension do you use in your Total Typescript Beginner's TypeScript course in part 14 to suggest the types in the object having object type with certain properties? The behaviour can be seen in the solution video at 1:00 Thanks in advance for your help. I just can not figure out, if it's the native functionality of VSCode or some kind of extension.
@KANESAMP
@KANESAMP 2 жыл бұрын
Do you mean hovering over and seeing the type? That's regular VSCode behavior afaik
@Saturate0806
@Saturate0806 2 жыл бұрын
So just inline hints that ships with code by default? Just enable them and dont bloat up the IDE
@vahidss
@vahidss Жыл бұрын
So instead of just hovering, you make a new line, start a comment, tab to where you want it to be and insert ^?
@mattpocockuk
@mattpocockuk Жыл бұрын
Yep, useful for when you want to show it changing in real time, or highlight exactly which type you want the user to focus on.
@Mitsunee_
@Mitsunee_ 2 жыл бұрын
can't find it on the marketplace used in vscodium
@Luxcium
@Luxcium Жыл бұрын
I was expecting that *'Orta'* to pop out and the n he said the name of the extension...
@andreyokhrimenko2271
@andreyokhrimenko2271 Жыл бұрын
Thanks for nice extension, but what about typescript error extension that you use? Is it Pretty Typescript Errors || Total TypeScript?
@suprelink
@suprelink 2 жыл бұрын
If you know of a Vim equivalent I would love to know!
@LambdaCreates
@LambdaCreates 2 жыл бұрын
Now it's 5k downloads.
@Blacksoul444
@Blacksoul444 2 жыл бұрын
wait, the only advantage it has over hovering over it, is for teaching purposes?
@ogreeni
@ogreeni 2 жыл бұрын
Neat, though on mac if you press space twice it automatically enters a period, which could be annoying when using this extension (I saw you struggling with this throughout the video too :) )
@mattpocockuk
@mattpocockuk 2 жыл бұрын
True in TS Playground, not in VSCode
@ogreeni
@ogreeni 2 жыл бұрын
@@mattpocockuk Right, my bad. Take that back.
@stow1x
@stow1x 2 жыл бұрын
Wallaby can't do that?
@oliverclive-griffin3454
@oliverclive-griffin3454 2 жыл бұрын
Easier to just use cmd k cmd i to simulate a hover (on Mac)
@nizamchaudhary4460
@nizamchaudhary4460 Ай бұрын
well inlay hints in zed and webstorm are more better
@karis7539
@karis7539 Жыл бұрын
it doesn't work even with inlay hints turned on
@mattpocockuk
@mattpocockuk Жыл бұрын
Raise an issue!
@dlamotte21
@dlamotte21 2 жыл бұрын
5k now
@mattpocockuk
@mattpocockuk 2 жыл бұрын
To the mooooon
@nathanfranck5822
@nathanfranck5822 2 жыл бұрын
That would have been handy for me, developing complex types is otherwise a lot of mousing over things
@duality4y
@duality4y 2 жыл бұрын
the fact you need a plugin with weird syntax to know what a functiob returns ...
@AlexanderBorodavka
@AlexanderBorodavka Жыл бұрын
doesn't work for me
@mattpocockuk
@mattpocockuk Жыл бұрын
What a detailed bug report
@larrycoleman8149
@larrycoleman8149 2 жыл бұрын
Webstorm can show all inferred types inline
@NatoBoram
@NatoBoram 2 жыл бұрын
Pretty distracting and it fucks up the line length. It's there for a reason. This extension avoids these problems by only showing up when you want it to and by not being disturbing.
@piaIy
@piaIy 2 жыл бұрын
​@@NatoBoram Inlay hints in VS Code have an option to show/hide them when holding a key combination.
@vpetryniak
@vpetryniak 2 жыл бұрын
What's the point of it? There are already built in inlay hints which are much more useful and no need for additional extension
@NatoBoram
@NatoBoram 2 жыл бұрын
Inlay hints fuck up the line length
@MichiganTypeScript
@MichiganTypeScript 2 жыл бұрын
fun fact: I forked this plugin and modified it so that I could use it to take create all the typing animations at the beginning of the TypeScript type challenges. e.g. kzbin.info/www/bejne/oWXEmK2PpduVasU
@sageknives
@sageknives Жыл бұрын
Is this forked plugin available somewhere?
@MichiganTypeScript
@MichiganTypeScript Жыл бұрын
@@sageknives unfortunately, no. I'm not even sure _I have it_ anymore. The challenges are over in two days but there have been more since the project started so I'll have to probably just do it over again if I do more challenges. It was just a quick and super hacky thing I threw together.
@pranjalshukla8096
@pranjalshukla8096 2 жыл бұрын
no offense senpai you need sponsership from Keeps
@naxey
@naxey 2 жыл бұрын
I feel like this is the same as //? in quokka, which has 2.1M downloads
@ShaAniMi1
@ShaAniMi1 2 жыл бұрын
laughs in statically typed language
@youarethecssformyhtml
@youarethecssformyhtml 7 ай бұрын
Dude doesn't even know something called type inference and says that proudly
@GallowsofGhent
@GallowsofGhent 2 жыл бұрын
My brother in TypeScript, why not use inlay hints and never have to type these comments again?
@5omebody
@5omebody 2 жыл бұрын
inlay hints get very, very, _very_ long. especially when you have computed types
@whoopsimsorry2546
@whoopsimsorry2546 2 жыл бұрын
heard of typescript?
@MynecraftCZ
@MynecraftCZ 2 жыл бұрын
or you can just use strongly-typed language...
@JanBebendorf
@JanBebendorf 2 жыл бұрын
Or you just use an actual IDE like WebStorm and have type hints built-in as the most essential features. Having to write a console.log and this crappy comment is probably the worst implementation anyone can think of and that's why it has almost no downloads... The VSCode extension system probably allows you to add popover hints on hover aswell which would be a much better option.
@5omebody
@5omebody 2 жыл бұрын
nope, vscode comes prepackaged with typescript, _and_ type inlay hints builtin (just disabled), for both javascript and typescript
@JanBebendorf
@JanBebendorf 2 жыл бұрын
@@5omebody well then this plugin is stupid in the first place lol
@5omebody
@5omebody 2 жыл бұрын
@@JanBebendorf it's really not, it's designed to mirror existing twoslash in the playground and in documentation generators (both for demonstration purposes). it's not all that useful, sure, but it's not meant to be. it's just meant to be there for whatever audience there is that wants it. who knows, maybe they write their MCVEs in vscode as part of testing, or dogfooding, or whatever
@darksidedani
@darksidedani 2 жыл бұрын
Or - just use an IDE
@5omebody
@5omebody 2 жыл бұрын
yeah, an IDE like... ... vscode
@darksidedani
@darksidedani 2 жыл бұрын
@@5omebody vscode is not an IDE.... It's a Text Editor IntelliJ IDEA is an IDE
@5omebody
@5omebody 2 жыл бұрын
@@darksidedani but what exactly is vscode missing?
@darksidedani
@darksidedani 2 жыл бұрын
@@5omebody Refactoring, speed, data-base integration, proper version control etc. Google might give you more info on the difference between VSCode and JetBrain's IDE's
@5omebody
@5omebody 2 жыл бұрын
​@@darksidedani tl;dr: you have not mentioned a single difference. apart from maybe builtin db support, but i'm not aware of jetbrains IDEs having db support built in - and even if they do, i highly doubt the majority of users actually _use_ said db support. - refactoring: built into vscode - speed: vscode is way more lightweight than both VS and jetbrains IDEs - version control: vscode has that built in too... who'da thunk - database integration: not supported out of the box of course. i can see why, you either support a few, making a few users happy but leaving the rest unaffected... or just let the databases themselves write their own extensions
@WalterWoshid
@WalterWoshid 2 жыл бұрын
I wish JetBrains Webstorm had this :(
@hoots187
@hoots187 2 жыл бұрын
Ehy bro its wayyy too early/late to be posting these kinds of videos my guy btw two slash also has support for documentation frameworks like docusaurus so you can have it working in code examples, etc
@mattpocockuk
@mattpocockuk 2 жыл бұрын
Yeah shiki-twoslash is extremely cool
@rogmz3512
@rogmz3512 2 жыл бұрын
Don't really see a need for this
@ikechukwucharles2314
@ikechukwucharles2314 Жыл бұрын
The f**k????? Just wow.
@Luke1000
@Luke1000 2 жыл бұрын
Higher hair please.
@Diego-Garcia
@Diego-Garcia 2 жыл бұрын
--- VSCode also lets you enable inlay hints... "javascript.inlayHints.parameterNames.enabled": "literals", "javascript.inlayHints.functionLikeReturnTypes.enabled": true, "javascript.inlayHints.parameterTypes.enabled": true, "typescript.inlayHints.parameterNames.enabled": "literals", "typescript.inlayHints.functionLikeReturnTypes.enabled": true, "typescript.inlayHints.parameterTypes.enabled": true, --- For Python (only with Pylance plugin): "python.analysis.inlayHints.variableTypes": true, "python.analysis.inlayHints.functionReturnTypes": true, --- And, for you that want type checking in JS files: "js/ts.implicitProjectConfig.checkJs": true, --- And for Python files (only with Pylance plugin): "python.analysis.typeCheckingMode": "basic",
@simpingsyndrome
@simpingsyndrome 2 жыл бұрын
terimakasih banyak matt!
Blazing Fast Tips: Publishing to NPM
3:37
Matt Pocock
Рет қаралды 77 М.
Infer is easier than you think
13:38
Matt Pocock
Рет қаралды 97 М.
The Best VSCode Extensions 2024
9:29
Coding With Adam
Рет қаралды 418 М.
TypeScript Generics are EASY once you know this
22:21
ByteGrad
Рет қаралды 149 М.
Zed “kills” VSCode
12:10
Alex Ziskind
Рет қаралды 930 М.
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 326 М.
The empty object is TypeScript's weirdest type
5:00
Matt Pocock
Рет қаралды 27 М.
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 362 М.
Don't put your types in .d.ts files
3:54
Matt Pocock
Рет қаралды 145 М.
The Value of Source Code
17:46
Philomatics
Рет қаралды 219 М.
This TS naming convention is weird
4:01
Matt Pocock
Рет қаралды 118 М.