Vscode extension error

Using version 0.1.13 of the VSCode extension for ConnectIQ running any build command produces the following error

node.node.getAttribute is not a function

Its referred to in a bug report that is marked as fixed but I am on the latest version and the problem still presents itself.  Any ideas or thoughts on a solution ?

  • Upon further debugging of the project and the extension, this turned out to be an XML comment causing the issue within the manifest file.

    Removing the commented line fixed the issue but a more robust parsing routine might be nice in the future.....

  • This is why the first line of the manifest.xml has this.

    "<!-- This is a generated file. It is highly recommended that you DO NOT edit this file. -->"

    Both eclipse and VS code have ways of modifying the manifest.xml without direct editing

  • Very valid point!  I had looked at the online documentation and it said it could be created by hand and I had cut and pasted from the example.  It is valid XML to have comments so I think the extension should probably deal with it.  

    Thanks for you help