continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
17.28k stars 1.33k forks source link

Visual Studio (not Code) Continue extension? #759

Open pcuci opened 8 months ago

pcuci commented 8 months ago

Validations

Problem

Continue not accessible to the Visual Studio C#/.NET community (GitHub Copilot is)

Solution

https://learn.microsoft.com/en-us/visualstudio/extensibility/starting-to-develop-visual-studio-extensions?view=vs-2022

Seems to require a full rework, different stack than Visual Studio Code

sestinj commented 8 months ago

Not probably in the extremely near future, but undoubtedly we will do this eventually. If the urge arises for anyone and they'd like to learn what it might take to contribute such an extension, please feel free to ask!

pcuci commented 8 months ago

Workaround:

Use VS Code Live Share in conjunction with Visual Studio Live Share to collaborate with yourself locally on the same project.

This way I can ask Continue for assist in VS Code 😎, and changes show up in Visual Studio where I build and run things. Yes it's wonky, but it works 🤣

In my case, I also installed the C# Dev Kit extension in VS Code

And while you're at it, why not also invite your humans, a la: https://en.wikipedia.org/wiki/Team_programming#Mob_programming

sestinj commented 8 months ago

Use VS Code Live Share in conjunction with Visual Studio Live Share to collaborate with yourself locally on the same project.

lol this is actually brilliant. Nice find!

etaxi341 commented 7 months ago

Would totally love it in VS 2022 because C# Solutions really are no fun in VS Code

pcuci commented 7 months ago

Actually, the Live Share thing doesn't keep track of git code diffs, so I found it annoying not knowing what I'm changing. Though, it's still good for, you know, live-sharing with other humans :-)

Simply open up the same C# code in VS Code for use with only Continue, and as you save the diff-recommendations, the diffs simply show up in Visual Studio (I have autosave turned on in VS Code). Pretty seamless experience of Visual Studio + Continue <3

visagansanthanam-unisys commented 5 months ago

Not probably in the extremely near future, but undoubtedly we will do this eventually. If the urge arises for anyone and they'd like to learn what it might take to contribute such an extension, please feel free to ask!

I would like to contribute on the development of visual studio plugin, can you help me get started with it?

sinand99 commented 4 months ago

+1 for Visual Studio. The real IDE, made for professionals, unlike vscode crap.

d00m4ace commented 4 months ago

+1 for Visual Studio 2022! +1 for CLion

AbdulBasitKhaleeq commented 3 months ago

+1 for Visual Studio 2022!

blackout1471 commented 3 months ago

Is there any projects for it? or can i contribute with one?

pcuci commented 3 months ago

@blackout1471 - you want to create the continue visual studio extension?

If I remember correctly, @sestinj mentioned in their discord that they don't have bandwidth for a 3rd integration at the moment, but that they totally welcome any contributions. Which is why they are building 2 integrations in parallel, i.e.: vscode and jet brains (to validate that the system would work for multiple other IDEs)

Just drop in the discord whenever you get stuck? I'm not an every day C#/C++ developer, so can't help much, but I'd definitely use the extension if it were available, plus it would help me a lot to have continue read-assist all the C# code I need to look at every once in a while :-)

Good luck!

sestinj commented 3 months ago

@blackout1471 @visagansanthanam-unisys glad to hear of the excitement! if you're still interested in working on this, the best place to start would be autocomplete. We are still going to hold off from officially accepting a full extension with sidebar and everything, but autocomplete is likely to be more straightforward. I'm assuming that VS extensions are written in .NET, so we would have to take the same approach as with JetBrains by shipping a binary along with the extension.

The biggest todos to make this happen would be a) package and ship with a continue core binary, as is done in the JetBrains extension (source code for the binary is in the binary directory of the repository) b) implement all of the basic required protocol functions that will allow the binary to communicate with the IDE c) build the UI that displays inline ghost text. This may be easier if they have a nice API like VSCode, but if it's more like JetBrains you'll have to almost literally draw everything yourself

As of now this would likely still fall under experimental, as we want to focus on providing the best possible experience in a smaller number of IDEs

Cuzano commented 3 months ago

+1 I would really appreciate VS2022 to be supported too :)

avi22228 commented 3 months ago

+1 for Visual Studio 2022 support. Hopefully soon.

sunhy0316 commented 2 months ago

+1 for Visual Studio 2022

FluffySpectre commented 2 months ago

+1 for Visual Studio 2022

ite-klass commented 2 months ago

Please stop spamming +1 comments, triggering notifications to every subscriber. Use the thumbs-up on the original post instead.

7 of 17 comments are now +1 noise making it harder to read the relevant comments.

JayCroghan commented 2 months ago

I recently upgraded a VISX project but I kept the older format. I’ve heard the newer format is a head scratcher. Might a good place to look and see what’s involved. My plugin literally just searches checkin by comment and just look at how much code is required.

Geek-Bob commented 1 month ago

+1 for Visual Studio 2022

fry69 commented 1 month ago

Please do not spam this issue with '+1' or other meaningless comments.

The current status can be found here -> https://github.com/continuedev/continue/issues/759#issuecomment-2153058295

You can subscribe to this issue for updates in the right sidebar.

Thank you!

snowflake-Zhao commented 4 weeks ago

+1 for Visual Studio 2022!

flefevre commented 4 weeks ago

+1

Totoff84 commented 4 weeks ago

+1 for Visual Studio 2022!

chad171 commented 2 weeks ago

Would this extension automatically work for all languages supported by Visual Studio 2022?