How to edit and save files locally straight from the browser using the Workspaces feature?
Most web developers are used to writing code in specialized editors and then switching to the browser to check the results. However, developer tools provide the ability to edit source code directly "on the fly" and save these changes to the real file system of your computer. This feature is called Workspaces, and it significantly speeds up the layout and debugging process for static files without the need for constant project builds.
To set up this feature, go to the Sources tab in the developer panel and select the Filesystem sub-tab. Click the button to add a folder and select the root directory of your project on your hard drive. The browser will request permission to access this directory, which you must then confirm by clicking the permission button at the top of the window.
After successfully connecting the folder, you need to map the network resources of the page to the local files. Right-click any file in the resource tree of the Page tab and select the Map to file system resource option. The developer tools will automatically match the loaded script or stylesheet with its local counterpart from your folder.
Now, any changes you make to the code directly in the developer panel will be instantly written to the file on your computer. You can configure auto-saving, and then the changes will also appear in your version control system. This eliminates the routine of copying code from the console back into the text editor and allows you to focus on solving interface tasks.