terraform/command/format
Martin Atkins bd10b84a8e command/format: include source snippets in diagnostics
If we get a diagnostic message that references a source range, and if the
source code for the referenced file is available, we'll show a snippet of
the source code with the source range highlighted.

At the moment we have no cache of source code, so in practice this
codepath can never be visited. Callers to format.Diagnostic will be
gradually updated in subsequent commits.
2018-10-16 18:20:32 -07:00
..
diagnostic.go command/format: include source snippets in diagnostics 2018-10-16 18:20:32 -07:00
format.go command/format: a package for formatting plans/state for output 2017-01-26 14:33:49 -08:00
plan.go command/format: restore "(forces new resource)" caption 2017-09-11 12:55:32 -07:00
plan_test.go gofmt with go1.10 2018-02-21 10:22:08 -05:00
state.go command/format: a package for formatting plans/state for output 2017-01-26 14:33:49 -08:00