Skip to content

Releases: jelmer/makefile-lsp

Release list

v0.2.0

Choose a tag to compare

@jelmer jelmer released this 25 May 10:37

New diagnostics

  • Spaces instead of tabs in recipe lines
  • Trailing whitespace in variable values
  • Duplicate prerequisites within a rule
  • $(shell ...) in recursively-expanded assignments
  • Unterminated conditional blocks
  • Empty automatic variables in recipes
  • Unused variable definitions
  • Mixed assignment operators on the same variable
  • Include path that doesn't exist on disk
  • Recipe lines outside any rule
  • Empty rule body that's probably a phony declaration
  • Circular dependencies between targets
  • Unused and unreferenced .PHONY targets
  • Redundant transitive prerequisites

New code actions / quickfixes

  • Convert = to := for $(shell ...) assignments
  • Remove trailing whitespace from variable values
  • Add missing endif
  • Remove undefined name from .PHONY
  • Sort .PHONY prerequisites alphabetically
  • Convert all space-indented recipes to tabs
  • Inline variable
  • Attach orphan target to default goal

Other

  • Inlay hint for target depth on top-level rules
  • Switch to released makefile-lossless
  • Publish coc-make to npm with trusted publishing on release

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 30 Mar 10:42