In this lesson I would like to show how I use emacs to navigate the project code and do typical development tasks.
While Emacs is not just text editor, but is a platform where people can navigate (through) text. In this post I will try to show the code & project naviation tips & tricks.
In short:
Projectile& its integration with helm (helm-projectile) and plain access viaVertico.projectile-find-file
ag- search in project- how to filter by extension (-G)
- exclude something via
! ANDcondition just by adding more words- edit files inline!
rgrepis standard interface to grep, but its slowrg- search viadeadgrepdiredto view/copy filesdired-sidebaris a nice sidebar (alternatives - ranger, treemacs, etc)LSPtools. I am usingtidefor Javascript andlsp-bridgefor everything else (but there are several alternatives likeeglot)bm- bookmarks andhelm-bmorg-modeandorg-store-linkto store links to source codeace-window- navigate via several emacs framesavi-goto-lineto show key bindingsC-c f d-find-diredto find files, for example-wholename \*/management/commands/\*.pyC-z o-helm-occurto show occurencies in current fileC-x v gto show annotate (for all backends,git,hg, etc)C-x v lto list file changes