mogenslund/liquid

goto-definition not working 100%

Opened this issue · 1 comments

Expected Behavior

Using the goto-definition feature via gD on any symbol (in a clojure file) should take you to the definition of that symbol.

Actual Behavior

It works for some (most?) of the liquid internal parts, but not at all for other projects.

Steps to Reproduce the Problem

  1. Please try going to the definition of ensure-buffer-fun in line 74 of editor.cljc (works)
  2. Now please try going to the definition of highlight in line 274 of editor.cljc (doesn't work)
  3. Please try this with any other Clojure project, for example this one. E.g. jumping to the definition of target-planets in line 148 of ex04_api_design.clj will not work.

Specifications

  • Version: V2.1.1 (master)
  • Platform: macOS Big Sur 11.6 & void Linux 5.14.10

Details

I did not add the sample project to the dependencies of any configuration file. I'd like this feature to work in the project I'm working on without much additional configuration.

I only have a Leiningen and clj alias in place to start liquid using either the project's profile.clj or deps.edn file.

In case I was using it the wrong way please advise 🙇🏻

👍🏻