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 03:34:09 +0000 [thread overview]
Message-ID: <mAae6ucZqILN8INxMZUZoF7W_9Wr11ojmArpGBws_H8E2k7VxzE6bRLJSajZ6HrzRcuPMv-HYnzhBHEUl9jXx2kNdnclBTXMjcj24U_qvx8=@rjt.dev> (raw)
In-Reply-To: <1D5B5167-4DE0-44CE-AAE0-379F016E8556@gmail.com>
On Wednesday, November 16th, 2022 at 22:28, Yuan Fu <casouri@gmail.com> wrote:
>
> > On Nov 16, 2022, at 5:34 PM, Randy Taylor dev@rjt.dev wrote:
> >
> > 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.
>
>
> Good news: if you select text in the source buffer, the enclosed nodes are highlighted in the syntax tree.
>
> Yuan
Perfect, thanks! I should've tried that ;).
prev parent reply other threads:[~2022-11-17 3: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
2022-11-17 3:28 ` Yuan Fu
2022-11-17 3:34 ` Randy Taylor [this message]
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='mAae6ucZqILN8INxMZUZoF7W_9Wr11ojmArpGBws_H8E2k7VxzE6bRLJSajZ6HrzRcuPMv-HYnzhBHEUl9jXx2kNdnclBTXMjcj24U_qvx8=@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).