~/talk

What language support in an IDE is made of

TalkinRussianat JetBrains Open Day 2019 · on Friday, 2019-06-28· [compilers-and-language-design]
links:none on file
slides:none on file

An IDE stack for JavaScript/TypeScript/JSX/TSX: a fast lexer for instant highlighting, a resilient parser that recovers from incomplete code to build an AST, and a project index that skips node_modules to avoid scanning tens of thousands of files. Navigation and completion are driven by indexes plus TypeScript .d.ts files, while type inference uses indexed symbols, call/return analysis and control‑flow/data‑flow graphs to power inspections; supporting TS/TSX and Babel plugins is necessary but often fragile given widespread React and TypeScript usage.

AI-written summary · about

  1. 0:00Language support in IDEs
  2. 1:28Choosing language for IDE support
  3. 4:46Keyword highlighting with lexer
  4. 7:38JavaScript lexing challenges
  5. 10:47Parser builds syntax tree
  6. 12:35Parsing new language versions
  7. 15:30Syntax tree for code analysis
  8. 17:59Code indexing for search
  9. 20:29Navigation and autocompletion
  10. 22:15JavaScript autocompletion strategies
  11. 23:17JavaScript type inference via annotations
  12. 25:44Type inference and inspection process
  13. 27:28Control flow graph inspections
  14. 29:15Data flow analysis for inspections
  15. 30:18Code optimization via analysis
  16. 31:21Language support behind the scenes
~/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.