Visual Studio Code: The most useful (and underused) tips and tricks

Download this episode

Download Video

Download captions

Download Captions

Description

Want to wow all your friends? In this talk we show you the most useful, and often underused, tips and tricks in Visual Studio Code. Learn to be an elite power user, including learning keybindings, using font ligatures, and becoming a zen mode master. Come learn in a few short minutes how to shave hours off your day-to-day coding tasks. #HappyCoding

Day:

1

Session Type:

Tech Talk

Code:

T6078

Room:

Tech Talk C

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      Sequoia

      Love it! I didn't know about Zen Mode or the fact that cmd+space offered full launch-config objects in launch.json. One question I struggle with: What's the difference between a task and a launch config? When do you use one or the other? You're using a task to run your app, it seems to me a launch config is actually more appropriate here since you're "launch"ing your application.

      Other note: did you mention that the node process you're attaching to was launched *in debug mode*? This will be confusing to people not aware of this workflow.

      Good stuff!

    • User profile image
      JohnLudlow

      @Sequoia: launch configs are to do with launching your application in a debugging context (though there may be some other uses I'm not aware of).

      Tasks are more about running some toolset such as your build or tests.

      I think he wanted to show a migration from running everything yourself from a terminal to running commonly used stuff from a task, to splitting out your debugging use case from your build/test use case.

      One thing I don't think he showed was the isBuildCommand and isTestCommand options under tasks.jso. These automatically enable a shortcut of ctrl+shift+B or T to run the build or test commands (see https://code.visualstudio.com/docs/editor/tasks)

    Add Your 2 Cents