VS Code Tips and Tricks for TypeScript Wizards

Sdílet
Vložit
  • čas přidán 12. 09. 2024
  • Learn how VSCode can turn you into a TypeScript wizard! In this session, Matt shows off the cool things the TypeScript team has shipped to make your life easier.
    #VSCodeDay #VSCode

Komentáře • 9

  • @mattpocockuk
    @mattpocockuk Před rokem +6

    Thanks for having me VSCode day! Always love appearing on your streams.

  • @babyboie20
    @babyboie20 Před rokem +3

    So happy we got this guy, I have learned so much from him about more advanced TS concepts.

  • @kr30000
    @kr30000 Před rokem

    21:50 - This helped me visually understand what's actually happening when indexing a mapped type. Really cool

  • @shawnxiong2011
    @shawnxiong2011 Před rokem +1

    Helpful stuff, "Prettify" should really build into vscode or typescript extesion, it's much easier with multiple pick and omit on typings

  • @danielgilleland8611
    @danielgilleland8611 Před rokem

    Your first example made use of the concept of literal types in TypeScript, which kinda blew me away. Coming from a C# background (and not very versed in TypeScript), I was confused at first that you made the parameter `name` to be the *type* 'John' (as opposed to thinking of it as the *value* 'John').
    So, I did what any seasoned developer should do: I cracked open ChatGPT-4 to get a better understanding of what was going on! (We are living in amazing times!)
    Oh, and BTW, I think it might be a stretch to call "string literal types" a "beginner" concept in TypeScript. It seems too "edge-case" to apply to beginners. But hey, I could be wrong - I'm a C# kinda guy...

  • @ipaldesse
    @ipaldesse Před rokem +4

    wait... isn't VSCode is Source Code Editor ? not an IDE

    • @hyde905
      @hyde905 Před rokem

      chat gpt can answer this genuine question:
      You are correct that Visual Studio Code (VSCode) is primarily a source code editor rather than a full-fledged Integrated Development Environment (IDE). However, VSCode does come with many features commonly found in an IDE, such as code debugging, syntax highlighting, code completion, and version control integration, among others. Additionally, VSCode has a vast library of extensions that can add even more functionality, such as language support, code formatting, and project management. While VSCode may not have all of the features of a traditional IDE, it is a highly customizable and versatile tool that can be used for a variety of software development tasks.

    • @krowven
      @krowven Před rokem

      Text editor as a base, you *extend* it to do more. I was all but able to take notepad++ out of my daily life as it filled the "fast file editor with syntax highlighting" need I had.

  • @codernerd7076
    @codernerd7076 Před rokem

    Seems my VSCode type checking is slow, but think my pc is dying so it's likely just me😢