Prevent VSCode from putting stream methods after eachother for Java
The Java plugin for Visual Studio Code has some annoying formatting when putting multiple methods after each other. It likes to format my code like this.Item item = items.stream().filter(m ->...
View ArticleVSCode in WSL: how to sudo a root file so I can edit it
WSL v.1 -- VSCode v1.40.1 (using 'Remote - WSL' extension 40.3)How to open a root-owned file for edit using sudo and VSCode?If I open a root file without sudo, I can't edit it (expected): $ code...
View ArticleWhy does vscode delete golang source on save
why can't save these line of code in vscode with golang extensionpackage app import ( "fmt" ) //this is just func func TestingHello(){ fmt.Println("Hissssss") } only the package app stays and remaining...
View ArticleHow to set the background color of the Find current line?
I successfully set the background color of the current line of the editor :{ "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe", "atomKeymap.promptV3Features": true,...
View ArticleVisual studio code cmd error: Cannot be loaded because running scripts is...
Inside of visual studio code, I'm trying to execute a script.bat from the command line, but I'm getting the following error:File C:\Theses_Repo\train-cnn\environment\Scripts\activate.ps1 cannot be...
View ArticleHow to make VS Code read Python imports without displaying yellow squigglies?
I've fiddled with a problem, and have not been able to find a solution. VS Code will not recognize module imports, and thus put a yellow squiggly line under the functions, like this:These are on every...
View ArticleProblems with libpcap - segmentation fault
I'm having problems with the libpcap function "pcap_findalldevs". The problem is when I run the code is gives a "segmentation fault". The code is:int listDevices() { int res = -1; int count = 1;...
View ArticleCurrent working directory for jupyter notebook sets to temp folder in vscode
I'm trying to set current working directory (CWD) to edited file location for Jupyter Notebook in VS Code. I use ${fileDirname} in python.dataScience.notebookFileRoot setting. However it uses temporary...
View ArticleIntellisense (VS Code) for Unity not working in Linux, requires .NET Dev Pack...
I've recently installed Unity 2019.2.12f1 on my Linux Cinnamon 19.2 machine, and got Visual Studio Code purely for the Intellisense feature. However, as with all Microsoft products, something went...
View ArticleVisual Studio Code (Python) - 'NoneType' object has no attribute 'write'
I searched all the internet for a solution and didn't find it.Well, i recently installed Anaconda Package, and the VS Code with all the required extensions, but like in every language i tried to run...
View ArticleVSCode Extension API - Can we add conditional context menus in Visual Studio...
I am developing an extension that contains a context menu on the explorer. I need to show these items based on a condition which involves complex logic. Is there a way I can achieve this?
View ArticleVSCODE : Disable HTML Auto Closing Tags only for Javascript files
I'm using VSCODE to program my web apps using JQuery and when I want to work with divs and for example when I want to make a new div in JQuery, I write :$('<div> But VSCODE close instantly this...
View ArticleHow to create a directory in Visual Studio Code tasks.json in windows?
I'm trying to write a task to create a directory using Visual studio Code tasks (in tasks.json) for windows users using the mkdir command, it's working well except when the folder already exists....
View ArticleHow to add react dev tools to chrome when debugging in vscode
when debugging in vscode in "launch chrome" mode, raises a nice and clean chrome instance, without any extension installed. It is good, but in some cases I need react-dev-tools extension and have to...
View ArticleHow to disable horizontal scroll in visual studio code?
When I scroll with the touch pad with two fingers in Visual Studio Code, I often scroll to the sides a little by accident. This is a bit annoying. I'd be happy to have it scroll only up and down.
View ArticleXDebugError: command is not available in Vs Code [closed]
While Debugging my Code with Xdebug and Vs code the following error is shown in the debug window XDebugError: command is not available at new Response...
View ArticleVisual Studio Code URL links
We have installed VS Code on a server which has very restricted internet access. When attempting to open VS Code it hangs, resulting in a 'not responding' message.I suspect VS Code requires internet...
View ArticleVisual Studio Code - Now approved by iOS... How to install? [duplicate]
This question already has an answer here:Visual Studio Code can't be opened because “Apple cannot check it for malicious software” 2 answersiOS report "Visual Studio Code can not open as Apple can't...
View ArticleExcluding files from auto save (autoSave), in Visual Studio Code
I have just picked up the Visual Studio Code, and am not very familiar with how the settings should actually be. I have been trying to exclude a file type from Auto Save but I am not able to get this...
View ArticleVisual Studio Code Remote SSH uses Windows username instead of username in...
I'm using Visual Studio Code on Windows 7, along with Microsoft's Remote SSH extension. I added new remote host, and saved configuration in ssh_config file.When I open that file, everything looks ok,...
View Article