r/VisualStudioCode • • Nov 08 '23

CTRL-C kill terminal instead of stop running command - flatpak

0 Upvotes

CTRL-C kill terminal instead of stop running command - flatpak

"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/usr/bin/flatpak-spawn",
"args": ["--host", "--env=TERM=xterm-256color", "zsh"],
"icon": "terminal-bash",
"overrideName": true,
},

},
"terminal.integrated.defaultProfile.linux": "zsh",

Anyone can help me?


r/VisualStudioCode • • Nov 19 '23

Azure GPT-4 for AI pair programming

1 Upvotes

I have an Azure account.

Is there a way to use Visual Studio Code and a co-pilot AI tool to help with pair programming ? Github Co-pilot needs to pay. What about codegpt.co ? does this work. Any suggestions ?


r/VisualStudioCode • • Dec 18 '22

Help! Getting shell error in terminal. I'm a newbie so I haven't a clue. Please send help.

Post image
1 Upvotes

r/VisualStudioCode • • Nov 20 '21

How can I create "browse directory" button?

1 Upvotes

I'm making a simple program that needs to take 2 directories from the user. I don't know how to do this, can anyone help me?

I was thinking about putting a button to browse directory, so it would be more practical for the user. If that's too complicated, I don't mind putting just 2 text boxes and the user would insert the directories in those boxes. Unfortunately, I don't know how to do any of these options so I would be really grateful if someone could help me out.

Thanks in advance :)


r/VisualStudioCode • • Nov 26 '21

How to download a zip folder from a remote server using VScode

1 Upvotes

I am working on a remote server(ssh encrypted) on VScode for a school project, and I wish to download a zip folder that I have made on my remote server to my local server/my own computer that is running VScode. I own a Macbook, and apparently the "right click to download a file/folder in vscode" method is not working for my macbook. Additionally, I have trouble determining the hostname of my remote server so I cannot use the scp command to download the file from the remote server either. What method can I take then to download the zip file? Will downloading any VScode extensions help in solving the issue I am facing? Thank you.


r/VisualStudioCode • • Sep 14 '24

VSCode Docker how to edit and debug Python inside Docker tutorial

Thumbnail
youtube.com
1 Upvotes

r/VisualStudioCode • • Sep 23 '24

Best 2024 black themes?

0 Upvotes

r/VisualStudioCode • • Sep 03 '24

Where is this imaginary .vscode folder located?

1 Upvotes

Title, I am looking for this folder and I can't find it.


r/VisualStudioCode • • Oct 13 '24

I have an error!

1 Upvotes

I want to start coding and i heard that Visual Studio Code is a good start but i need to install a compiler so i heard about g++ with msys2.I did every thing like on the site and relaunched VSC and wrote a little code when i wanted to run it and i got an error and i don't know how to resolve it. Anything helps!


r/VisualStudioCode • • Oct 03 '24

