Visual Studio Code and jsconfig.json
In 0.5.0 I see that it is possible to remove from .js files and add jsconfig.json overrides to the file. So I dropped the jsconfig.json file into the root directory of my project. /// <reference path="../typings/jquery/jquery.d.ts"/>
However, when I create a jsconfig.json file and add a line referencing the above jquery.d.ts file path and remove /// from my .js files, I don't see intellisense returning. As expected with Visual Studio Code.
The jsconfig.json file I created was.
{
"files": [
"../typings/jquery/jquery.d.ts"
]
}
I may be missing the point of jsconfig.json, I am completely new to this.
source to share
You don't need to add "files" to jsconfig.json, the only reason you need to do this is if you want to install a specific set.
Delete the file array instead. It looks like it still won't work in this location based on your description. My guess is that you don't have a file. \ Typings \ tsd.d.ts. It seems to read that for links to the correct files. To do this, you need to do "tsd install node - save".
Good luck!
source to share