How to Optimize Performance in Visual Studio Code

Поділитися
Вставка
  • Опубліковано 4 лип 2024
  • In this developer productivity video, we go over how to optimize performance in Visual Studio Code. We cover topics like selecting a proper working directory, excluding files, disabling extensions, and updating the default settings.json file. Following these tips will make your VS Code run faster.
    📖 Code - github.com/SuboptimalEng/dotf...
    🐦 Twitter - / suboptimaleng
    💻 GitHub - github.com/SuboptimalEng
    🌎 Website - suboptimaleng.com
    == [ Resources ] ==
    VS Code Performance Tips: betterprogramming.pub/5-tips-...
    == [ Timestamps ] ==
    00:00 Working Directory Setup
    00:54 Exclude Node Modules
    01:24 Remove Unused Extensions
    02:03 Bracket Pair Colorizer
    03:13 Update VS Code Defaults
    03:36 Hide Editor Minimap
    04:05 Disable Search on Type
    04:42 Terminal GPU Acceleration
    04:56 Disable Code Lens
    05:21 Outro
    == [ Tags ] ==
    #suboptimal #vscode #visualstudio
  • Наука та технологія

КОМЕНТАРІ • 19

  • @angrysmilex
    @angrysmilex 2 роки тому +62

    People in 1999: In the near future, computers will become so powerful that graphics in games will be impossible to distinguish from reality.
    People in 2k22: How to boost performance in text editor...

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

    Thanks, you realy brought my VS code back to life.

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

    Thank you for this video! Extremely helpful

  • @mysteryman2213
    @mysteryman2213 3 місяці тому +1

    thanks buddy my vs code was really laggy and i was annoyed sometimes the terminal used to not open and many issues this really helped

    • @SuboptimalEng
      @SuboptimalEng  3 місяці тому +1

      Always glad to help a fellow dev!

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

    Hey, great video. Would you say that hiding the node modules folder has a noticeable performance improvement? Or is it mainly aesthetics? Thanks!

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

      Thanks Bob! I always thought that excluding files would prevent VS Code from searching through them when you do a "find all" but it looks like there is another setting (exclude in search) that does this.
      So perhaps excluding the node_modules folder is purely aesthetic 😅

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

      @@SuboptimalEng haha that's all good man. Thanks for the follow up! I really appreciate it. Keep making those videos!

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

    The best video

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

    Can you tell please what theme is this VSCode theme :D?

  • @joshikaran-zm2ju
    @joshikaran-zm2ju 4 місяці тому

    i search this up to make my ML project training speed

  • @cinegolpo-movieexplainedin8192

    i am running a mid level typescript project on VScode. its very slow. error and suggestions are showing 3-5 second later

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

      This makes me think the TypeScript language server is slow. I wonder if you could structure your TS app to speed up the server.

    • @cinegolpo-movieexplainedin8192
      @cinegolpo-movieexplainedin8192 Рік тому

      @@SuboptimalEng can't restructure the project.
      src
      / features
      / auth
      / service, controller, router
      this is the basic structure of my app. not very complicated still facing the issue

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

    Using google cloud shell vs code

  • @shadeersadikeen1052
    @shadeersadikeen1052 5 місяців тому +1

    Where is this settings.json is located

    • @Inbydev
      @Inbydev 14 днів тому

      Open the command palette (F1 or Ctrl+Shift+P) and type "Open user settings (JSON)"