Is there another step to importing Pytorch and using it?
I'm trying to test Pytorch but the first step is to get it running and usable on my computer. I have it to an extent but I need it to function in VS code which it does, it's just that it reads as an...
View ArticleAdd Custom python.pythonPath to List of Interpreters
I want to use a custom python interpreter, which you can do by adding to python.pythonPath, as seen in the image below. However, I thought that there would be an option so that I could add an...
View Articlefatal error: 'wchar.h' file not found #include_next . error with visual...
I keep getting errors in VSC on programs which work in my IDE Clion. I now tried building a simple program and it still causes errors. Using Mac.error:...
View ArticleDev Container is not starting in VSCode
Hi Guys I'm trying to open the dev container from https://github.com/microsoft/vscode-remote-try-cpp and I get an error message when creating it.It is also saying that this command is...
View Articlevscode typescript intellisense not working for evernote
I've installed https://www.npmjs.com/package/@types/evernote to my project to get evernote types definition.When I import Evernote as followimport { Evernote } from 'evernote'; const client = new...
View ArticleVSCode nested snippets
I'm wondering if I can refer to another snippet within a snippet in VSCode user defined snippet.Say I have"Test1": { "prefix": "snippet_test1", "body": "something" } and is there a way to insert...
View ArticleHow to setup VS Code to not unfold automatically?
I try to keep my VS Code functions folded. But it looks like it auto unfolds every time I reopen the project. Is there a way to keep my functions folded?Looking online, this issue occurs when you have...
View ArticleHow to exclude files from "format on save" in VSCode?
Currently in VSCode settings you can configure format on save as following: "editor.formatOnSave": true I want to exclude some file extensions, for example only format JavaScript but not HTML files.
View ArticleAm I understanding this VS Code API behavior correctly? Non-default *object*...
I'm working on a VS Code Extension, and I think maybe I'm missing something in the docs, or else the behavior I'm seeing just isn't specified there, and my assumptions are wrong...? I've defined some...
View ArticleHow to integrate exist project with jsconfig
I was about to integrate jsconfig.json with my existing project for benefitting from its baseurl option.As the template showed by vs-code,I added a jsconfig.json to my client folder(which has its own...
View ArticleHow to switch text case in visual studio code
How does one switch the case of highlighted text in Visual Studio Code? VS allows this via CTRL+SHIFT+U and CTRL+U. Is there a command binding that I can set up to do this, or is it by default some...
View ArticleHow to change VisualStudioCode comment color with it's slashes?
I added this code to my setting.json"editor.tokenColorCustomizations": { "comments": "#00ff00" } But It doesn't change the color for slashes as you can see the below screenshot. It remains still...
View ArticleChange color of characters surrounding comments in VS Code
how can I change the color of the characters that come before and after a comment in vs code. Im Talking about or /* */ or # characters. I know how to change the comment color How do I change color of...
View ArticleVs code blank terminal problem, can't enter anything
I'm user using Visual Studio code. A few days ago, I've gone through some problems. It's about "blank terminal". I'm not sure what trigger this problem. I guess it's related with vs code updated 1.39...
View Articlehow to have vs code's typescript extension apply to files with non-typescript...
I was wondering how I can use the built-in typescript extension apply to files with file extension .foo as if they were .tsx
View ArticleHow to write automated tests for VS Code themes
I'm developing a VS Code theme and I would like to setup some form of automated tests to prevent unindented regressions when making updates to the theme. I have developed another theme in the past and...
View ArticleVisual Studio Code can't be opened because "Apple cannot check it for...
I have downloaded Visual Studio Code for the first time but I keep getting message below:"Visual Studio Code" can't be opened because Apple cannot check it for malicious software. This software needs...
View ArticleCondaHTTPError in VSCode - Failure in installing Linter
Unable to install linter in VSCode and in turn run any Python code I have tried installing openssl. I have tried it with multiple different GitHub project repos. I have also tried it with Pycharm. It...
View ArticleVisual Studio Code debugger with Chrome refused to connect to localhost
I've tried several suggestions on other posts to no avail.I have a 9 month old project that no longer shows in the browser from F5 debugging in vs code. I set up a brand new simple project with an...
View ArticleWhat is causing VS Code to scan every PHP file in a workspace?
When opening any PHP-based workspace in Visual Studio Code, I'm getting EMFILE: too many open files errors for every PHP file in the included directories. This happens right as the window loads the...
View Article