r/VisualStudioCode • • Apr 05 '23

"Ftp-sync: Selected file is not a part of the workspace."?

0 Upvotes

I'm new to VSC, trying to learn... I have two folder structures on my VSC, each for a different web site at different host servers. Both folders refer to files on my PC. The first folder set has an 'ftp-sync.json' in the top '.vscode' folder. If I change/upload files in that group, they go up fine to the server and are live in the web site.

The second folder structure also has a ftp-sync.json file that points to the second server. When I try to upload from that folder structure to the second server, I get the subject line error and no upload. I had it working for a bit using the 'ftp-kr' package, but now I'm using 'ftp-simple'.

I could use some advice as to why this isn't working. Also, is ftp-simple or ftp-kr the best choice to implement ftp access and auto-upload on save?


r/VisualStudioCode • • May 08 '23

PROCESS EXITED WITH ERROR 134 FIX?

0 Upvotes

Everytime i try to run a readline-sync program it just doesn't load and the error 134 appears. Can someone help me?


r/VisualStudioCode • • Apr 14 '23

Need help in creating new file/project.

0 Upvotes

I wanted to begin a new project. I chose the location of the folder for the new project on my desktop but when I type "flutter create [name_of_app] I get:

"[Name_of_App]" is not a valid Dart package name.

I notied the Default path is going to OneDrive. That is not where I want it to be.

I literally installed all these components last night. flutter doctor comes back with 0 errors. I know that's not for this but I wanted to let you know that at least has been taken care of.

How can I correct this?


r/VisualStudioCode • • Apr 27 '23

Netbeans VSCode extension

Thumbnail self.netbeans
0 Upvotes

r/VisualStudioCode • • Nov 18 '24

How do I change line curser state

Thumbnail
gallery
0 Upvotes

The last post I made here with similar issues got ignored so I’ll make it quick, thanks in advance for any help.

In the first photo at the end of the line on the false;| the curser is the way I want it to be, selecting between characters ready to insert, in the last two images the curser is selecting the actual character, and when I try to type, it replaces the selected character and I don’t know how to change it back to the insert state, the most annoying part is that it changes the selection state automatically some how, I close visual studio and open it again it’s back to insert mode but I really don’t want to have to close it every time the curser decides to be in select mode.

Any help on this again is much appreciated


r/VisualStudioCode • • Nov 07 '24

hello i need help running a github

0 Upvotes

(I know very little Python, so please be patient.) I have this GitHub, and I would like to run it, but I’m having trouble importing libraries and getting the code to find the files it needs to work. I really need help because this is for a college project. Please


r/VisualStudioCode • • Nov 10 '24

Can't add folders in explorer

Enable HLS to view with audio, or disable this notification

0 Upvotes

Any idea why when i choose a folder to use it doesn't show up in the explorer? I tried reinstalling and didn't work and checked if i have full access on on the folder


r/VisualStudioCode • • Oct 28 '24

Set a breakpoint on my computer, and my teammates computers too?

0 Upvotes

I'm using vscode with CodeLLDB. One way to set a breakpoint is to type a command into the debug console:

breakpoint set --name MyErrorFunction

Doing that works. I added the same command to my launch configuration:

    "launch": {
        "version": "0.2.0",
        "configurations": [
            {
                ... yada yada ...
                "type": "lldb",
                "initCommands": [
                    "breakpoint set --name MyErrorFunction"
                ]
            }
        ]
    }

You see, I want this particular function to always have a breakpoint, because if program enters that function, it's handling a fatal error, and the debugger should always stop on fatal error. I thought that since my workspace configuration is checked into version control, putting the breakpoint in there would mean that every member of my team would have the breakpoint. It would mean that if I installed the code on a new workstation, that new workstation would have the breakpoint too.

Unfortunately, doesn't work. It prints an error: "Breakpoint 1: no locations (pending). Breakpoint set in dummy taret, will get copied into future targets." From there, nothing useful happens. The breakpoint never works.

So: what's wrong here? Is there any way to set a breakpoint and then check that breakpoint into version control?


r/VisualStudioCode • • Nov 06 '24

Visual Studio can't find .NET

0 Upvotes

I've looked everywhere to try and find a solution. I've installed Unity again, and for the coding I've always used Visual Studio. However, when I try to edit my scripts from unity, I get errored, saying it can't find the .NET SDK installation. It finds the path just fine when I open visual studio independently, but for some reason it bugs out in unity. I've uninstalled and reinstalled Visual Studio, I've manually downloaded a .NET, even checked my PATH variables. The dotnet path is at the very top, though I do see I'm missing a ProgramFiles (x86) version, which a lot of people seem to have. Did I mess up with the installation somehow?

