timer is started. If timer finishes before another change takes place,
project structure will be updated to reflect any changes in reference
comments or import statements.
changes in last s seconds (where s is currently 1.5), then check project
structure to account for references that may have changed. Turned this
off pending fix for getScriptFileNames returning only the root names.
Added event handler for deleted file, so that session can update error
messages upon deletion of a file from a project.
session.ts to use this field. Remove sort of nav items from getNavigateToItems in
sesion.ts because LS now does the sort. Removed no content throw in
quick info as this happens frequently with Sublime (every cursor move
calls quick info, and quick info is only available on symbols). Added
mechanism for other commands to avoid throwing and instead return a
specific error message, so that we don't make the log unreadable (as it
was with hundreds of quick info stack traces).
the end of the deleted Range (inclusive). DeleteLen was not always
accurate because editors normalize \r\n to \n in some cases, affecting
the length of ranges. In Diagnostic response items, changed len field
to end to address the same range length issue. Flattened
MessageDiagnosticChains in diagnostic message text, since clients expect
string there. Renamed ts.server.protocol to simply protocol in
session.ts and client.ts since module name prefix is clear.
Based on protocol feedback: Changed LineCol to Location. Changed
CodeLocation interface name prefix to FileLocation. Changed DiagEvent
to DiagnosticEvent. Removed anonymous types.