Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Sudo2ACNew to Visual Studio Code? Get it now.
Sudo2AC

Sudo2AC

KallenSeelo

|
11 installs
| (0) | Free
A Visual Studio Code plugin that uses Ollama to convert natural language to actual code (sudo 2 actual code).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Sudo2AC Banner

Sudo2AC

A program to convert your pseudocode into real working code!


About:

Sudo2AC is a program that can convert pseudocode in your editor, using a local AI model.

I got the idea after working on my other project, my C++ Browser Engine. I had problems figuring out things like networking and wished there was a way that I could write out my code still, but it did not have to be perfect, so I made this (though it was NOT used for the browser project.)

It converts it by running your highlighted section through Ollama, and using the context from the rest of the file, writes out the proper code without overwriting other code.

How To Use/Demo:

Click here to open the demo vid.

Requirements:

You need to have Ollama downloaded and also need a model downloaded to work.

I would recommend bash ollama pull gemma4:31b-cloud (as it's fast and won't need a crazy GPU), though you need an Ollama account.

You also need Visual Studio Code to use this extension, which you can download here.

Best Settings:

I've found that sometimes you need to change around the prompt, depending on your model. If the model isn't getting the performance that you want, click the settings button at the top:

My Local Project Image

And you can change the system prompt using the same button.

I've also found that sometimes the model may need to be changed, depending on how complex the sudo instructions are (as bigger is better); you can again click the settings button at the top and change the Ollama model. Ollama is always getting new cloud models, but I would suggest gemma4:31b-cloud or nemotron-3-super:cloud.

Settings List

Setting Default Description
sudo2ac.model gemma4:e2b The Ollama model you're using
sudo2ac.systemPrompt see below The instructions sent to the model to convert your code

Tips:

It will only change your highlighted section or add more lines, so it won't touch any other code you don't want it to.

Because the model uses the rest of the file as context, the more lines/data you have in your file, the better.

If you want to run it on your own hardware, there are a few things to note: the smaller the model, the faster it's going to be, but the dumber it's going to be, but if you run a very smart model, the slower it's going to be.


Support the Project

If you find Sudo2AC interesting, please consider giving it a ⭐!

It helps more people discover the project!


  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft