Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Browsing all 97327 articles
Browse latest View live
↧

Can I set the VS Code default EOL based on file type?

Working with .sh files on Windows causes issues when running them in Linux Docker containers if they have EOL of CRLF. Can I make VS Code always work with LF for specific file type such as .sh while...

View Article


Image may be NSFW.
Clik here to view.

How to make Visual Studio Code tabs behave like expected ? (web navigator..ect)

i find the current way of handling new tabs/windows really frustrating in visual studio code.tabs should behave like chrome or any other navigator like the gif belowis it possible to do this in VS Code ?

View Article


Image may be NSFW.
Clik here to view.

Visual Studio Code compiles with npm, node.js but does not show GUI...

I just successfully installed npm 6.12, Node.js version 12.13 on my Ubuntu 19.04. I also successfully compiled a project using Visual Studio Code. It is my first time using VS and I have been trying to...

View Article

Google Styleguide Java Format for VSCode

Is there a good extension or proven methodology to automatically format Java code in VSCode to adhere to Google's Java Styleguide? Nothing from the list of links below seems to work for my set-up. I...

View Article

Pylint "unresolved import" error in visual studio code

I am using the following setupMacOS MojavePython 3.7.1Visual Studio Code 1.30Pylint 2.2.2Django 2.1.4I want to use linting to make my life a bit easier in visual studio code however, every import i...

View Article


Cannot download Pillow in Django VSCode project (Windows)

I'm going through Django 2.2 course with Windows / VSCode / Anaconda setup. I've tried to use both Python 3.6 and 3.7 interpreters and tried to download Pillow with commands such as:pip install...

View Article

Setting up devcontainer.json as non-root user in VSCode

I'm trying to setup VSCode for remote development with docker container, but keep having permission issues when trying to install vscode-server inside the container.Setting up container for folder or...

View Article

Image may be NSFW.
Clik here to view.

js 'types' can only be used in a .ts file - Visual Studio Code using @ts-check

I am starting to use TypeScript in a Node project I am working on in Visual Studio Code. I wanted to follow the "opt-in" strategy, similar to Flow. Therefore I put // @ts-check at the top of my .js...

View Article


Visual Studio Code wont run code and gives no error message

So when running any code, no matter the language visual studio ignores the code and just doesn't run. all i see is it skips to the next line in the terminal and gives no output. Not even something like...

View Article


How to remove the file extension using a snippet variable. List of snippet...

I use vscode.I want to use costum snippets, but {TM_FILENAME} has an extension name.How can I delete the extension from {TM_FILENAME}?like this:`In file MyModule.js:Transform:...

View Article

Image may be NSFW.
Clik here to view.

vs code can't replace using regex group references under PCRE2 mode

I'm trying to replace my std stl usage to EASTL and since i have a lot of cpp/h files, i'm relying in 'Search in Files' option of vs-code, with the following pattern:((?<=#include...

View Article

Integrated terminal in visual studio code is opening externally and not...

I have reinstalled Visual Studio Code and for some reason, when I do the Ctrl+Shift+` shortcut, instead of opening a terminal window inside VS Code, it's opening an external command window, which is...

View Article

Image may be NSFW.
Clik here to view.

Visual studio code is not showing the ouput of python

I am really new to Python and just started the course "Python 3 basics by Sendtex (Link: https://www.youtube.com/channel/UCfzlCWGWYyIQ0aLC5w48gBQ)".I am trying to use Python with Visual Studio Code.The...

View Article


Image may be NSFW.
Clik here to view.

vs code cannot find module '@angular/core' or any other modules

my project was generated with [Angular CLI] version 1.2.6.I can compile the project and it works fine, but I always get error in vs code telling me cannot find module '@angular/core' cannot find module...

View Article

How to execute a VisualStudioCode extension in command line?

I want to export a markdown document to PDF using the "Markdown PDF" extension in VisualStudioCode per command line. Is it possible? How to do it?

View Article


Add an extension to an existing extension.js in visual studio code

I want to add an extension(for e.g. Docker extension) to my existing extension and repackage it as one single extension.

View Article

Updating OmniSharp extension

My C# for Visual Studio Code extension is at 1.21.5. How do I update it to the latest 1.34.4?There is a Disable button and an Uninstall button, but I can't find an option to perform an update.The Check...

View Article


Selectively surpress VSCode warnings/errors that are not relevant in deloyment

I'm working on a project in which one of the .py files is spun up in a container (Worker.py). This file imports from other .py files in the project which are appended to the system path so that it all...

View Article

Image may be NSFW.
Clik here to view.

Stop -Wall -Wextra popup so that a user can compile a program without having...

I am trying to learn C++ using VS code in Ubuntu 19.10. I use two C/C++ extensions for this. Now the problem is I have to click the screen twice in order to view the terminal output. Its really getting...

View Article

How to get folderpath name of currently opened file in visual studio code

I have opened multiple angular projects in visual studio code and i am trying to get cuttenlty opened file's project folder path inside my extension. But I am not getting the correct path . Anyone know...

View Article
Browsing all 97327 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>