unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Randy Taylor <dev@rjt.dev>
To: Yuan Fu <casouri@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: New on shelf: Tree-sitter explorer
Date: Thu, 17 Nov 2022 01:34:44 +0000	[thread overview]
Message-ID: <lWwdSAErLyYY9draaDBMlVW4sqhkfaZj9essX76dNCd85q8MqNkCw_95TqNkf9PtSofr4gBKMTPlzrGSHBP36jc-gC-F0P6s4pqRgFfl-ek=@rjt.dev> (raw)
In-Reply-To: <83BC69A0-1643-4A02-B52C-819FA208E7CE@gmail.com>

On Wednesday, November 16th, 2022 at 18:54, Yuan Fu <casouri@gmail.com> wrote:
> 
> FYI I added a command treesit-explore-mode, which pops up a window showing the syntax tree of the current buffer in real time. This should be useful for folks working on tree-sitter :-)
> 
> Yuan

Looks and works great, thanks!

I like that the explorer highlights the code that the node represents - perhaps the inverse could be implemented too? That is, in the buffer being explored (i.e. the code), when point is moved to the start of a node (or within a node), it would be highlighted in the explorer.



  reply	other threads:[~2022-11-17  1:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-16 23:54 New on shelf: Tree-sitter explorer Yuan Fu
2022-11-17  1:34 ` Randy Taylor [this message]
2022-11-17  3:28   ` Yuan Fu
2022-11-17  3:34     ` Randy Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='lWwdSAErLyYY9draaDBMlVW4sqhkfaZj9essX76dNCd85q8MqNkCw_95TqNkf9PtSofr4gBKMTPlzrGSHBP36jc-gC-F0P6s4pqRgFfl-ek=@rjt.dev' \
    --to=dev@rjt.dev \
    --cc=casouri@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).