~/talk

Keynote – Aaron Patterson

Talkat RailsConf 2023 · 2023-04-24..04-26· [ruby-on-rails]
slides:none on file

A tiny Ruby language server called refreshing actually runs in-process with Rails and uses the Language Server Protocol over stdio to provide hover for ActiveRecord columns, URL-helper previews, jump-to-definition for routes, and live ERB error-to-editor mapping. Implemented in roughly 120 lines, it relies on Rails/Ruby patches (ERB node IDs and error mapping) and works with Vim and VS Code. The demo shows concrete autocompletions, route source locations, and error underlines — it functions, not just promises.

AI-written summary · about

  1. 0:00Start
  2. 14:23Example Spring Java Bean
  3. 23:45Red, Green, Refactor
  4. 29:08Configuring Vim
  5. 29:28Check Syntax
  6. 29:58Typical Order of Operations
  7. 30:39Language Server Protocol
  8. 33:10Event Loop
  9. 34:18Event Handling
  10. 34:32Initialize Message
  11. 36:14Checking Syntax
  12. 36:38Entire Language Server
  13. 45:21URL Helper Information
  14. 46:52Route Source Location
  15. 47:50ERB is converted to Ruby
~/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.