Hacker News new | ask | show | jobs
by socialdemocrat 2309 days ago
Pretty much every programmer editor lets you jump to code. I can even do that from my Terminal program. If I run a program and it produces and error my terminal interprets paths in the error message and let me click them to open my code editor at that file and line number. No IDE needed ;-)
3 comments

That's presumably because the error had some format including rows columns and filenames.

Navigating from a symbol to another symbol (e.g. from a variable use to its declaration) requires more than simple pattern matching.

The editor needs to know (or be able to find out) the symbolic meaning of every word on the screen to do that. If syntax hihglighting isn't just basic regex matching, e.g. if you want different colors for mutable/immutable fields etc, then the editor needs to know the syntactic meaning of everything not just when navigating but when displaying.

Which terminal lets you do that?
More trouble than ctrl-B though