Change:
VSCode Version: Code 1.19.1 (, 2017-12-19T09:46:02.926Z) OS Version: Windows_NT ia32 10.0. Extensions: Extensions are disabled Steps to Reproduce: / Interactive Playground Under heading IntelliSense, the text reads: It it unclear what error underline means, I don't see any underline or error.
I can reproduce on the 2nd time: playground tab playground No errors shown & IntelliSense not working & rename & code formatting & // ts-check ...
Yes, opening playground a second time seems to be key to all the problems I was having with it. Thanks.
VSCode Version: Code - Insiders 1.20.0-insider (, 2017-12-22T06:14:07.615Z) OS Version: Linux x64 4.9.72-1-lts Extensions: none Also happens every time for me in Interactive Playground with no extensions loaded w/ insiders on linux. If restarting vscode repeatedly, sometimes syntax highlight also fails. EDIT: As I continued on down through the document, some other instructions are failing too.
VSCode Version: Code 1.19.1 (, 2017-12-19T09:35:14.671Z) OS Version: Darwin x64 16.7.0 Extensions: none I just got VSCode for the first time, fresh install on macOS, and experienced the same issue with different features in the Interactive Playground described here by the peeps above. Don't have much to add in terms of describing/reproducing the issue, just posting here for completeness that the issue affects 1.19.1 on OSX as well.
I see this when opening without a folder. The missing errors also reproduce in an untitled file in JavaScript mode (code actions seem to work in this case). Code actions do not work in the interactive playground when the workbench is not open on a folder. Could you take a look?
Note that this still requires this upstream fix from TS ()

Discussion:
import { ITypeScriptServiceClient } from '../typescriptService'; import { Delayer } from '../utils/async'; import * as languageModeIds from '../utils/languageModeIds'; <ins> import * as fileSchemes from '../utils/fileSchemes'; </ins> interface IDiagnosticRequestor { requestDiagnostic(filepath: string): void;

} if (this.client.apiVersion.has230Features()) { <del> const root = this.client.getWorkspaceRootForResource(this.document.uri); if (root) { args.projectRootPath = root; } </del> <ins> args.projectRootPath = this.client.getWorkspaceRootForResource(this.document.uri); </ins> } if (this.client.apiVersion.has240Features()) {

} public normalizePath(resource: Uri): string | null { <del> if (resource.scheme === fileSchemes.walkThroughSnippet) { return resource.toString(); } if (resource.scheme === fileSchemes.untitled && this._apiVersion.has213Features()) { return resource.toString(); </del> <ins> if (this._apiVersion.has213Features()) { if (resource.scheme === fileSchemes.walkThroughSnippet || resource.scheme === fileSchemes.untitled) { const dirName = path.dirname(resource.path); const fileName = this.inMemoryResourcePrefix + path.basename(resource.path); return resource.with({ path: path.join(dirName, fileName) }).toString(true); } </ins> } if (resource.scheme !== fileSchemes.file) {

return result.replace(new RegExp('' + this.pathSeparator, 'g'), '/'); } <ins> private get inMemoryResourcePrefix(): string { return this._apiVersion.has270Features() ? '^' : ''; } </ins> public asUrl(filepath: string): Uri { <del> if (filepath.startsWith(TypeScriptServiceClient.WALK_THROUGH_SNIPPET_SCHEME_COLON) || (filepath.startsWith(fileSchemes.untitled + ':') && this._apiVersion.has213Features()) ) { return Uri.parse(filepath); </del> <ins> if (this._apiVersion.has213Features()) { if (filepath.startsWith(TypeScriptServiceClient.WALK_THROUGH_SNIPPET_SCHEME_COLON) || (filepath.startsWith(fileSchemes.untitled + ':')) ) { let resource = Uri.parse(filepath); if (this.inMemoryResourcePrefix) { const dirName = path.dirname(resource.path); const fileName = path.basename(resource.path); if (fileName.startsWith(this.inMemoryResourcePrefix)) { resource = resource.with({ path: path.join(dirName, fileName.slice(this.inMemoryResourcePrefix.length)) }); } } return resource; } </ins> } return Uri.file(filepath); }

return root.uri.fsPath; } } <ins> return roots[0].uri.fsPath; </ins> } <del> return roots[0].uri.fsPath; </del> <ins> return undefined; </ins> } public execute(command: string, args: any, expectsResultOrToken?: boolean | CancellationToken): Promise<any> {