Skip to content

In `Cargo.toml` file, support `xref-find-definitions` for cargo dependencies

License

Notifications You must be signed in to change notification settings

eval-exec/cargo-jump-xref.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cargo-jump-xref

When I working on Cargo.toml file, this cargo-jump-xref.el help me to execute xref-find-definitions on a cargo dependency, jump to the dependency's source code.

You need to add cargo-jump-xref-backend to xref-backend-functions, then you can open a Cargo.toml file, move cursor on a cargo dependency, execute xref-find-definitions will jump to the cargo dependency's source file.

(use-package cargo-jump-xref
  :ensure 
  (:type git :host github :repo "eval-exec/cargo-jump-xref.el")
  :config
  (add-to-list 'xref-backend-functions #'cargo-jump-xref-backend))

About

In `Cargo.toml` file, support `xref-find-definitions` for cargo dependencies

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published