madskristensen/JSON-Intellisense — pull request #5 by nycdotnet (2014-07-25 01:02:33+00:00)
Title: Workaround for null .Parent

Hi Mads,

I was still getting a null reference exception.

The repro (for me) was creating a new "HTML Application with TypeScript" project and then creating a new test.json file at the project root. An alternate was opening this test.json file (which has to be empty) after having saved it as blank and closed Visual Studio.

This is the fix. Thanks again for this cool little add-in.