~/talk

Workshop: Build your First VS Code Extension

Talkat Node+JS Interactive 2019 · 2019-12-11..12-12· [developer-experience]
links:none on file
slides:none on file

Hands-on build of a VS Code extension that reads editor text, parses it with Babel parser/traverse/generator into an AST, replaces function declarations with const-arrow-variable declarations, and writes the file back using the workspace edit API. Project bootstraps with the Yeoman yo code generator, uses @babel/types to create nodes, and runs in the Extension Development Host for live testing; the live demo compiles and succeeds converting functions to arrow forms.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 7:17Creating the extension project
  3. 14:12VS Code API basics
  4. 24:07Understanding AST
  5. 37:15Transforming code with Babel
  6. 44:49Implementing the refactoring
  7. 57:14Summary and next steps
  8. 1:00:26Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.