Giter Club home page Giter Club logo

Comments (5)

monnier avatar monnier commented on August 16, 2024 1

from elisp-def.

dgutov avatar dgutov commented on August 16, 2024

It shouldn't be too hard either: a lot of necessary code for detecting the current symbol's type is already there (used now for completion).

One part where I'm not sure about, though, is how to reconcile the auto-detection of the symbol's type with reading its name with completion (which we do even for xref-find-definitions, in certain non-default configurations).

from elisp-def.

Wilfred avatar Wilfred commented on August 16, 2024

Hi Stefan! I'm flattered you're trying my package :)

Sorry I didn't respond before: turns out that new GitHub projects don't have the creator watching the repo by default.

elisp-def goes a lot further than elisp-mode for detecting the type of a symbol. It handles anaphora, local variables and docstring references, amongst other things (see the readme for the full list).

The macro expansion and AST walking are sufficiently non-trivial that I wanted to get a good test suite and some users to shake out the bugs.

I'd be willing to look at moving this to elisp-mode in a few months, but I'd like it to have more time baking first :)

from elisp-def.

alphapapa avatar alphapapa commented on August 16, 2024

Hi Wilfred,

Having rediscovered this package, I'm curious: do you still plan to look into integrating this into Emacs someday? It looks very useful, but it would be easier to integrate it into users' workflows if it were part of, e.g. xref rather than a separate package that must be discovered, installed, bound, and remembered. :)

from elisp-def.

Mihara avatar Mihara commented on August 16, 2024

Seconding this. It would be a lot more convenient to use if it could integrate into xref as a backend rather than override the keybinding with itself.

from elisp-def.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.