I just started using vscode and my files in the same directory wont import to files in the same directory. For example when I link to css or javascript files from an html file, they aren't read and the websits opens without the functions in the javascript file operating and same goes for the css file. When I imported flask forms from a file to my main flask application page in python, it wouldn't work and I would get the error, 'no module named 'flaskform'.
What settings configurations am I missing for vscode?
If you are using the debugger make sure it uses the correct working directory.
To use the current folder as the debugger working directory you can create a config file like described here.
In this file you can add "cwd": "${fileDirname}"
This works for Python debugging:
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"cwd": "${fileDirname}"
}
]