My favourite VSCode extension has 3k downloads

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 พ.ย. 2024

ความคิดเห็น • 117

  • @mattpocockuk
    @mattpocockuk  ปีที่แล้ว +14

    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 2 หลายเดือนก่อน

      57.4K now!

  • @hyperprotagonist
    @hyperprotagonist ปีที่แล้ว +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 😂

  • @dk5146
    @dk5146 ปีที่แล้ว +3

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

  • @hugodsa89
    @hugodsa89 ปีที่แล้ว +3

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

  • @adhamsalama4336
    @adhamsalama4336 ปีที่แล้ว +6

    I find inlay hints even better

  • @simpingsyndrome
    @simpingsyndrome ปีที่แล้ว +1

    terimakasih banyak matt!

  • @thetarnav
    @thetarnav ปีที่แล้ว +80

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

    • @mattpocockuk
      @mattpocockuk  ปีที่แล้ว +7

      True!

    • @parkame1
      @parkame1 ปีที่แล้ว +6

      pin worthy comment

    • @mattpocockuk
      @mattpocockuk  ปีที่แล้ว +3

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

  • @rinzler_d_vicky
    @rinzler_d_vicky ปีที่แล้ว +1

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

  • @Joxel
    @Joxel ปีที่แล้ว

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

  • @noahkrause6607
    @noahkrause6607 ปีที่แล้ว +2

    You are an absolute treasure, Matt. Thanks!

  • @Zzznmop
    @Zzznmop ปีที่แล้ว

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

  • @faizanahmed9304
    @faizanahmed9304 ปีที่แล้ว +2

    Thanks! amazing extension so as your videos are!

  • @JaquaSchao
    @JaquaSchao 5 หลายเดือนก่อน

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

  • @helleye311
    @helleye311 ปีที่แล้ว

    Thank you! I was literally searching for this today!

  • @YOUdudex
    @YOUdudex ปีที่แล้ว

    Thank for the video, Matt Pocock is so cool 🤩

  • @davbrito
    @davbrito ปีที่แล้ว +6

    This can be achieved through inlay hints also

  • @zilahi8
    @zilahi8 ปีที่แล้ว

    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!

  • @GordonChil
    @GordonChil ปีที่แล้ว +1

    Jetbrains needs to add this feature to Webstorm.

  • @nikensss
    @nikensss ปีที่แล้ว +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 ปีที่แล้ว

      currently at 5887 (5 days later)

  • @thohangst
    @thohangst 25 วันที่ผ่านมา

    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.

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

  • @pupfriend
    @pupfriend ปีที่แล้ว

    Heck yeah. Giving this a go today.

  • @ThangPhan-t2o
    @ThangPhan-t2o ปีที่แล้ว

    Thank you so much for sharing with us :)

  • @brhh
    @brhh ปีที่แล้ว

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

  • @loading_wait
    @loading_wait ปีที่แล้ว +1

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

  • @eulucascampelo
    @eulucascampelo ปีที่แล้ว

    Thank you Matt. This helps alot.

  • @Duasdamanhaonline
    @Duasdamanhaonline ปีที่แล้ว

    2 minutes of pure gold

  • @steveneeson5698
    @steveneeson5698 ปีที่แล้ว

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

  • @claireworld_
    @claireworld_ ปีที่แล้ว

    About to install it!!!

  • @wayslow
    @wayslow ปีที่แล้ว +2

    Anything like that for jetbrains ecosystem (webstorm)?

  • @yorailevi6747
    @yorailevi6747 ปีที่แล้ว

    Title is so accurate

  • @unicodefox
    @unicodefox ปีที่แล้ว

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

  • @adam29334
    @adam29334 ปีที่แล้ว

    Nice room Matt

  • @joostschuur
    @joostschuur ปีที่แล้ว

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

  • @Motivize_
    @Motivize_ ปีที่แล้ว

    That's just great. Thanks!

  •  ปีที่แล้ว

    thank Matt :D

  • @reze_dev
    @reze_dev ปีที่แล้ว +1

    The extension has 5k downloads now

  • @dopetag
    @dopetag ปีที่แล้ว +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 ปีที่แล้ว

      Do you mean hovering over and seeing the type? That's regular VSCode behavior afaik

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

  • @mokhtariabdelmadjid2977
    @mokhtariabdelmadjid2977 ปีที่แล้ว +1

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

  • @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  ปีที่แล้ว +1

      True in TS Playground, not in VSCode

    • @ogreeni
      @ogreeni ปีที่แล้ว

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

  • @andreyokhrimenko2271
    @andreyokhrimenko2271 ปีที่แล้ว

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

  • @Randych
    @Randych ปีที่แล้ว +1

    *laughs in rust-analyzer*

  • @Saturate0806
    @Saturate0806 ปีที่แล้ว

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

  • @nathanfranck5822
    @nathanfranck5822 ปีที่แล้ว

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

  • @Mitsunee_
    @Mitsunee_ ปีที่แล้ว

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

  • @duality4y
    @duality4y ปีที่แล้ว

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

  • @snatvb
    @snatvb ปีที่แล้ว +1

    what the differenct between info in tooltip and this extention?

    • @NatoBoram
      @NatoBoram ปีที่แล้ว

      None, it's just so you can see it visually while debugging

  • @sachasmart7139
    @sachasmart7139 9 หลายเดือนก่อน

    How does everyone manage prettier formatting with this 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.

  • @Blacksoul444
    @Blacksoul444 ปีที่แล้ว

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

  • @LambdaCreates
    @LambdaCreates ปีที่แล้ว

    Now it's 5k downloads.

  • @suprelink
    @suprelink ปีที่แล้ว

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

  • @hszt4414
    @hszt4414 ปีที่แล้ว

    Is there similar tool for nvim?

  • @oliverclive-griffin3454
    @oliverclive-griffin3454 ปีที่แล้ว

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

  • @pranjalshukla8096
    @pranjalshukla8096 ปีที่แล้ว

    no offense senpai
    you need sponsership from Keeps

  • @dlamotte21
    @dlamotte21 ปีที่แล้ว

    5k now

  • @stow1x
    @stow1x ปีที่แล้ว

    Wallaby can't do that?

  • @karis7539
    @karis7539 ปีที่แล้ว

    it doesn't work even with inlay hints turned on

  • @whoopsimsorry2546
    @whoopsimsorry2546 ปีที่แล้ว

    heard of typescript?

  • @ShaAniMi1
    @ShaAniMi1 ปีที่แล้ว

    laughs in statically typed language

    • @unknownguywholovespizza
      @unknownguywholovespizza 4 หลายเดือนก่อน

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

  • @MichiganTypeScript
    @MichiganTypeScript ปีที่แล้ว +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. th-cam.com/video/k4agzYpvb4c/w-d-xo.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.

  • @naxey
    @naxey ปีที่แล้ว +2

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

  • @GallowsofGhent
    @GallowsofGhent ปีที่แล้ว

    My brother in TypeScript, why not use inlay hints and never have to type these comments again?

    • @5omebody
      @5omebody ปีที่แล้ว

      inlay hints get very, very, _very_ long. especially when you have computed types

  • @larrycoleman8149
    @larrycoleman8149 ปีที่แล้ว

    Webstorm can show all inferred types inline

    • @NatoBoram
      @NatoBoram ปีที่แล้ว

      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 ปีที่แล้ว

      ​@@NatoBoram Inlay hints in VS Code have an option to show/hide them when holding a key combination.

  • @AlexanderBorodavka
    @AlexanderBorodavka 9 หลายเดือนก่อน

    doesn't work for me

    • @mattpocockuk
      @mattpocockuk  9 หลายเดือนก่อน

      What a detailed bug report

  • @MynecraftCZ
    @MynecraftCZ ปีที่แล้ว

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

  • @vpetryniak
    @vpetryniak ปีที่แล้ว +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 ปีที่แล้ว

      Inlay hints fuck up the line length

  • @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  ปีที่แล้ว +1

      Yeah shiki-twoslash is extremely cool

  • @JanBebendorf
    @JanBebendorf ปีที่แล้ว

    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 ปีที่แล้ว +1

      nope, vscode comes prepackaged with typescript, _and_ type inlay hints builtin (just disabled), for both javascript and typescript

    • @JanBebendorf
      @JanBebendorf ปีที่แล้ว

      @@5omebody well then this plugin is stupid in the first place lol

    • @5omebody
      @5omebody ปีที่แล้ว

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

  • @Luke1000
    @Luke1000 ปีที่แล้ว

    Higher hair please.

  • @WalterWoshid
    @WalterWoshid ปีที่แล้ว

    I wish JetBrains Webstorm had this :(

  • @darksidedani
    @darksidedani ปีที่แล้ว

    Or - just use an IDE

    • @5omebody
      @5omebody ปีที่แล้ว

      yeah, an IDE like...
      ... vscode

    • @darksidedani
      @darksidedani ปีที่แล้ว

      @@5omebody vscode is not an IDE....
      It's a Text Editor
      IntelliJ IDEA is an IDE

    • @5omebody
      @5omebody ปีที่แล้ว

      @@darksidedani but what exactly is vscode missing?

    • @darksidedani
      @darksidedani ปีที่แล้ว

      @@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 ปีที่แล้ว

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

  • @rogmz3512
    @rogmz3512 ปีที่แล้ว

    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!