vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Support ChromeOS folder type for vscode.dev (FileSystemObserver API)

Open tmpmachine opened this issue 9 months ago • 0 comments

I mainly use vscode.dev on my chromebook. I notice that changes made outside the web editor did not reflect right away, not until I focus back to the editor, e.g. switch to another tab and back.

I suspect that the FileSystemObserver API fails to watch the root directory for ChromeOS folder because it has a different file type compared to Windows. I assume it should be possible to make a case to handle folder type for ChromeOS.

This is what's logged to the console when I open the recent folder in the insiders version:

ERR [File Watcher ('FileSystemObserver')] Error: NotSupportedError: Failed to execute 'observe' on 'FileSystemObserver': The implementation did not support the requested type of object or operation. (file:///...)

Image

Image

tmpmachine avatar Mar 07 '25 14:03 tmpmachine