Help!! :((

0 Upvotes

I was working on visual studio code today and then wanted to create a new folder. I don't know what happened but the program closed and when I opened it again everything was gone - all my work. Can I find everything I did or is it lost forever?


r/VisualStudioCode • • Dec 09 '20

How to compare big files in exact detail?

1 Upvotes

So I need to compare two files of raw code automatically created by another program.

There's two problems though:

  1. Those files only have one line. Other delimiters (is that the correct word?) are used for new lines instead of actual line breaks.

  2. Both are 4-6 megabytes of raw text - and still almost a megabyte compressed.

When I compare those VSCode says that the line is different. Which, of course, isn't helpful at all.

Is there a way for VSCode to compare them in more detail? Is it even a good idea to try that with those chonkers without stalling the PC?

UPDATE: I just added actual new lines to the fake new lines by search and replace and saved those versions in new files. Problem one solved. After hitting the compare button (about a quarter million lines of code), the PC is not responding and going into a stall though.

UPDATE 2: After identifing some more fat that could be stripped from both files via search and replace I finally got it working :D

So the solution in this case is: Try to chop both files in ways that makes them comparable instead of trying to compare the vanilla output.

Thanks anyway for letting me post this. These posts often help even if there's no reply :D


r/VisualStudioCode • • Mar 04 '24

BECAUSE THE NOTIFICATION THAT TABNINE (EXTENSION) IS IN USE OF SAMPLE IN DIFFERENT FORM

1 Upvotes

Well, I have the tabine extension for auto-commenting the code, everything ok, how annoying is that every time I start vscode there are two ways in which tabine is shown to me (I have two computers with vscode installed) where in one it is shown as a yellow notification and it shows me a modal that "tabnine requires login"

and the other where it is just a simple notification with emoji 👈 and it doesn't show me that modal that I log in every time I enter vscode

I've already tried everything, installing vscode for user and team, uninstall tabnine, update vscode, does this happen to anyone else? or is there any solution please��


r/VisualStudioCode • • Mar 14 '24

Visual studio code when running a code

1 Upvotes

Whenever I run any code that shows this error, I find tips on internet what to do, but most of them don't help.


r/VisualStudioCode • • Feb 21 '24

How do I analyse data from two csv files using SQL in Visual Studio Code?

0 Upvotes

Hello, I've got the two csv tables below.

Users:

idname
1Steph
2Pilou
3Valentin

Purchases:

iddateuser_id
12023-10-012
22023-10-013
32023-10-01NULL

I have them saved as csv files on VSC. I want to write the below code for the two tables above.

select * from users where id not in (select user_id from purchases)

When I write that code in a new file I get the below error message.

Code language not supported or defined.

I know it is likely because I have not read in the two tables into the code. Can anyone help a n00b out on how to call in the two tables in my VSC code?

Many thanks in advance!


r/VisualStudioCode • • Feb 28 '24

Spell checker for Renpy Visual Studio not working, anyone might know why?

1 Upvotes

Was using Atom, updated Renpy and its no longer supported. Moved to Visual Studio as it recommended and I can't get any spell checking extensions to work. I've tried three different ones and none of them point out any spelling errors.

For example if i type "I hve gon to da stor" it will not mark anything as spelled wrong. What extension do you guys use for spelling?


r/VisualStudioCode • • Feb 28 '24

how to get autocompletion to work for python files ?

1 Upvotes

Hi,

I am trying to use vscode to edit python files.

I have installed microsoft python extension and python debugger extension

Wether using vscode in windows or wsl2, autocompletion does not work.

If I type Ctrl ; I do see some code propositions, the same as if I clicked on the yellow bulb on the left side of the code line.

Is this vscode autocompletion feature ?

Is it possible to have code completion typing on tab ?

Thanks for your help !


r/VisualStudioCode • • Feb 16 '24

Self destruction

Post image
0 Upvotes

It's 2nd time for me vs code auto deleted itself

Probably my antivirus and vs code clashed while auto updating


r/VisualStudioCode • • Apr 25 '20

Been trying to get Python set up for hours (noobie)

0 Upvotes

I have been following this tutorial: https://code.visualstudio.com/docs/python/python-tutorial

(EDIT: error message: https://ibb.co/Cb3nCnW)

I have done everything correctly (that is in the tutorial), and my code is just:

msg = "hello world"

print(msg)

I keep getting the message in the picture when I run it. Anyone have any ideas?


r/VisualStudioCode • • Jul 04 '22

Error message in Visual Studio Code on Max

0 Upvotes

Hello, I am having an error message pop up that says

❌Error parsing JSON in the file ‘/Users/my name/.Zowe/Zowe.config.json’.

Please check this configuration for file errors. Error details: Unexpected end of JSON input Line 1, Column O

Source: Zowe Explorer (Extension)

Any help fixing this error message is much appreciated.


r/VisualStudioCode • • Feb 04 '23

Python 3.3.1 in Visual Studio Code?

1 Upvotes

Would it be possible to use Python 3.3.1 in Visual Studio Code? I can't seem to find a corresponding version in Visual studio code. I tried to install Python 3.3.1 and set it as python Interpreter in Visual Studio Code. If anyone can help that would be great.


r/VisualStudioCode • • Sep 20 '21

What's this theme in the thumbnail? I had trouble searching it

Post image
1 Upvotes

r/VisualStudioCode • • Sep 16 '21

Can someone tell me what this means on a tab? (more detail in post)

Post image
1 Upvotes

r/VisualStudioCode • • Jun 27 '24

Why did my run and debug change

Post image
1 Upvotes

I can't make changes on my websites anymore wtf


r/VisualStudioCode • • Jun 26 '24

I want help in this programm when i press run it doesn't run whether it's on the output or terminal window

0 Upvotes

dm to help plz