My favourite VSCode extension has 3k downloads

Поділитися
Вставка
  • Опубліковано 10 січ 2025

КОМЕНТАРІ • 118

  • @mattpocockuk
    @mattpocockuk  Рік тому +14

    Lol up to 26k downloads now. Will need to change this title at some point.

  • @hyperprotagonist
    @hyperprotagonist 2 роки тому +528

    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 😂

  • @hugodsa89
    @hugodsa89 2 роки тому +4

    Duuuuuuude, this changes my day to day. No exaggeration.

  • @dk5146
    @dk5146 Рік тому +3

    This extension is also a great example for beginners to get started with creating a vscode extension!

  • @adhamsalama4336
    @adhamsalama4336 2 роки тому +6

    I find inlay hints even better

  • @rinzler_d_vicky
    @rinzler_d_vicky 2 роки тому +1

    I was googling this today, trying to find the extension you were using, Thank you!

  • @noahkrause6607
    @noahkrause6607 2 роки тому +2

    You are an absolute treasure, Matt. Thanks!

  • @thetarnav
    @thetarnav 2 роки тому +80

    Worth mentioning that this requires "Inlay Hints" setting to be enabled in vscode...

    • @mattpocockuk
      @mattpocockuk  2 роки тому +7

      True!

    • @parkame1
      @parkame1 2 роки тому +6

      pin worthy comment

    • @mattpocockuk
      @mattpocockuk  2 роки тому +3

      @@parkame1 It's in the docs of the extension itself so I'm not too worried!

    • @ElliotDeNolf
      @ElliotDeNolf 2 роки тому +2

      I'd say inlay hints are worth enabling anyway

  • @Zzznmop
    @Zzznmop 2 роки тому

    I love videos like this because I learn why everyone with vscode commits random comments everywhere

  • @JaquaSchao
    @JaquaSchao 7 місяців тому

    I'm member number 50,490 on 31/05/24 use this extension. Good content, good video. Thanks

  • @helleye311
    @helleye311 2 роки тому

    Thank you! I was literally searching for this today!

  • @Joxel
    @Joxel 2 роки тому

    Got this random recommendation; Totally worth it. Thanks for the great tip!

  • @faizanahmed9304
    @faizanahmed9304 2 роки тому +2

    Thanks! amazing extension so as your videos are!

  • @steveneeson5698
    @steveneeson5698 2 роки тому

    Finally, the mystery is revealed!
    Thank you, Matt, for sharing all those tips.
    Don't stop

  • @simpingsyndrome
    @simpingsyndrome Рік тому +1

    terimakasih banyak matt!

  • @YOUdudex
    @YOUdudex Рік тому

    Thank for the video, Matt Pocock is so cool 🤩

  • @davbrito
    @davbrito 2 роки тому +6

    This can be achieved through inlay hints also

  • @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!

  • @joostschuur
    @joostschuur 2 роки тому

    Actual high pitched sound I made at 0:26: Whaat???

  • @dopetag
    @dopetag 2 роки тому +10

    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

  • @eulucascampelo
    @eulucascampelo 2 роки тому

    Thank you Matt. This helps alot.

  • @GordonChil
    @GordonChil 2 роки тому +1

    Jetbrains needs to add this feature to Webstorm.

  • @pupfriend
    @pupfriend 2 роки тому

    Heck yeah. Giving this a go today.

  • @nikensss
    @nikensss 2 роки тому +6

    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)

  • @ThangPhan-t2o
    @ThangPhan-t2o Рік тому

    Thank you so much for sharing with us :)

  • @reze_dev
    @reze_dev 2 роки тому +1

    The extension has 5k downloads now

  • @thohangst
    @thohangst 2 місяці тому

    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.

  • @wayslow
    @wayslow 2 роки тому +2

    Anything like that for jetbrains ecosystem (webstorm)?

  • @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.

  • @yorailevi6747
    @yorailevi6747 2 роки тому

    Title is so accurate

  • @Duasdamanhaonline
    @Duasdamanhaonline Рік тому

    2 minutes of pure gold

  • @u1f98a
    @u1f98a 2 роки тому

    I've always just used the hover tooltip to figure this out

  • @claireworld_
    @claireworld_ 2 роки тому

    About to install it!!!

  • @loading_wait
    @loading_wait 2 роки тому +1

    You know you can enable in-line type annotations for ts? If you've dabbled in rust it looks exactly like rust analyzer

  • @mokhtariabdelmadjid2977
    @mokhtariabdelmadjid2977 2 роки тому +1

    i do use console ninja for debugging but it's lack this type feature

  • @adam29334
    @adam29334 2 роки тому

    Nice room Matt

  • @brhh
    @brhh 2 роки тому

    volar extension has the same thing without comments, rather smart solution that works on functions etc

  • @Motivize_
    @Motivize_ 2 роки тому

    That's just great. Thanks!

  •  Рік тому

    thank Matt :D

  • @andreyokhrimenko2271
    @andreyokhrimenko2271 Рік тому

    Thanks for nice extension, but what about typescript error extension that you use?
    Is it Pretty Typescript Errors || Total TypeScript?

  • @Saturate0806
    @Saturate0806 Рік тому

    So just inline hints that ships with code by default? Just enable them and dont bloat up the IDE

  • @sachasmart7139
    @sachasmart7139 10 місяців тому

    How does everyone manage prettier formatting with this extension?

  • @snatvb
    @snatvb 2 роки тому +1

    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

  • @LambdaCreates
    @LambdaCreates 2 роки тому

    Now it's 5k downloads.

  • @Mitsunee_
    @Mitsunee_ 2 роки тому

    can't find it on the marketplace used in vscodium

  • @tezza48
    @tezza48 Рік тому

    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!

  • @ogreeni
    @ogreeni 2 роки тому +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 роки тому +1

      True in TS Playground, not in VSCode

    • @ogreeni
      @ogreeni 2 роки тому

      @@mattpocockuk Right, my bad. Take that back.

  • @Luxcium
    @Luxcium Рік тому

    I was expecting that *'Orta'* to pop out and the n he said the name of the extension...

  • @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  Рік тому +1

      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.

  • @suprelink
    @suprelink 2 роки тому

    If you know of a Vim equivalent I would love to know!

  • @hszt4414
    @hszt4414 Рік тому

    Is there similar tool for nvim?

  • @Blacksoul444
    @Blacksoul444 2 роки тому

    wait, the only advantage it has over hovering over it, is for teaching purposes?

  • @Randych
    @Randych Рік тому +1

    *laughs in rust-analyzer*

  • @nizamchaudhary4460
    @nizamchaudhary4460 23 дні тому

    well inlay hints in zed and webstorm are more better

  • @duality4y
    @duality4y 2 роки тому

    the fact you need a plugin with weird syntax to know what a functiob returns ...

  • @oliverclive-griffin3454
    @oliverclive-griffin3454 2 роки тому

    Easier to just use cmd k cmd i to simulate a hover (on Mac)

  • @stow1x
    @stow1x 2 роки тому

    Wallaby can't do that?

  • @karis7539
    @karis7539 Рік тому

    it doesn't work even with inlay hints turned on

  • @nathanfranck5822
    @nathanfranck5822 2 роки тому

    That would have been handy for me, developing complex types is otherwise a lot of mousing over things

  • @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 роки тому +1

    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

  • @AlexanderBorodavka
    @AlexanderBorodavka 11 місяців тому

    doesn't work for me

  • @pranjalshukla8096
    @pranjalshukla8096 2 роки тому

    no offense senpai
    you need sponsership from Keeps

  • @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

  • @dlamotte21
    @dlamotte21 2 роки тому

    5k now

  • @ShaAniMi1
    @ShaAniMi1 2 роки тому

    laughs in statically typed language

    • @youarethecssformyhtml
      @youarethecssformyhtml 6 місяців тому

      Dude doesn't even know something called type inference and says that proudly

  • @whoopsimsorry2546
    @whoopsimsorry2546 2 роки тому

    heard of typescript?

  • @naxey
    @naxey 2 роки тому +2

    I feel like this is the same as //? in quokka, which has 2.1M downloads

  • @MichiganTypeScript
    @MichiganTypeScript 2 роки тому +1

    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. ua-cam.com/video/k4agzYpvb4c/v-deo.html

    • @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.

  • @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 роки тому +1

      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

  • @MynecraftCZ
    @MynecraftCZ Рік тому

    or you can just use strongly-typed language...

  • @hoots187
    @hoots187 2 роки тому +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 роки тому +1

      Yeah shiki-twoslash is extremely cool

  • @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 :(

  • @Luke1000
    @Luke1000 2 роки тому

    Higher hair please.

  • @rogmz3512
    @rogmz3512 2 роки тому

    Don't really see a need for this

  • @ikechukwucharles2314
    @ikechukwucharles2314 Рік тому

    The f**k????? Just wow.

  • @Diego-Garcia
    @Diego-Garcia Рік тому

    --- 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 Рік тому

    terimakasih banyak matt!