Skip to content

Tag: visual-studio-code

VSCode not using test database for Django tests

I’ve got an issue where VSCode’s test feature uses the production database instead of creating a test database. tests.py I have previously created 1 instance of SomeModel, so if you do SomeModel.objects.all() in the shell, it returns a queryset with that one instance. If I run this test from vscod…

R not attached in VS Code on Win10

I am recently switching from RStudio to VS Code. I have installed R extension in VS Code, but when I open VS Code and R terminal, R cannot be loaded. I followed coip’s method but still cannot get R loaded: ############################################################################## I followed coip&#82…