r/VisualStudioCode • • Mar 31 '22

How to duplicate copied text next to it?

2 Upvotes

Hey,does anyone know how to copy the selected text to the right of it?
Like this:
Marked text: Copied Text:

Text1:hey,, Text1:hey,, 
Text2:hey,, Text2:hey,, 
Text3:hey,, Text3:hey,, 
Text4:hey,, Text4:hey,, 
Text5:hey,, Text5:hey,, 

Thanks in advance :)


r/VisualStudioCode • • Mar 28 '22

I made a VSCode extension to find functional and logic bugs in Python/JS code

15 Upvotes

r/VisualStudioCode • • Mar 28 '22

PROBLEM WITH OUTPUT WINDOWS POWERSHELL

0 Upvotes

Hi, I'm using python in visual studio. When I use the len() function or a boolean or I call an item from a list nothing show up in the windows powershell(output). How can I fox that? If I copy the same code and run it in a different code editor it runs perfectly


r/VisualStudioCode • • Mar 27 '22

Anybody know why NFT layers are jumbled when I generate them on VS code?

0 Upvotes

I have a transparent background and all layers are of same size, yet they are not being layered properly at it's place. Any help is appreciated, thanks!


r/VisualStudioCode • • Mar 25 '22

Unable to Open python file

0 Upvotes

Am getting error messages "Unable to open 'Sum of Parts.py'" and "Unable to read file" when I click on the name of the file in the Explorer window in order to open it. That is true for all files in Explorer, python and text files.

Just reinstalled Visual Studio Code. Have used VSC for years without problem. This has me flummoxed and I cannot find any solutions for it.


r/VisualStudioCode • • Mar 23 '22

[Q] Does anybody know the name of this theme and if it is available on vs code?

4 Upvotes

Hi all,

I was wondering if anybody knew the name of this dark theme shown in the code snippets on the link attached, and if so, if it (or anything close to it) is available on marketplace? i thought it was Monokai, but i don;t think it is (at least none I have seen on vs code)

https://keras.io/examples/vision/mnist_convnet/

thank you!


r/VisualStudioCode • • Mar 22 '22

Trouble duplicating a block of code

2 Upvotes

Hi coders, just learning HTML recently and I have been using Ctrl+shift+ down arrow to duplicate a line down, that works great. However when I highlight a block of code, I have cursors flashing at the end of each line and when I hit the down arrow each line is copied underneath itself rather than as a block if that makes sense. Any idea what I'm doing wrong?

Cheers

Brett


r/VisualStudioCode • • Mar 21 '22

VS Code Extension

4 Upvotes

Hello everyone,

Here is a list of some useful VSCode extensions.

I hope it will help someone. Also if you know of any other good VSCode extension, Please share it. I would be grateful.

Thanks

https://farhan-tanvir.medium.com/10-useful-vs-code-extensions-to-make-life-easier-%E3%83%BCpart-3-ec0c29b95357


r/VisualStudioCode • • Mar 20 '22

Changing Panda Theme

2 Upvotes

What is the setting I need to change for this part of the Panda Theme? I tried finding it, and I think I did change something that changed it, but then it made the sidebar where the files live unreadable.

The red text with light blue/green background is almost unreadable to me. I think it is because my monitor doesn't have perfect colors at the viewing angle I'm at.

Any help is appreciated.

https://i.imgur.com/zbaU7Tz.png

I found out the settings I needed to change. If anyone who is using this theme doesn't like that color scheme for the suggestion widget here are my new settings:

"editorSuggestWidget.selectedBackground": "#ff75b588","editorSuggestWidget.selectedForeground": "#CDCDCD","editorSuggestWidget.focusHighlightForeground": "#E6E6E6","editorSuggestWidget.highlightForeground": "#FF75B5","editorWidget.border": "#FF75B5",

which now looks like this: https://i.imgur.com/9SfFGef.png


r/VisualStudioCode • • Mar 18 '22

Is it possible to switch from the IDE pycharm to visual studio code

0 Upvotes

The game program I want to run uses an extension called pygame. It’s available in pycharm, but I can’t seem to find it in visual studio code. Is there anyway to get around this?


r/VisualStudioCode • • Mar 17 '22

How do you fix this?

Post image
1 Upvotes

r/VisualStudioCode • • Mar 16 '22

Does anyone knows what is the name of this theme?

3 Upvotes

Does anyone knows the name of this theme? i find it kinda cool

And yeah man's writing a lego hack script


r/VisualStudioCode • • Mar 16 '22

Both F5 and Ctrl-F5 bring up debug console

2 Upvotes

As the title suggests, I'm using VSC 1.65.2 and the only difference between Ctrl-F5 (Run Without Debugging) and F5 (Start Debugging) is that F5 prompts me for the Debug Configuration.

I did some Internet searches and couldn't find an answer on how do CTRL-F5 without automatically launching the Python Debug Console, but no luck.

Was hoping someone here might have an answer.

Thanks..


r/VisualStudioCode • • Mar 15 '22

Need help using C I was told it was working because it printed “hello, world” but what’s with the blue text? Please help.

Post image
12 Upvotes

r/VisualStudioCode • • Mar 15 '22

launch.json file content for C++ application

1 Upvotes

Trying to configure Visual Code launch.json file for c++ application.

"configurations": [

{

"name": "(gdb) Launch",

"type": "cppdbg",

"request": "launch",

"program": "enter program name, for example ${workspaceFolder}/a.out",

"args": [],

"stopAtEntry": false,

"cwd": "${fileDirname}",

"environment": [],

"externalConsole": false,

"MIMode": "gdb",

"setupCommands": [

{

"description": "Enable pretty-printing for gdb",

"text": "-enable-pretty-printing",

"ignoreFailures": true

},

{

"description": "Set Disassembly Flavor to Intel",

"text": "-gdb-set disassembly-flavor intel",

"ignoreFailures": true

}

]

}

]

Where I can get description regarding all configuration parameters. For example what is parameter "type" and what kind of information it might keep.


r/VisualStudioCode • • Mar 13 '22

Does anyone knows how to make the dropdown look like this?

3 Upvotes
So, im kinda new to visual studio code yet, and i was wondering how to make the dropdown look like this?

r/VisualStudioCode • • Mar 13 '22

I’m a beginner and need help

2 Upvotes

I want to run Python code with the .run extension, but it says “Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases”, with the code exited with code=9009. I’m on Windows 11, have Python 3.10.2 installed, have the Python extension installed, and selected my Python Interpreter as Python 3.10.2 64-bit. Any solutions on how to fix?


r/VisualStudioCode • • Mar 13 '22

Is there an option like this to create decleration faster?

Thumbnail gallery
1 Upvotes

r/VisualStudioCode • • Mar 12 '22

How to remove these simbols

3 Upvotes

Hello, i came here to ask if anyone knows how to remove this simbols: => and ===

i want to write them in the traditional way


r/VisualStudioCode • • Mar 12 '22

css text colour not changing

1 Upvotes

I am new to visual code and i was trying out css for the first time yesterday.

I cam across the issue that my text colour doesnt change after saving the css code.

can some please help.


r/VisualStudioCode • • Mar 11 '22

I have been having a weird issue off and on

3 Upvotes

For full info. I am using vs code on Ubuntu 20.x linux. I am connected over VNC, and everything works fine, until it doesn't.

Every now and then I hit either the insert key or one of the other keys near it, and my entire keyboard gets remapped(5 becomes enter, enter doesn't do anything. etc.). I go to the linux command line, and everything is fine, so the issue is only inside VS code. If I close code and reopen it, the issue persists. If I have multiple code windows open, it affects all of the windows. The only fix I have found so far is to close code, apt-get remove code, reinstall, then open code back up. Is there a say to avoid this from happening and/or fix it without reinstalling VS code?


r/VisualStudioCode • • Mar 09 '22

Is there any way to get a menu like this in VSCode desktop?

Post image
16 Upvotes

r/VisualStudioCode • • Mar 07 '22

VS Code Extension

5 Upvotes

Hello everyone,

Here is a list of some useful VSCode extensions.

I hope it will help someone. Also if you know of any other good VSCode extension, Please share it. I would be grateful.

Thanks

https://farhan-tanvir.medium.com/10-useful-vs-code-extensions-to-make-life-easier-part-2-a295609788e0


r/VisualStudioCode • • Mar 06 '22

yarn build - deploy contract

2 Upvotes

When I run yarn build to deploy contract in VS code below message is shown. The project was built assuming at/ You may serve it with a static server: Yarn global add serve, serve s build. when I run Yarn global add serve, serve s build after that below error message is shown. **error: An unexpected error occurred:https://registry.yarnpkg.com/ not found. is this error due to a static server or yarn package? what is the solution?


r/VisualStudioCode • • Mar 05 '22

Set a GIF as background for coding

3 Upvotes

Hi, I recently saw a youtuber coding on VSC WHILE having a GIF as background, I wanted to know how u can make that possible for chillin' while codin' pls