Goto-definition targets and hex: document links.
- a step: its source file, at its
use Composer.Stepline (a cookbook underdeps/included) - a recipe: its name key in its group file
- an alias: its entry in
aliases:, or in the top-level binding thataliases:names - a
hex:reference: a document link to its HexDocs
Summary
Functions
The HexDocs URL of a hex: reference, or nil.
The hex: references in text as {range, url}, from the locator
when the text parses, else by scanning each line's string literals.
The target of a Composer.LSP.Lookup result, or nil. For an alias,
buffer is %{text, path, recipe}, the buffer the cursor is in.
Types
@type target() :: {Path.t(), Composer.Lint.Diagnostic.range()}
Functions
The HexDocs URL of a hex: reference, or nil.
@spec links(String.t(), Path.t()) :: [{Composer.Lint.Diagnostic.range(), String.t()}]
The hex: references in text as {range, url}, from the locator
when the text parses, else by scanning each line's string literals.
@spec target(Composer.LSP.Lookup.result(), [Composer.Cookbook.t()], map()) :: target() | nil
The target of a Composer.LSP.Lookup result, or nil. For an alias,
buffer is %{text, path, recipe}, the buffer the cursor is in.