Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

282
Visualizações
Files don't import in vscode

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?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

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}"
    }
]
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda