You are browsing as a guest. Sign up (or log in) to start making projects!

Sudo2AC

  • 3 Devlogs
  • 6 Total hours

A Visual Studio Code plugin that uses Ollama to convert natural language to actual code (sudo 2 actual code)

Ship #1 Pending review

I built a Visual Studio Code extension that converts pseudocode and comments to real working code with just a highlight and click! I made it as a way to help make it easier to build code when you're starting to learn a language and don't really know how to bring your ideas to life. It lets you accurately learn by still writing how it should work but using the extension to see what that code actually looks like and applies to the rest of your project, making it easier to code while not taking away the human side!

The main challenging part of this project was just learning how to build a Visual Studio Code plugin and get it working. Overall it's pretty simple, but it took me a lot of research and debugging to get it working! Overall, though, it works super well, and I'm super proud of the result.

To test this project, you need Visual Studio Code, as well as Ollama downloaded. I would recommend something like a cloud model, as it's free and fast without needing super powerful hardware!

Try project → See source code →
Open comments for this post

37m 14s logged

This is the final devlog. I cleaned up a bunch of stuff and built the project, also making a readme. I also got the project on the Visual Studio Code marketplace for anyone to try; I also made this awesome banner!

(oh i also added keyboard shortcuts, to make it easier to use!)


https://marketplace.visualstudio.com/items?itemName=KallenSeelo.sudo2ac

0

Loading discussion…

2
119
Open comments for this post

3h 16m 48s logged

Demo of Sudo2AC!

I finished work on my pseudocode to actual code plugin; it uses Ollama, which you can run locally or use their cloud models! It works super well converting structured pseudocode code into actual code that works!

This can help make it easier for things like writing new things that relate to your functions, while understanding how it works!

2

Loading discussion…

1
90
Open comments for this post

2h 17m 21s logged

Ok, this is the first push for my project, Sudo to actual code!



I was trying to code an AI compiler, but AI really sucks at compiling things, but it gave me the idea that I could make a VS Code extension that helps you code faster by writing pseudocode for some functions and then getting it translated to real code using context from the rest of your functions.
‎ ‎

It would help you learn while not slowing you down! You still learn by still writing what you want to do, but the AI changes it so you can see how your idea converted to real code!


Today was kind of basic; I just worked for about 45 mins trying to fix my Ollama install, then the rest trying and debugging things! I’m going to very much improve this to be much better, as the extension doesn’t really do anything currently!

2

Loading discussion…

3
723

Followers

Loading…