New answers tagged

0

Windows/WSL users, in the VSCode settings.json file I added "-l" to the "args" property which is now listed under terminal.integrated.profiles.linux/bash: "terminal.integrated.profiles.linux": { "bash": { "path": "bash", "args": [ "-...


0

There is an open issue for this. As suggested by @mattb in the comment, dt: is a good enough workaround for deleting the rest of a python if statement line.


0

This might not count as an answer, but the reason that VSCode is picking up the ctrl is because of the keyboard.dispatch setting, this answer has more information https://stackoverflow.com/questions/48143069/vscode-remap-capslock


0

You can add in you setting.json the next lines: "jest.shell": "/bin/zsh", "jest.jestCommandLine": "source ~/.zshrc && nvm use 14.15 && yarn test", that works if you're using zsh


0

Answering my own question... I looked over a few of the "Turn it off always" websites and settled on this one Our Code World - disable auto completion. As I said in my original question, I don't want it off all the time, I want a way to toggle it on and off. But I had hope based on the fact that the link shows the JSON content necessary rather ...


0

Unfortunately, you can't with VS Code fluently. But easily can with Atom or Theia. Theia is VS Code fork by Eclipse foundation. It's pretty the same as VS Code with minor changes. One of the changes is the ability to select working repo with a dropdown menu, like in Atom. As one of VS Code contributes says, VS Code Git working design is a feature, so very ...


1

I have found that you can do ctrl + shift + p and select Python: Restart language server.


0

You can try using this extension. https://marketplace.visualstudio.com/items?itemName=yo1dog.cursor-align


0

Dear all and dear @Daniel B I have deleted my old post and now I would like to answer my own question. Thanks to a friend I found out that the problem was that vs code server brought some precompiled node modules with it. In this case they were compiled for node version 14. But I had compiled version 16.(something). I did not know that this was a problem. ...


Top 50 recent answers are included