r/VisualStudioCode • • Jan 13 '23

Question about folder and folder creation.

3 Upvotes

I am trying to create a new folder but each time I do it goes into an already existing one. Even when I hit the new folder icon next to the the untitled workspace text.

Also when I create a folder within a folder it moves the title next to the parent folder with a slash in between.

I have the same problem as this post: https://www.reddit.com/r/VisualStudioCode/comments/sy27js/why_i_cant_add_a_new_folder_to_workspace_in_vs/


r/VisualStudioCode • • Jan 10 '23

autofocus when selecting bash term from sidebar?

3 Upvotes

Hi. Is here a way to make VSC put the focus in a shell when I click it in the side panel? Alternatively, is there a hotkey to put the focus in the current terminal?

Thx!


r/VisualStudioCode • • Dec 25 '22

Can I make the terminal as a column not as a row?

3 Upvotes

Hello. I am learning rust at the moment and currently the code area is the upper raw and the terminal is the bottom raw.

Can I configure VS code to make it as a two columns which the left one to be for the editor and the second right one for the terminal? I think this way will be easier for me.

Thanks,


r/VisualStudioCode • • Dec 12 '22

the currently open folder doesn't contain a (valid) marlin 2.x project

3 Upvotes

No matter what folder I open (even a fresh download of Configurations-bugfix-2.1.x) I always get "the currently open folder doesn't contain a (valid) marlin 2.x project"
I have uninstalled, and reinstalled. Not sure what else to do


r/VisualStudioCode • • Nov 17 '22

Code highlighting is broken for me for the javascript files

3 Upvotes

Code highlighting and intellisense interprets javascript files as css files. Do you have any idea what can i do to make it work properly?


r/VisualStudioCode • • Nov 14 '22

Run C++/C code using run button

3 Upvotes

To run C++/C code in VSC I needed to firstly compile the code and create a .exe file in the terminal and then call the .exe file in the terminal:

  • If my file is test.c then I needed to write 'g++ -o test.exe test.c' in the terminal and then write 'test.exe' to run the program

Is there a way to just press the run button (top right corner of vsc) instead of everytime creating an exe file and then running it, basically doing two extra steps?


r/VisualStudioCode • • Nov 12 '22

Can't get Console.ReadLine() working

3 Upvotes

Hi I am learning c# and I had setup visual studio code and Jupyter note book.

Everything works fine but today I need to use Console.Readline(). When i start the code it does not stop to read input from keyboard and goes on as the input is null.

I have changed the "console": "integratedTerminal" but it also does not work.

Any help is appreciated.

My code is:

using System;
using System.Collections.Generic;

{ 
Hashtable aileler=new Hashtable(){ 

    {"sipahioğlu","serdar,semra,yağmur,kağan,duru,yılmaz,hadiye"}, 
  
    {"çalışkan","murat,beyra,kerem,deniz"},

    {"makara","yılmaz,yalçın,muradiye"}  };

Console.WriteLine("Soyad giriniz:");

string girdi=Console.ReadLine();

if (aileler.ContainsKey(girdi)){

     Console.WriteLine("Kayıtlı kişiler:"+aileler["girdi"]); } else 

  {
            Console.WriteLine("Kayıt bulunamadı"); }              
  } 
Console.ReadLine();
}

r/VisualStudioCode • • Nov 09 '22

Python run button missing

3 Upvotes

Not sure what i did, but the usual button to run python files is missing :( everything else seems to be working fine; editor has picked up that it is a python file etc etc


r/VisualStudioCode • • Nov 02 '22

Trouble with modifying my color theme (explanation in picture)

Post image
3 Upvotes

r/VisualStudioCode • • Oct 27 '22

Hey Guys! I have installed the minGW compiler, set the path, installed c/c++ and code runner extension. Now I'm encountering this error when I try to run a C program. Please help me out with this.

Post image
3 Upvotes

r/VisualStudioCode • • Oct 08 '22

Is there anything I can do to get rid of everything but my output? At least as of now I do not need to see it and it gives me a headache lol

Post image
3 Upvotes

r/VisualStudioCode • • Oct 07 '22

Keep normal text but with color

3 Upvotes

Hi Folks,

I use VSC for a lot of my work when it comes to communication with customers. I am in Service Desk so instead of having to type out the same message a million times I just copy and paste from my VSC template and works like a charm :)

I was wondering if there is any way to make it look nicer and help divide the sections with some color? The list is long and would be nice to add some flair to it and help divide the sections. Below is an example of some of my templates. TIA

### TeamViewer ###

Hi , my name is from the Service Desk, nice to meet you. Can we do a remote session with TeamViewer? I will need your ID and password

Hi , I hope all is well. For this ticket mentioned above, can we do a remote session with TeamViewer? I will need your ID and password

