Lol up to 26k downloads now. Will need to change this title at some point.
@Drunkenvalley Жыл бұрын
Can just rename it to "had" lol.
@rafageist4 ай бұрын
57.4K now!
@hyperprotagonist2 жыл бұрын
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 😂
@mattpocockuk2 жыл бұрын
Best first comment ever
@igorskyflyer Жыл бұрын
🙈🙈🙈🙈
@hugodsa892 жыл бұрын
Duuuuuuude, this changes my day to day. No exaggeration.
@dk5146 Жыл бұрын
This extension is also a great example for beginners to get started with creating a vscode extension!
@rinzler_d_vicky2 жыл бұрын
I was googling this today, trying to find the extension you were using, Thank you!
@adhamsalama43362 жыл бұрын
I find inlay hints even better
@Joxel2 жыл бұрын
Got this random recommendation; Totally worth it. Thanks for the great tip!
@faizanahmed93042 жыл бұрын
Thanks! amazing extension so as your videos are!
@JaquaSchao8 ай бұрын
I'm member number 50,490 on 31/05/24 use this extension. Good content, good video. Thanks
@noahkrause66072 жыл бұрын
You are an absolute treasure, Matt. Thanks!
@YOUdudex Жыл бұрын
Thank for the video, Matt Pocock is so cool 🤩
@simpingsyndrome2 жыл бұрын
terimakasih banyak matt!
@Zzznmop2 жыл бұрын
I love videos like this because I learn why everyone with vscode commits random comments everywhere
@helleye3112 жыл бұрын
Thank you! I was literally searching for this today!
@steveneeson56982 жыл бұрын
Finally, the mystery is revealed! Thank you, Matt, for sharing all those tips. Don't stop
@zilahi82 жыл бұрын
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 Жыл бұрын
Thank you so much for sharing with us :)
@pupfriend2 жыл бұрын
Heck yeah. Giving this a go today.
@thetarnav2 жыл бұрын
Worth mentioning that this requires "Inlay Hints" setting to be enabled in vscode...
@mattpocockuk2 жыл бұрын
True!
@parkame12 жыл бұрын
pin worthy comment
@mattpocockuk2 жыл бұрын
@@parkame1 It's in the docs of the extension itself so I'm not too worried!
@ElliotDeNolf2 жыл бұрын
I'd say inlay hints are worth enabling anyway
@claireworld_2 жыл бұрын
About to install it!!!
@thohangst3 ай бұрын
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.
@eulucascampelo2 жыл бұрын
Thank you Matt. This helps alot.
@yorailevi67472 жыл бұрын
Title is so accurate
@davbrito2 жыл бұрын
This can be achieved through inlay hints also
@GordonChil2 жыл бұрын
Jetbrains needs to add this feature to Webstorm.
@Duasdamanhaonline2 жыл бұрын
2 minutes of pure gold
@adam293342 жыл бұрын
Nice room Matt
Жыл бұрын
thank Matt :D
@Motivize_2 жыл бұрын
That's just great. Thanks!
@wayslow2 жыл бұрын
Anything like that for jetbrains ecosystem (webstorm)?
@mokhtariabdelmadjid29772 жыл бұрын
i do use console ninja for debugging but it's lack this type feature
@sziluchannel2 жыл бұрын
Ok that is cool and all but I use Rust and its extension prints out the types everywhere by default. Really helpful.
@loading_wait2 жыл бұрын
You know you can enable in-line type annotations for ts? If you've dabbled in rust it looks exactly like rust analyzer
@u1f98a2 жыл бұрын
I've always just used the hover tooltip to figure this out
@brhh2 жыл бұрын
volar extension has the same thing without comments, rather smart solution that works on functions etc
@joostschuur2 жыл бұрын
Actual high pitched sound I made at 0:26: Whaat???
@snatvb2 жыл бұрын
what the differenct between info in tooltip and this extention?
@NatoBoram2 жыл бұрын
None, it's just so you can see it visually while debugging
@Randych2 жыл бұрын
*laughs in rust-analyzer*
@reze_dev2 жыл бұрын
The extension has 5k downloads now
@nikensss2 жыл бұрын
let's check the extension marketplace in a few days to see how many times it's been downloaded after your video
@5omebody2 жыл бұрын
currently at 5887 (5 days later)
@hszt4414 Жыл бұрын
Is there similar tool for nvim?
@sachasmart713911 ай бұрын
How does everyone manage prettier formatting with this extension?
@tezza482 жыл бұрын
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!
@dopetag2 жыл бұрын
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.
@KANESAMP2 жыл бұрын
Do you mean hovering over and seeing the type? That's regular VSCode behavior afaik
@Saturate08062 жыл бұрын
So just inline hints that ships with code by default? Just enable them and dont bloat up the IDE
@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 Жыл бұрын
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_2 жыл бұрын
can't find it on the marketplace used in vscodium
@Luxcium Жыл бұрын
I was expecting that *'Orta'* to pop out and the n he said the name of the extension...
@andreyokhrimenko2271 Жыл бұрын
Thanks for nice extension, but what about typescript error extension that you use? Is it Pretty Typescript Errors || Total TypeScript?
@suprelink2 жыл бұрын
If you know of a Vim equivalent I would love to know!
@LambdaCreates2 жыл бұрын
Now it's 5k downloads.
@Blacksoul4442 жыл бұрын
wait, the only advantage it has over hovering over it, is for teaching purposes?
@ogreeni2 жыл бұрын
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 :) )
@mattpocockuk2 жыл бұрын
True in TS Playground, not in VSCode
@ogreeni2 жыл бұрын
@@mattpocockuk Right, my bad. Take that back.
@stow1x2 жыл бұрын
Wallaby can't do that?
@oliverclive-griffin34542 жыл бұрын
Easier to just use cmd k cmd i to simulate a hover (on Mac)
@nizamchaudhary4460Ай бұрын
well inlay hints in zed and webstorm are more better
@karis7539 Жыл бұрын
it doesn't work even with inlay hints turned on
@mattpocockuk Жыл бұрын
Raise an issue!
@dlamotte212 жыл бұрын
5k now
@mattpocockuk2 жыл бұрын
To the mooooon
@nathanfranck58222 жыл бұрын
That would have been handy for me, developing complex types is otherwise a lot of mousing over things
@duality4y2 жыл бұрын
the fact you need a plugin with weird syntax to know what a functiob returns ...
@AlexanderBorodavka Жыл бұрын
doesn't work for me
@mattpocockuk Жыл бұрын
What a detailed bug report
@larrycoleman81492 жыл бұрын
Webstorm can show all inferred types inline
@NatoBoram2 жыл бұрын
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.
@piaIy2 жыл бұрын
@@NatoBoram Inlay hints in VS Code have an option to show/hide them when holding a key combination.
@vpetryniak2 жыл бұрын
What's the point of it? There are already built in inlay hints which are much more useful and no need for additional extension
@NatoBoram2 жыл бұрын
Inlay hints fuck up the line length
@MichiganTypeScript2 жыл бұрын
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 Жыл бұрын
Is this forked plugin available somewhere?
@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.
@pranjalshukla80962 жыл бұрын
no offense senpai you need sponsership from Keeps
@naxey2 жыл бұрын
I feel like this is the same as //? in quokka, which has 2.1M downloads
@ShaAniMi12 жыл бұрын
laughs in statically typed language
@youarethecssformyhtml7 ай бұрын
Dude doesn't even know something called type inference and says that proudly
@GallowsofGhent2 жыл бұрын
My brother in TypeScript, why not use inlay hints and never have to type these comments again?
@5omebody2 жыл бұрын
inlay hints get very, very, _very_ long. especially when you have computed types
@whoopsimsorry25462 жыл бұрын
heard of typescript?
@MynecraftCZ2 жыл бұрын
or you can just use strongly-typed language...
@JanBebendorf2 жыл бұрын
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.
@5omebody2 жыл бұрын
nope, vscode comes prepackaged with typescript, _and_ type inlay hints builtin (just disabled), for both javascript and typescript
@JanBebendorf2 жыл бұрын
@@5omebody well then this plugin is stupid in the first place lol
@5omebody2 жыл бұрын
@@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
@darksidedani2 жыл бұрын
Or - just use an IDE
@5omebody2 жыл бұрын
yeah, an IDE like... ... vscode
@darksidedani2 жыл бұрын
@@5omebody vscode is not an IDE.... It's a Text Editor IntelliJ IDEA is an IDE
@5omebody2 жыл бұрын
@@darksidedani but what exactly is vscode missing?
@darksidedani2 жыл бұрын
@@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
@5omebody2 жыл бұрын
@@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
@WalterWoshid2 жыл бұрын
I wish JetBrains Webstorm had this :(
@hoots1872 жыл бұрын
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
@mattpocockuk2 жыл бұрын
Yeah shiki-twoslash is extremely cool
@rogmz35122 жыл бұрын
Don't really see a need for this
@ikechukwucharles2314 Жыл бұрын
The f**k????? Just wow.
@Luke10002 жыл бұрын
Higher hair please.
@Diego-Garcia2 жыл бұрын
--- 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",