Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome "Drop workspace folder here"

While developing some JavaScript using Chrome 38.0.2125.122 m Developer Tools, I clicked on an error in the JavaScript console and was met with the following message:

Drop workspace folder here

Drop workspace folder here

Why isn't Chrome taking me to the offending line on the offending file, as usual? What is a workspace folder? What am I expected to do?

like image 428
Jeromy French Avatar asked Dec 30 '14 16:12

Jeromy French


2 Answers

Seems like it is another way to add a workspace to the DevTools (another way of doing this: https://developer.chrome.com/devtools/docs/workspaces#). It happened for me when I dragged a file to an open browser page and the file was accidentally dragged over the open DevTools. If you want this to go away you can drag and drop a dummy file. This way there is no need to restart Chrome.

like image 129
Alexandra Shapilov Avatar answered Nov 18 '22 04:11

Alexandra Shapilov


This happens in recent versions of Opera browser too.

For me it happens when I drag a file or folder over any part of the dev panel, even while it is behind other programs or folders.

The prompt does not always stick, but when it does, dragging any file off my desktop back over the dev panel usually un-sticks it. It doesn't seem necessary to drop the file in the prompted area, but that works too.

In addition to Alexandra's answer link, there're discussions on the GoogleChrome git pages discussing 'workspaces'.. personally I don't use it, I prefer a full editor.

like image 42
ryansstack Avatar answered Nov 18 '22 04:11

ryansstack