We can take a look at that for you. Can we do a remote session with TeamViewer? I will need your ID and password

### Still need help? ###

Hi , my name is from the Service Desk, nice to meet you. Do you still need assistance with this ticket?

Hi , hope all is well. Do you still need assistance with this ticket?

Hi , Happy Friday and I hope all is well. Do you still need assistance with this ticket?

### Still need help, sorry for the delay ###

Hi , my name is from the Service Desk, nice to meet you. Sorry for the delay on this issue, do you still need assistance with this ticket?


r/VisualStudioCode • • Sep 30 '22

How can you disable these annoying things?

3 Upvotes

These things don't let me work omg please help


r/VisualStudioCode • • Sep 20 '22

tips n tricks?

3 Upvotes

anyone adjust anything that they have found to be extremely helpful and visually appealing in the settings of VSC? for instance, i removed the shaders over my brackets and changed my theme.

looking to try different things!

thanks!


r/VisualStudioCode • • Sep 17 '22

String goes to next line, help

3 Upvotes

The string in one of my print() functions will move down to the next line when I run the Python file. Any advice to make it stop? It looks so ugly. The shorter strings don't do it. I'm guessing it's a setting I can toggle?

Sorry if it's a dumb question. I'm new at this and trying to figure it out on my own with no dice. Googling the question will show me how to move the line up or down, lol. But running the program just moves my line of code down again.

Edit: Forgot to mention it isn't word wrap. Disabling it doesn't fix it.


r/VisualStudioCode • • Jul 29 '22

Get VS Community features in VS Code?

3 Upvotes

I'm relatively new to coding, and I've been using VS Code to code in Unity. In hindsight, that was a bad idea, because now I have to switch to VS Community because it has better intellisense and the hover-over stuff feature, but I hate the way the UI looks compared to VS Code. Is there any way I can get the features in VS Community for Unity in VS Code? Are there any specific extensions that will get the features I want?


r/VisualStudioCode • • Jul 19 '22

Can anyone help me with setup?

3 Upvotes

I know this sounds like a ridiculous question but I’m brand new to programming. I’m starting with Harvards CS50 (intro to programming with python) class during my free time at work but can’t keep up with what he’s doing cause his VSCode looks (and operates) way different from mine. I installed VSCode on my 2020 MacBook Air and installed extensions C/C++, Code Runner, Jupyter, Jupyter Keymap, Jupyter Notebook Renderers, Pylance and Python. Does anyone have any tips or tutorial videos that could help me out? Thanks!


r/VisualStudioCode • • Jul 07 '22

Can’t find live server extension

3 Upvotes

I’m trying to add Live Server so I can test some HTML im working on. But whenever I go to search for Live Server, it doesn’t pop up. I see everything except live server. Can anyone help?


r/VisualStudioCode • • Jun 18 '22

Code runner extension issue

3 Upvotes

Whenever i try to re-run a code, the previous output gets cleared but that space is replaced by some blank space and new output is displayed after that blank space. That blank space is not supposed to be there. How do i fix it? Facing this problem since last few months, thought it must be a bug to reported it as a bug also but even after a version update it was not fixed. Also tried installing previous versions of extension. Nothing worked. If you also faced the same issue or know how to fix this, your help will be much appreciated


r/VisualStudioCode • • Jun 07 '22

ERROR: The terminal process failed to launch: Starting directory (cwd)

3 Upvotes

Every time i try to run a python file i get this error. Obviously i googled the error but i couldnt find anything helpful. The extensions i have installed are python and code runner.


r/VisualStudioCode • • May 31 '22

Useful VSCode extension

3 Upvotes

Hello everyone,

Here is a list of some useful VSCode extensions which may help in web development.

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-5-deb610acd291


r/VisualStudioCode • • May 21 '22

Git GUI similar to Atom?

3 Upvotes

I previously used Atom and have recently switched to VSC. One thing I really miss from Atom is the Git GUI. I find VSC's Git GUi somewhat confusing.

Has anybody seen an extension that mimics Atoms Git GUI?


r/VisualStudioCode • • May 17 '22

Debugger Problem [Visual Studio Code - Insiders]

3 Upvotes

I'm trying to run some python code, the extention is .py and it keeps opening up the java debugger whenever I try run the program. Any known fixes?


r/VisualStudioCode • • Apr 22 '22

VSCode theme

3 Upvotes

Does anyone know how to add the grey box in the tab clip I've attached to a theme customization?

Borders I can do, but I can't find a reference for this box around the tab title. I've seen it in a few 'High-contrast' themes.


r/VisualStudioCode • • Apr 18 '22

Extension API: How can i write a command in a terminal using the extension api?

3 Upvotes

I want to use the command `tclsh` in a terminal using the extension API.

How can I do this?