Hello. Is there a package in emacs that allows you to navigate through the buffer not in terms of "character-forward, previous-string, etc.", but somewhere like this - "next-expression, argument list"? Interested in supporting js, python, html, css
1 answer
There are very convenient navigation features.
Create a mini buffer with functions, classes and variables. See extensions for helm, ido, ivy
Mx imenu Moving through functions in the current buffer
CMa Move to beginning of current or preceding defun (beginning-of-defun).
CMe Move to end of current or following defun (end-of-defun).
CMh Put region around whole current or following defun (mark-defun).
Go to the definition of a function or variable. Works with GNU global, ctags
M-. Jump to the character seen in current active buffers.
C-; Links
|
pareditand his younger brotherparinfer, but they are intended only for lisps. There aresmartparens, which covers many cases, but not AST. - D-side