Skip to content

v0.0.9

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Jan 19:06
2b55798

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

0.0.9 - 2025-01-26

Fixed

  • Support for /include/ syntax

0.0.8 - 2025-01-26

Added

  • Go to definition on document links to proide alternative to LSP clients with no DocumentLink support [User Feedback]

Fixed

  • Diagnosting cleared on each onDidChangeContent event before new diagnostics are generated.

0.0.7 - 2025-01-21

Added

  • Completion for Includes
  • Diagnostic for Include when server is unable to resolve

Fixed

  • Disable diagnostics.refresh if Client does not support this. [Fixed by topisani]
  • Invalid uri format in diagnostics when clearing workspace diagnostics diagnostics.refresh. [Fixed by topisani]
  • Server crash if import is a directory
  • Report diagnostics issues from CPrePorcessor

0.0.6 - 2025-01-18

Changed

  • If enabled, ad hoc context can now be created for devicetree files such as 'dtsi' and 'overlay' files that

Fixed

  • 'File not in context' were not clearing in some cases

0.0.5 - 2025-01-15

Added

  • Support in parser to consider assigning macro to property as valid syntax
prop = FOO(10)

Fixed

  • Parsing error when macro function like calls have zero parameters e.g.
prop = FOO()
  • Parsing error when macro function like calls have missing parameters after comma e.g.
prop = FOO(10,)

0.0.4 - 2025-01-14

Fixed

  • On Hover rendered Macro calls parametes as [object object] instead of the actual string value e.g
reg = <536870912 DT_SIZE_K([object object])>;  -> issue
reg = <536870912 DT_SIZE_K(448)>; -> fix

0.0.3 - 2025-01-13

Added

  • Formating of comments
  • Code action to add missing properties

Fixed

  • Formating of includes statment in files that where included inside a DTC node

0.0.2 - 2025-01-10

Added

  • Support for devicetree.cwd in the setting. This can be used to allow relative paths in:
    • devicetree.defaultIncludePaths
    • devicetree.defaultZephyrBindings
  • Support for cwd in each context. If this is missing devicetree.cwd will be used as falback. This can be used to allow relative paths in:
    • includePaths
    • zephyrBindings
    • dtsFile
  • ctxName to the context settings. This can be a string or a number.
  • Extended preferredContext to support linking to ctxName. This can be a string or a number.
  • devicetree.autoChangeContext. If true the LSP will auto change the active context for actions. Defaults to true.
  • devicetree.allowAdhocContexts If true the LSP will create ad hoc context for when .dts file is opned and not in any devicetree.contexts. Defaults to true. If not context is avalable for a devicetree file a warning.
  • Formating include in document
  • Formating now support confiuration of tab vs spaces and spaces size

Fixed

  • Parsing files with include that is not in the root of the document e.g.
/dts-v1/;
#include "nrf5340_cpuapp_common.dtsi" // -> OK

/ {
	model = "Nordic NRF5340 DK NRF5340 Application";
	compatible = "nordic,nrf5340-dk-nrf5340-cpuapp";

	chosen {
		#include "nrf5340_cpuapp_common.dtsi" // -> ISSUE Fixed
	};
};

0.0.1 - 2025-01-07

Added

  • First release