I saved not compiling file in docker container
I work with visual studio code and Docker. I am using VSC to changing my codebase inside in Docker container. Unfortunately I saved not compiling file in my Docker container and I can not start it. I...
View ArticleOpen code editor using Bash in Cloud Shell to edit files stored in Azure...
I'm using VS Code and I'm logged in to my azure account using Bash in Cloud Shell.Once I'm in the storage directory, I want to open and code some of those files and for that, I type the command "code...
View ArticleHow to open a remote folder from command line in VS Code?
I can start VS Code to open a local folder using code /path/to/folder. Is it possible to open a folder on a remote machine (via the Remote SSH extension) by specifying the machine and folder on the...
View ArticleVisual Studio Code always asking for git credentials
I started using Visual Studio Code, and I was trying to save my test project into GitHub, but Visual Studio Code is always asking for my GitHub credentials.I have installed in my PC GitHub Desktop and...
View ArticleWhat is the purpose of the .angulardoc.json file in an angular project?
I have been generating new Angular projects before now and I have never seen an .angulardoc.json file in the folder in which I generated my Angular project.Recently, I upgraded my angular Cli to the...
View ArticleIs the Visual Studio Sync function synching my repo to upstream or fork?
I a contribute to an open source project on github and i am using visual studio with a forked repo on my github account of the original code. My question is that in visual studio i get a prompt to...
View ArticleHow to quickly change shell folder to match the currently open file
With single file opened in vscode, when I open integrated Powershell it always starts in my $HOME folder. Is there any way to quickly switch to the directory of the currently shown file without having...
View ArticleVSCode throws error when setting PATH environment variable in devcontainer.json
I have the following devcontainer.json file in a project.When I try to open VSCode in a container, it crashes. The container builds successfully, but the following logs are emitted during startup. When...
View ArticleHow to create workspace input via VSCode extension api
I want to create an input in workspace, like command explorer.newFile, but don't create file, just get the input value. Has some extension api to do it? Thanks.
View Articlevscode auto indent left when used curly braces inside of quotation marks
I'm using laravel php framework and its templating engine is a blade which requires {{ }}. So when I write the curly braces inside of quotation marks "" vscode it autoindents to left.<div...
View ArticleMysql PDO/MySqli Connect From Linux Host
My DataBase host and my website host are not the same.I have created a few web apps on .NET with a web.config or app.config file where I could easily set a machinekey for the mysql connection on a...
View ArticleHow can I execute a java program without a main method with VSCode?
I want to debug a java program without a main method using selenide tools. I can run the program from command line without any problem but when I try to debug it with VSCode, it outputsThe file...
View ArticleUsing a node server with sqlite3 in a VS Code extension
I have a question about making a VS Code extension that uses sqlite. I would like the VS Code extension (that uses sqlite) to run on different platforms, win/mac/linux.I am working on a simple node...
View ArticleVSCode - Is there any option to replace any form of text within single quotes...
I have a very long sql queryupdate emplyee_table SET name = 'abc',age='25',address='stackoverflow' WHERE id = 10 I want the above query to get replaced like this by any vscode operation.update...
View ArticleHow to use yapf in VSCode
I installed yapf using:conda install yapf and add next lines in my .vscode/settings.json file:{ //"python.linting.pylintEnabled": true, //"python.linting.pycodestyleEnabled": false,...
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 ArticleUnable to find the TF executable while adding tfs to VSCode
I am adding TFS to Visual Studio Code IDE(1.42.0) for that I have installed Azure Repos extension. In VS code at File-->Preference-->Setting-->Tfvc:Location, when I am entering path C:\Program...
View ArticleVS Code closes independent child process
I'm writing an extension for VS Code. That extension spawns an child process at startup:var child = cp.spawn('notepad', [], { detached: true, stdio: 'ignore' }); child.unref(); (notepad for testing)So...
View ArticleHow to programmatically make a TreeView visible
I'm trying to make a TreeView visible programmatically. The TreeView is empty.I tried to call TreeView.reveal with a dummy TreeNode but it remains not visible. The only other method available on...
View ArticleUnable to swtich tmux pane with alt+arrow in vscode
I am a tmux user and personally perfer switch pane with alt+arrow. However, in vscode, it does not work. Even I tried removing the default keybinding in prevent of overlapping.I tried binding to...
View Article