You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In NTVS 1.2 Beta on VS 2015 Update 2, IntelliSense does not work for locally required files:
varmy_file=require('./my_local_file');my_file.// No IntelliSense for `my_file` :(
This issue was originally identified and tracked by #817. It is a Visual Studio / TypeScript bug, that is fixed by (the currently unreleased) VS 2015 Update 3 RTM.
Workaround
As a workaround, try adding a tsconfig.json to the root of your NTVS project with these options:
And right click Save As this file into C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TypeScript to replace the existing typescriptServices.js in that directory.
The text was updated successfully, but these errors were encountered:
mousetraps
changed the title
NTVS 1.2 Beta: IntelliSense For Locally Required Files needs VS 2015 Update 3+
NTVS 1.2 Beta: IntelliSense For Locally Required Files needs VS 2015 Update 3 RTM+
Jun 20, 2016
In NTVS 1.2 Beta on VS 2015 Update 2, IntelliSense does not work for locally required files:
This issue was originally identified and tracked by #817. It is a Visual Studio / TypeScript bug, that is fixed by (the currently unreleased) VS 2015 Update 3 RTM.
Workaround
As a workaround, try adding a
tsconfig.json
to the root of your NTVS project with these options:And right click
Save As
this file intoC:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TypeScript
to replace the existingtypescriptServices.js
in that directory.The text was updated successfully, but these errors were encountered: