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

How to enable "too-many-locals" Pylint message in VS Code?

I cleaned up my code so that it passed linting in Visual Studio Code with the following settings:"python.linting.pylintEnabled": true, "python.linting.pylintUseMinimalCheckers": false, Then I ran...

View Article


Replace line breaks

I am using visual studio code for several things. Everything is working fine, but I cannot get one specific thing to work.I need the ability to remove line breaks from the text.Example:first line...

View Article


Somewhat new to programming - uploading a lot of programming related files to...

I have been programming almost daily since earlier this year, and I have noticed a large amount of files being downloaded and uploaded in my gui. I believe that it is related to all of my code work...

View Article

Possible to create a VS Code Keyboard Shortcut for Comment at End of Line?

Is there a way to create a keyboard shortcut in VS Code where I can begin a comment ( creating opening and closing comment brackets if applicable ) at the end of a line of code? - like...

View Article

SSH login gives different values for $PATH

I am logging to the same Ubuntu server using the same username and key file.When I login via Putty the $PATH variable looks like this:echo $PATH...

View Article


Turn multiline selection into multi cursor selection in VSCode

It happens from time to time that I need to edit 100+ lines in a text file all at once.I know I can use ⌘ Cmd+↑/↓ to select multiple lines but depending on the size of the file that takes a while.In...

View Article

Image may be NSFW.
Clik here to view.

How to prevent autoformatting in vscode for javascript and babel?

I am using Babel and Javascript es7, trying to create a Hapi server, but when I try to save the file, it does an auto-format, and the async keyword joins it with the anonymous function:Anyone have any...

View Article

Renaming a variable in a Python code in MS VS Code

I have defined a variable T_0 at the top of a python code, and want to change this variable by F2 of MS VS Code.T_0 = 10 T_1 = T_0 + 1 print(T_1) But first, I got an error message Refactoring library...

View Article


separate folder viewing in Visual Studio Code - Explorer [duplicate]

This question already has an answer here:Is there a way to unify single-folder folders in vs code? 1 answerGiven folders directory:> zSimple > folderA > folderB > folderTemp >...

View Article


Image may be NSFW.
Clik here to view.

Removing the file preview on the right side of the editor in VS Code

This beauty appeared after a recent update, and it is very distracting to me.I searched through the menus, but didn't find any setting to remove it. Is there any way to banish it from the editor?

View Article

How to toggle between split layout with multiple editors and just one editor...

After working in a multiple column layout it is nice to be able to focus on one file momentarily using the entire application space. Then, returning to a column view.In Slick-Edit this is Window / Zoom...

View Article

Why do I get error 'File does not contain a valid CIL image' when debugging...

I'm running Visual Studio Code on Max OS X and constantly seeing this error. Works fine when I run directly from Terminal using dnx .run Any suggestions on how I can fix this? Error Trace from Terminal...

View Article

Image may be NSFW.
Clik here to view.

How do I save the layout of visual studio code?

I started using Visual Studio Code but I have one problem with it. I would like to always show the terminal below and never show "Open editors" in the explorer view. Now everytime I open a new folder I...

View Article


NPM ERROR! Deployed ionic app on to heroku however not able to view it, it...

2019-12-31T00:55:15.975348+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 2019-12-31T00:55:15.980947+00:00 app[web.1]:...

View Article

How to open folders in VSCode via Terminal in a fresh state?

It appears that VSCode always opens a folder in with the last UI state it had.I'm looking for something like Sublime's remember_open_files: false, or in other words, I would like VSCode to open up with...

View Article


How to pick only one data from set of data from file.ts in other file while i...

I have a file which is Data.tsexport const hardshipTestData = { scenarios: { CorrectCreds: { username: 'xyz', password: 'abc'}, Wrongusername : { username: 'qwe', password: 'as' }, Wrongpassword: {...

View Article

Intellisense doesn't detect symbols from included files.VSCode CLang C++

#include <iostream> int main() { std::cout << "Hello world!"<< std::endl; return 0; } Clang compiler compiles this code and gives normal executable files that I can run and see "Hello...

View Article


Select all occurrences of selected word in VSCode

Are there any trick or extension to select all instances of selected word in visual studio code, to facilitate editing or deleting those instances without search and replace, like ِAlt+F3 in sublime text

View Article

How to run PHP with vscode [closed]

I'm new to web dev and I'm trying to run a simple html form that redirects to a thank you message on a php page. However, nothing I do seems to work. I always get an error of page not working (http...

View Article

Opening my website without VS Code live server only shows a plain blank...

I have this problem that when i do not open my website through the help of VS Code, the website appears blank. Opening the main pageWhen opened, it shows nothing but a blank page

View Article
Browsing all 97313 articles
Browse latest View live


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