When you add two folders to the VS Code workspace as follows,
workspace
- - - - -
├ project
│ ssample.html
└ img
└ sample.png
I would like to make sample.html recognize the img folder as if it were under the project folder so that it can access the files in the img folder as follows.
<img src=="img/sample.png">
Are there any workspace settings like this?
html vscode
I can't.Editor settings should not affect HTML semantics.HTML files with the same content may be handled by different editors, and web browsers render HTML files to pages regardless of the editor.
It would be better to forget about the editor and try to find out if you can do what you want with the features of the web and the file system, and then think about whether you can reflect the settings in the editor.If you have any questions about this, please post a new question explaining how your page is organized and what you want to do.
589 PHP ssh2_scp_send fails to send files as intended
944 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
583 Understanding How to Configure Google API Key
583 Who developed the "avformat-59.dll" that comes with FFmpeg?
646 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2024 OneMinuteCode. All rights reserved.