Ask HN: How Do You Navigate Code?
I use VSCode and mostly navigate via:<p>F12: Go to definition<p>Shift+F12: Go to usages<p>Ctrl+-: Go back<p>Ctrl+Shift+-: Go forward<p>Once you get used to it, it&#x27;s as easy as browsing the web.<p>Since I started using VSCode I did not have to work with codebases that were complex enough to make these features valuable but some VSCode language extensions support tree views of call hierarchies and type hierarchies. Here&#x27;s the documentation for the Java extension.<p><a href="https:&#x2F;&#x2F;code.visualstudio.com&#x2F;docs&#x2F;java&#x2F;java-editing#_call-hierarchy" rel="nofollow">https:&#x2F;&#x2F;code.visualstudio.com&#x2F;docs&#x2F;java&#x2F;java-editing#_call-h...</a><p><a href="https:&#x2F;&#x2F;code.visualstudio.com&#x2F;docs&#x2F;java&#x2F;java-editing#_type-hierarchy" rel="nofollow">https:&#x2F;&#x2F;code.visualstudio.com&#x2F;docs&#x2F;java&#x2F;java-editing#_type-h...</a><p>You can set keybindings for them too.