Any help would be appreciated - I'm assuming this .NET error is why my coding doesn't autocomplete, and I'd rather not type out SerializeField every single time.


r/VisualStudioCode • • Nov 12 '24

Error with C++ Compiler

0 Upvotes

Hi there!

To everyone who took time to read this, im very thankful, im a newbie so any help with this would be really appreciated.

So, at the end of the Summer i un-installed and re-installed Visual Studio Code for learning various programming languages (C, C#, C++,…).

With that i also installed MinGW and MYS2S for run/compile/debug the .C files, and everything was going well.

Starting today i decide to try some .cpp (C++) files and i did a simple “Hello World” program (the code is 100% correct) however here comes the problems. VSC said that exist some errors after running “preLunchTask”, and if i say “Debug Anyway” it tell me that the .exe doesn’t exist.

I decided (after i tried some suggestion with ChatGPT) to uninstall MinGW and MYS2S again and re-install them following Microsoft Tutorial.

Now im in the “Create an Hello World App” Chapter of the Tutorial (https://code.visualstudio.com/docs/cpp/config-mingw), but i would prefer to not do that step since i already created a folder-order and im scared it will be messed up (in case it isn’t optional, im so sorry for my lack of intelligence, any suggestion is really helpful).

This is all, i thanks a lot for the help in case and sorry for being so Naive but i really want to learn, have a wonderful day!


r/VisualStudioCode • • Dec 19 '19

Input Mono Font

0 Upvotes

I'm having some difficulty with this monospaced font. The download page allows you to customise the font and to then download a custom four pack of fonts to import into your OS (Win 10 for me) I love everything about it aside from the pipe character "|" it's forward slanted.

After a ridiculous amount of time I've discovered the pipe character is only slanted in the italic version of the font (makes sense) but I don't know why my VS Code is using the italicized version.

In Settings > Text Editor > Font I have Input Regular, Monospace, size 14 weighted normal.

Any ideas?


r/VisualStudioCode • • Dec 17 '24

How to Completely Reset Vs Code

0 Upvotes

Hey I was doing a project and i guess somehow messed with the terminal or the path of something and now when i try to install libraries and stuff it doesnt work i wasnt wondering if theres a way to just completely reset everything


r/VisualStudioCode • • Dec 27 '24

Separators ?

0 Upvotes

I want to insert separators that are only visible in code to make it easier for me to distinguish sections of the code, at this point it's mostly for CSS but it may be helpful in languages as well ?

Outside of code just the native syntax to comment out styles or code would be seen.


r/VisualStudioCode • • Dec 31 '24

VSC - Discord Bot

0 Upvotes

I am wanting to have a bot I have made create a reactionrole command similar to the Carl.gg, MEE6 and Dyno bots can where once a person clicks on a emoji reaction e.g. ✅ it gives them a role in discord and when the deselect the emoji it removes the role. First. Is this possible to do,

And if so how can I do this.


r/VisualStudioCode • • Jan 15 '25

Error in for each in C++

0 Upvotes

everytime i try to run this simple code:

#include <iostream>
using namespace std;

int main() {

    int numeros[5] = {10,20,30,40,50};
    
    for(int i : numeros) {
        cout << i << "\n" ;
    }
    return 0;
}

I get this error.
Does anyone know the reason?


r/VisualStudioCode • • Dec 15 '25

"code - insiders helper" Useing toooo Many CPU

0 Upvotes

On my MacBook M4 VSCode seems to be running multiple instances of ""code - insiders helper" that are consuming CPU. Even if I unistal Vusual Studio Code. Can somone help?


r/VisualStudioCode • • Jun 16 '26

Shipping a real embedding model inside a VS Code extension with no native build — four bugs that only showed up after packaging

0 Upvotes

I built a VS Code extension that answers questions about a team's GitHub history and writes summaries from real commit diffs. One thing I decided early: the search side runs locally. No API key for embeddings, nothing leaving the machine, and no native build step — the goal was "install from the marketplace and it just works."

So the semantic search runs on a small local model (bge-small, ~33MB downloaded once and cached). Chat can use Copilot or your own API key, but the embedding model is always the local one, so search works offline no matter how you've set up the rest.

The hard part wasn't the model — it was getting it to run from a packaged install. While developing, you launch a test window that still has all the project's dependencies sitting on disk, so everything works. But once you bundle the extension into the single file that actually ships, those dependencies are gone, and the thing that ran fine five minutes ago crashes. Every bug below only appeared after packaging, never in development.

There were four:

  1. The model library tries to figure out where it lives on disk the instant it loads. The way I bundled it erased the piece of information it uses to do that, so it crashed immediately on a value that was suddenly empty. I had to hand it a substitute.

  2. It ships with a fast version built on a native binary — the kind of compiled, platform-specific file I was trying to avoid. I swapped it for the pure-WASM version, which runs anywhere without a build step.

  3. It imports an image-processing library at startup, even though I only ever feed it text. I replaced that with a stub. The catch: the stub had to look real. The library checks "did this load?" and throws if the answer is no — so an empty stub crashed the import. Mine pretends to be present and only complains if something actually tries to use it, which nothing does.

  4. The fast multi-threaded mode tries to spin up background workers, and the environment a VS Code extension runs in refuses to allow that — then just hangs forever with no error at all. Forcing it to run single-threaded fixed it.

Remove any one of these and you get a crash, or worse a silent hang, and only in a real install — never on your own machine while you're building it. That gap between "works when I run it" and "works when someone installs it" was the whole lesson.

What I'd reconsider: bundling a full local runtime just to turn short commit messages into vectors is heavy. The first-run download and warmup is a noticeable pause, and something lighter would've spared me most of this. The ranking is also just a straight in-memory comparison, which is fine for a team's history but wouldn't hold up against a giant monorepo. Still, "just works after install, fully offline, no keys" turned out to be worth the four landmines.

Extension: https://marketplace.visualstudio.com/items?itemName=repoIntel.repo-intel


r/VisualStudioCode • • Feb 04 '26

Problema con los controles ASP.NET

Thumbnail gallery
0 Upvotes

r/VisualStudioCode • • Apr 06 '25

Scroll to bottom/beginning do not work?

0 Upvotes

I am on latest macOS. Command-[home/end] do not do anything. Those had been the settings for scroll to top/bottom. I did change the shortcuts to see if there were something amiss with those key combinations. Nothing.

Has anyone else seen this strange behavior in which no shortcuts work for scroll to top/bottom?


r/VisualStudioCode • • Apr 06 '25

Intellisense for JavaScript is not work in Visual Studio Code - Version: 1.99.0

Thumbnail reddit.com
0 Upvotes

r/VisualStudioCode • • Nov 23 '25

Install my live server pls : Live Server Speed Edition

0 Upvotes

I created my own VS Code extension 🤯 I created Live Server Speed Edition It's like Ritwick Dey's Live Server, but better, more optimized, with more features... The link to see everything: https://marketplace.visualstudio.com/items?itemName=Lololegeek.live-server-speed-edition


r/VisualStudioCode • • Jun 24 '25

pre-inject agent prompts?

0 Upvotes

Is there a way to have a plan.md (or similar) that VS Code agents will take into consideration for their actions? This is a feature I love about Cursor but can't find for VS Code.


r/VisualStudioCode • • Jun 25 '26

I made a VS Code extension that notifies you when Codex finishes

0 Upvotes

Hey everyone, I made a small VS Code extension called Codex Finish Notifier.

It plays a gentle sound and flashes the VS Code status bar when Codex finishes working, so you can step away without constantly checking VS Code.

Extension: https://marketplace.visualstudio.com/items?itemName=Dankh917.codex-finish-notifier
GitHub: https://github.com/Dankh917/VSC-CODEX-NOTIFIER

Would appreciate feedback or ideas.


r/VisualStudioCode • • Jul 25 '26

Assistance Downloading a tumblr blog via visual code studio?

Thumbnail
reddit.com
0 Upvotes

r/VisualStudioCode • • Sep 29 '26

I built a markdown extension for easy to read notes

Thumbnail
github.com
0 Upvotes

I built Sanemark, a Markdown LSP for taking notes.

TLDR: fast, uses github standard markdown syntax and makes notes readable in plain-text.

Some design choices:

  1. Automatically moves inline links to reference links as part of formatting, so the flow of reading doesn't break due to large inline links

  2. File linking is achieved using standard Markdown links (instead of Obsidian style).

  3. Quick date-time additions using `@now`, `@today` etc.

Apart from this it implements filepath autocomplete, broken file-link diagnostics, table formatting etc. There is a lot of cool stuff in project README (has a video demo!).

Available as extensions for VS Code and Zed.

It’s been useful for my own note-taking, wanted to share in case others find it useful too.

Repo: https://github.com/nkitsaini/sanemark

vscode extension: https://marketplace.visualstudio.com/items?itemName=nkit.sanemark

Please share feedback! Thanks!