ArcticTypescript icon indicating copy to clipboard operation
ArcticTypescript copied to clipboard

New references don't work until project is reloaded

Open ecraig12345 opened this issue 10 years ago • 1 comments
trafficstars

When I add a new /// <reference path="whatever.d.ts"> in a file, I get an error marker, and the error is File '/path/to/whatever.d.ts' not found. The error goes away when I reload the project. It seems like reference changes like this should be detected automatically rather than the user needing to manually reload the project. Or at least it's something to consider--I can also see reasons why it wouldn't be such a good idea, like the fact that loading takes a long time for large projects (and blocks all other operations...something else to look at?).

ecraig12345 avatar Mar 24 '15 06:03 ecraig12345

i know, but I hope that typescript itself will solve this in near future. If this does not happen, I will implement this functionality by myself.

Phaiax avatar Mar 24 '15 18:03 Phaiax