exafunction / codeiumvisualstudio Goto Github PK
View Code? Open in Web Editor NEWVisual Studio extension for Codeium
Home Page: https://codeium.com
License: MIT License
Visual Studio extension for Codeium
Home Page: https://codeium.com
License: MIT License
Microsoft Visual Studio Community 2022
Version 17.8.3
VisualStudio.17.Release/17.8.3+34330.188
Microsoft .NET Framework
Version 4.8.09037
Installed Version: Community
ASP.NET and Web Tools 17.8.358.6298
ASP.NET and Web Tools
Azure App Service Tools v3.0.0 17.8.358.6298
Azure App Service Tools v3.0.0
Azure Functions and Web Jobs Tools 17.8.358.6298
Azure Functions and Web Jobs Tools
C# Tools 4.8.0-7.23572.1+7b75981cf3bd520b86ec4ed00ec156c8bc48e4eb
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Codeium 1.6.22
The modern coding superpower: free AI code acceleration plugin for your favorite languages. Type less. Code more. Ship faster.
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
NuGet Package Manager 6.8.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
Razor (ASP.NET Core) 17.8.3.2358002+8c7fb27bf8e8d4f9ff8080b624b35bca5e812e97
Provides languages services for ASP.NET Core Razor.
SQL Server Data Tools 17.8.119.0
Microsoft SQL Server Data Tools
TypeScript Tools 17.0.20920.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 4.8.0-7.23572.1+7b75981cf3bd520b86ec4ed00ec156c8bc48e4eb
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 17.8.0-beta.23475.2+10f956e631a1efc0f7f5e49c626c494cd32b1f50
Microsoft Visual F# Tools
Visual Studio IntelliCode 2.2
AI-assisted development for Visual Studio.
SetChatThemeAsync needs to set a bunch more --vscode properties in order to properly adjust to the user's theme.
test codeium
The current state of the extension doesn't:
I don't know how it is for other Languages, but when right clicking a Method in C# and choosing "Generate Docstring for Function" the generated Docstring's "Apply Diff" Functionality replaces the Method Header.
My Method:
private bool TestSomething(string text) // <-- Apply diff tries to replace this
{
return string.IsNullOrEmpty(text);
}
When Diff applied:
// Checks if the given string is null or empty.
{
return string.IsNullOrEmpty(text);
}
This is my due to own ignorance of how the IViewTaggerProvider
works, in the following snippet, Instance
will be set multiple times, because VS will spawn each TextHighlighter
for a ITextView
and will break the highlighter and code block recognition.
To fix this: Add a static dictionary of <ITextView, TextHighlighter>
Codeium makes it hard to use vscode snippets that involve multiple tab stops.
After activating a snippet, Codeium will make a suggestion. I hit Escape to cancel the suggestion, but instead it cancels the snippet tab stops and leaves the suggestion.
I guess the alternative to hitting Escape would be the Opt + C
shortcut, but that doesn't seem to be working on Mac at the moment, and Escape is more intuitive to use anyway.
I think it would be more helpful if Codeium was just disabled while using a snippet, unless you trigger it manually.
Hey! I using code-server and want to use codeium here, but window with codeium chat is infinity loading, all commands like Codeium: Command
getting error Command 'Codeium: Command ✨' resulted in an error command 'codeium.openCodeiumCommand' not found
. I viewed output from extension but still don't know how can i fix it? You don't have published language server code and normally it downloading when user closing all editors, but how i can trigger that on code-server?
Console output:
2024-04-14 16:10:23.281 [INFO]: No proxy settings found
2024-04-14 16:10:24.786 [INFO]: Creating manager directory: /tmp/ea8f4d2b-3249-445e-b082-b4f07f0d8e28/codeium/manager
2024-04-14 16:10:26.233 [INFO]: Using cached LS with valid crc32: /home/container/.local/share/code-server/extensions/codeium.codeium-1.8.18-universal/dist/2614e1f78c5188e3091a05c11a4ff23e69f4a5c9/language_server_linux_x64
2024-04-14 16:10:26.268 [INFO]: Language server started
2024-04-14 16:10:26.598 [INFO]: [Language Server (stderr)]:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x6f32ff0]
goroutine 1 [running]:
2024-04-14 16:10:26.602 [INFO]: [Language Server (stderr)]:
main.main()
exa/cmd/language_server/main.go:492 +0xf50
2024-04-14 16:10:26.606 [INFO]: Language server exited with code 2
2024-04-14 16:11:26.297 [ERROR]: Language server port file not found in /tmp/ea8f4d2b-3249-445e-b082-b4f07f0d8e28/codeium/manager after 60s
When I try tu add a class to the class attribute of an html element in a webform file (aspx or master) when codeium is enabled, the editor hangs and visual studio is restarted. If I disable codeium logging out the problem disappares.
Microsoft Visual Studio Community 2022
Versione 17.8.0
VisualStudio.17.Release/17.8.0+34309.116
Microsoft .NET Framework
Versione 4.8.09032
Edizione installata: Community
ADL Tools Service Provider 1.0
This package contains services used by Data Lake tools
ASA Service Provider 1.0
ASP.NET and Web Tools 17.8.352.38654
ASP.NET and Web Tools
Azure Data Lake Tools for Visual Studio 2.6.5000.0
Microsoft Azure Data Lake Tools for Visual Studio
Azure Functions and Web Jobs Tools 17.8.352.38654
Azure Functions and Web Jobs Tools
Azure Stream Analytics Tools for Visual Studio 2.6.5000.0
Microsoft Azure Stream Analytics Tools for Visual Studio
Codeium 1.8.25
The modern coding superpower: free AI code acceleration plugin for your favorite languages. Type less. Code more. Ship faster.
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Estensione VSPackage 1.0
Informazioni dettagliate sull'estensione VSPackage di Visual Studio
Extensibility Message Bus 1.4.39 (main@e8108eb)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.
Gestione pacchetti NuGet 6.8.0
Gestione pacchetti NuGet in Visual Studio. Per altre informazioni su NuGet, visitare il sito Web https://docs.nuget.org/
Microsoft Azure Hive Query Language Service 2.6.5000.0
Language service for Hive query
Microsoft Azure Stream Analytics Language Service 2.6.5000.0
Language service for Azure Stream Analytics
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Mono Debugging for Visual Studio 17.8.17 (957fbed)
Support for debugging Mono processes with Visual Studio.
Node.js Tools 1.5.50908.1 Commit Hash:c294679b821c4b8f7f9c6db3827b7655db80fc28
Aggiunge il supporto per sviluppare ed eseguire il debug di app Node.js in Visual Studio
Razor (ASP.NET Core) 17.8.3.2353105+f0a326f3e15b2370371693a76fd379635387c74d
Fornisce servizi di linguaggio per ASP.NET Core Razor.
SQL Server Data Tools 17.8.119.0
Microsoft SQL Server Data Tools
Strumenti C# 4.8.0-7.23558.1+e091728607ca0fc9efca55ccfb3e59259c6b5a0a
Componenti di C# usati nell'IDE. A seconda del tipo e delle impostazioni del processo, è possibile che venga usata una versione diversa del compilatore.
Strumenti del Servizio app di Azure versione 3.0.0 17.8.352.38654
Strumenti del Servizio app di Azure versione 3.0.0
Strumenti di Visual Basic 4.8.0-7.23558.1+e091728607ca0fc9efca55ccfb3e59259c6b5a0a
Componenti di Visual Basic usati nell'IDE. A seconda del tipo e delle impostazioni del processo, è possibile che venga usata una versione diversa del compilatore.
Strumenti TypeScript 17.0.20920.2001
Strumenti TypeScript per Microsoft Visual Studio
ToolWindowHostedEditor 1.0
Hosting json editor into a tool window
Visual F# Tools 17.8.0-beta.23475.2+10f956e631a1efc0f7f5e49c626c494cd32b1f50
Microsoft Visual F# Tools
Visual Studio IntelliCode 2.2
Sviluppo assistito conl'intelligenza artificiale per Visual Studio.
VisualStudio.DeviceLog 1.0
Informazioni sul pacchetto
VisualStudio.Mac 1.0
Mac Extension for Visual Studio
Web Compiler 1.14.11
Compiler for LESS, Sass and CoffeeScript files
Xamarin 17.8.0.155 (d17-8@7042beb)
Estensione di Visual Studio per consentire lo sviluppo per Xamarin.iOS e Xamarin.Android.
Xamarin Designer 17.8.3.6 (remotes/origin/d17-8@eccf46a291)
Estensione di Visual Studio per abilitare gli strumenti di Xamarin Designer in Visual Studio.
Xamarin Templates 17.8.16 (830b56a)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Xamarin.Android SDK 13.2.2.0 (d17-5/45b0e14)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: d9a6e87
Java.Interop: xamarin/java.interop@149d70fe
SQLite: xamarin/sqlite@68c69d8
Xamarin.Android Tools: xamarin/xamarin-android-tools@ca1552d
Xamarin.iOS and Xamarin.Mac SDK 16.4.0.23 (9defd91b3)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
A couple of the shortcuts don't seem to be working on Mac:
Opt + C
(cancelCodeiumCommand) does not dismiss suggestions
Opt + N
(diffActionReject) does not undo diffs
Maybe adding the feature to generate commit messages would be great.
VSIXInstaller.ExtensionService.GetInstallableDataImpl(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData) D:\a\_work\1\s\src\product\extensionManager\installer\VSIXInstaller\Services\ExtensionService.cs: 186
VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData) D:\a\_work\1\s\src\product\extensionManager\installer\VSIXInstaller\Services\ExtensionService.cs: 28
VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported) D:\a\_work\1\s\src\product\extensionManager\installer\VSIXInstaller\Services\ExtensionPackService.cs: 101
VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported) D:\a\_work\1\s\src\product\extensionManager\installer\VSIXInstaller\Services\ExtensionPackService.cs: 42
VSIXInstaller.App.Initialize(Boolean isRepairSupported) D:\a\_work\1\s\src\product\extensionManager\installer\VSIXInstaller\App.xaml.cs: 272
VSIXInstaller.App.Initialize() D:\a\_work\1\s\src\product\extensionManager\installer\VSIXInstaller\App.xaml.cs: 230
System.Threading.Tasks.Task`1.InnerInvoke()
System.Threading.Tasks.Task.Execute()
Visual Studio Community 2022 Install Log.txt
I am using Visual Studio Community 2022 version 17.8.6 at home on my personal VM. Each time I try to install the extension through the marketplace it fails with the following error message that I have attached. I am unable to see the extension within Visual Studio. I would love to use the extension for my personal projects similar to what I am doing at work.
Thank you,
Laurence Rooks
[email protected]
When opening the menu panel, the chat messages will have some weird rendering issue. Resizing the window fixes this, it might be related to the fact that the webview2 is not recognized as a window to visual studio. It doesn't receive the "render" command, something like WM_PAINT, and bugs out.
Is Jupyter notebook extension in vscode supported?
Ideally it would run on individual notebook cells.
Thanks
Hey Guys, I think your extension is really cool, the only thing that would keep from using it (and which has caused me to remove it from visual studio at least until this gets fixed) is this crash, which occurs multiple times per day, sometimes repeatedly right right after the previous crash. The crash freezes visual studio before causing it to restart, which is a real annoyance. I'm opening this in another pr because the stack trace and exception are different from the other crash.
I know it is caused by this extension because it only started after I installed it and stopped after I removed it.
I'm using it with VB.Net winforms and class library projects, in visual studio 2022 version 17.9.2, I have Devexpress's CodeRush extension also installed.
Here's event viewer details:
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ObjectDisposedException
at Microsoft.VisualStudio.Text.Formatting.Implementation.FormattedLine.ThrowIfInvalid()
at Microsoft.VisualStudio.Text.Formatting.Implementation.FormattedLine.get_Start()
at Microsoft.VisualStudio.Text.Editor.Implementation.TextViewLineCollection.FindTextViewLineIndexContainingBufferPosition(Microsoft.VisualStudio.Text.SnapshotPoint)
at Microsoft.VisualStudio.Text.Editor.Implementation.TextViewLineCollection.GetCharacterBounds(Microsoft.VisualStudio.Text.SnapshotPoint)
at CodeiumVS.SuggestionTagger.UpdateAdornment(Microsoft.VisualStudio.Text.Editor.IWpfTextView, System.String, Int32)
at CodeiumVS.SuggestionTagger.Update()
at CodeiumVS.CodeiumCompletionHandler+d__14.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
(https://github.com/Exafunction/CodeiumVisualStudio/issues/new#) <System>
<Provider Name=".NET Runtime" />
<EventID Qualifiers="0">1026</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2024-03-07T16:42:32.7837898Z" />
<EventRecordID>200698</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>XXX</Computer>
<Security />
</System>
(https://github.com/Exafunction/CodeiumVisualStudio/issues/new#) <EventData>
<Data>Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.ObjectDisposedException at Microsoft.VisualStudio.Text.Formatting.Implementation.FormattedLine.ThrowIfInvalid() at Microsoft.VisualStudio.Text.Formatting.Implementation.FormattedLine.get_Start() at Microsoft.VisualStudio.Text.Editor.Implementation.TextViewLineCollection.FindTextViewLineIndexContainingBufferPosition(Microsoft.VisualStudio.Text.SnapshotPoint) at Microsoft.VisualStudio.Text.Editor.Implementation.TextViewLineCollection.GetCharacterBounds(Microsoft.VisualStudio.Text.SnapshotPoint) at CodeiumVS.SuggestionTagger.UpdateAdornment(Microsoft.VisualStudio.Text.Editor.IWpfTextView, System.String, Int32) at CodeiumVS.SuggestionTagger.Update() at CodeiumVS.CodeiumCompletionHandler+<GetCompletion>d__14.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch()</Data>
</EventData>
</Event>
I hope you guys can find a way to fix it. If you need any other details, please feel free to let me know.
Thank You
SetSite failed for package [CodeiumVSPackage]Source: 'System' Description: No process is associated with this object. System.InvalidOperationException: No process is associated with this object. at System.Diagnostics.Process.EnsureState(State state) at System.Diagnostics.Process.get_HasExited() at CodeiumVS.LanguageServer.Dispose() in C:\Users\rahul\source\repos\CodeiumVisualStudio\CodeiumVS\LanguageServer\LanguageServer.cs:line 64 at CodeiumVS.CodeiumVSPackage.Dispose(Boolean disposing) in C:\Users\rahul\source\repos\CodeiumVisualStudio\CodeiumVS\CodeiumVSPackage.cs:line 60 at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.Close()
I noticed that you can't select any Text Codium has already written while its still going.
I guess the selection Resets itself everytime new letters are appended.
The same thing happens also with horizontal Scrolling
Getting a pretty consistent crash from Codeium after updating the extension. Simply opening up the project and hitting linebreak in my code causes it to crash when trying to get an autocompletion. I've tried with Intellicode on and off.
Event Viewer Log:
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
at System.IO.Path.NormalizePath(System.String, Boolean, Int32, Boolean)
at System.IO.Path.InternalGetDirectoryName(System.String)
at CodeiumVS.LanguageServer+<InitializeTrackedWorkspaceAsync>d__30.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
at CodeiumVS.LanguageServer+<GetCompletionsAsync>d__32.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
at CodeiumVS.CodeiumCompletionHandler+<GetCompletion>d__14.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
I cant select the suggested code by Codeium using the tab key in Visual Studio 2022 most of the time. I have Jetbrains Resharper installed and the project is in Visual Basic. Codeium shows suggestions but only around half the time does pressing the tab key select the suggestion.
Build started...
1>------ Build started: Project: CodeiumVS, Configuration: Release Any CPU ------
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\InlineDiff\InlineDiffAdornment.cs(268,36,268,37): error CS1525: Invalid expression term '['
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\LanguageServer\LanguageServer.cs(462,58,462,59): error CS1525: Invalid expression term '['
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\InlineDiff\InlineDiffView.cs(211,68,211,69): error CS1525: Invalid expression term '['
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\LanguageServer\LanguageServer.cs(462,59,462,60): error CS0443: Syntax error; value expected
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\InlineDiff\InlineDiffAdornment.cs(526,57,526,58): error CS1525: Invalid expression term '['
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\Proposal\CodeiumProposalSource.cs(165,36,165,37): error CS1525: Invalid expression term '['
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\Proposal\Mapper.cs(17,48,17,48): error CS1525: Invalid expression term '['
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\Utilities\CodeAnalyzer.cs(15,74,15,75): error CS1525: Invalid expression term '['
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\Utilities\CodeAnalyzer.cs(15,75,15,76): error CS0443: Syntax error; value expected
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\Proposal\Mapper.cs(76,106,76,106): error CS0443: Syntax error; value expected
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\Windows\RefactorCodeDialogWindow.cs(75,63,75,63): error CS1525: Invalid expression term '['
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\Utilities\CodeAnalyzer.cs(126,28,126,29): error CS1525: Invalid expression term '['
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\Windows\RefactorCodeDialogWindow.cs(91,110,91,111): error CS1525: Invalid expression term '['
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\Windows\RefactorCodeDialogWindow.cs(100,110,100,110): error CS1525: Invalid expression term '['
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\Windows\RefactorCodeDialogWindow.cs(103,132,103,132): error CS1525: Invalid expression term '['
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\Windows\RefactorCodeDialogWindow.cs(107,111,107,111): error CS1525: Invalid expression term '['
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\CodeiumVSPackage.cs(124,54,124,55): error CS1525: Invalid expression term '['
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\CodeiumVSPackage.cs(129,135,129,135): error CS0443: Syntax error; value expected
1>F:\3rdApps\Code\CodeiumVisualStudio\CodeiumVS\CodeiumVSPackage.cs(197,36,197,37): error CS1525: Invalid expression term '['
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Build started at 10:25 PM and took 01.680 seconds ==========
To start, I know very little about internet related connections and issues. But I do have an unstable internet connection where certain types of connection, specifically github, pypi, and apparently codeium, are the only connections I am unable to connect to and work with. I assume they require a 'perfect' and stable internet connection.
Here are my specific codeium errors: the chat window either stays stuck and says 'Loading', or it loads but it says 'retry connection' so when i type text and press enter it just goes to a new line in the text field instead of sending the message:
'''
Starting language server
Codeium Extension for Visual Studio
Language Server: I1217 13:36:37.685629 14508 main.go:539] Starting language server manager with pid 14508
Language Server: I1217 13:36:37.687141 14508 main.go:107] Manager acquired its lock file C:\Users\Owner\AppData\Local\Temp\a5zcolqw.svq/locks/manager.lock
Language Server: I1217 13:36:37.695753 14508 main.go:245] Waiting for random port file in C:\Users\Owner\AppData\Local\Temp\a5zcolqw.svq/child_random_port_1702848997687141400_3304693970854226442 to be created
Language Server: I1217 13:36:37.789557 17080 main.go:533] Starting language server process with pid 17080
Language Server: I1217 13:36:37.986477 17080 server.go:532] Successfully created API server client
Language Server: I1217 13:36:37.992638 17080 server.go:538] Successfully created API streaming client
Language Server: I1217 13:36:38.055563 17080 server.go:547] Successfully initialized tokenizer
Language Server: I1217 13:36:38.056017 17080 unleash.go:95] Initializing Unleash
Language Server: I1217 13:36:40.118435 17080 unleash.go:115] Successfully initialized Unleash
Language Server: I1217 13:36:40.118435 17080 search_provider.go:156] Using database at C:\Users\Owner\AppData\Roaming.codeium\database/1/MODEL_EMBED_6591
Language Server: E1217 13:36:40.148251 17080 unleash.go:56] Unleash error: Post "https://unleash.codeium.com/api/client/register": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Language Server: E1217 13:36:40.148251 17080 unleash.go:56] Unleash error: Get "https://unleash.codeium.com/api/client/features": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Language Server: I1217 13:36:40.187706 17080 search_provider.go:168] Successfully created embedding search database
Language Server: I1217 13:36:40.188707 17080 search_provider.go:214] Successfully created embedding search provider
Language Server: I1217 13:36:40.188707 17080 server.go:613] Successfully created exact search provider
Language Server: I1217 13:36:40.638616 17080 server.go:634] Successfully created completion provider
Language Server: I1217 13:36:40.638616 17080 server.go:672] Child process attempting to acquire lock file C:\Users\Owner\AppData\Local\Temp\a5zcolqw.svq/locks/child_lock_1702848997687141400_5196452515966027005
Language Server: I1217 13:36:40.640048 17080 server.go:682] Child process acquired lock file C:\Users\Owner\AppData\Local\Temp\a5zcolqw.svq/locks/child_lock_1702848997687141400_5196452515966027005
Language Server: I1217 13:36:40.652917 17080 server.go:341] Language server will attempt to listen on host 127.0.0.1
Language server started on port 55238
Language Server: I1217 13:36:40.653915 17080 server.go:385] Language server listening on random port at 55238
Language Server: I1217 13:36:40.656195 17080 web_server.go:271] Chat Client file server listening at https://127.0.0.1:55240
Language Server: I1217 13:36:40.661414 17080 web_server.go:229] Chat Web Server listening at ws://127.0.0.1:55239
Language Server: I1217 13:36:40.749318 14508 main.go:281] Language server manager found random server port 55238
Language Server: I1217 13:36:40.749318 14508 main.go:282] Language server manager found random lsp port 42101
Language Server: I1217 13:36:40.749318 14508 main.go:289] Language server manager attempting to connect to language server at 127.0.0.1:55238
Language Server: I1217 13:36:41.039115 14508 main.go:160] Fixing language server port at 55238
Language Server: I1217 13:36:41.039115 14508 main.go:340] Language server manager successfully connected to new language server at 127.0.0.1:55238
Language Server Controller: Connected to ws://127.0.0.1:55239/connect/ide
Language Server: E1217 13:37:40.064986 17080 unleash.go:56] Unleash error: Get "https://unleash.codeium.com/api/client/features": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Language Server: E1217 13:37:40.064986 17080 unleash.go:56] Unleash error: Post "https://unleash.codeium.com/api/client/metrics": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Language Server: E1217 13:38:40.061279 17080 unleash.go:56] Unleash error: Get "https://unleash.codeium.com/api/client/features": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Language Server: E1217 13:38:40.061279 17080 unleash.go:56] Unleash error: Post "https://unleash.codeium.com/api/client/metrics": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
'''
Is it possible to make codeium work with unstable connections? How does all the other websites and servers do it since they all work except the websites and servers I mentioned. Is this requirement for a stable connection a codeium preference that can be changed to accept unstable connections? Codeium live also seems to have an issue with unstable connections as it constantly resets the chat to the beginning every few seconds (i assume its due to my unstable connection).
I have a lot of what i assume to be spaghetti code and beginner level code that i would like codeium to help me in 'refactoring'.
The auto-completion is not very useful for me, and just slows down my workflow.
Being able to disable this feature would also let users whom are experiencing issues able to opt-out until the related issues are fixed.
Weird VS crash. Before the crash the chat window glitched and disappeared. This ofc can be issue on VS side.
Here is EvtDump log
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
at Microsoft.Web.WebView2.Wpf.WebView2.VerifyBrowserNotCrashed()
at Microsoft.Web.WebView2.Wpf.WebView2.get_CoreWebView2()
at Microsoft.Web.WebView2.Wpf.WebView2.TabIntoCore(System.Windows.Input.TraversalRequest)
at System.Windows.Input.KeyboardNavigation.Navigate(System.Windows.DependencyObject, System.Windows.Input.TraversalRequest, System.Windows.Input.ModifierKeys, System.Windows.DependencyObject, Boolean)
at System.Windows.FrameworkElement.MoveFocus(System.Windows.Input.TraversalRequest)
at Microsoft.VisualStudio.PlatformUI.FocusHelper.MoveFocusInto(System.Windows.UIElement)
at Microsoft.VisualStudio.Platform.WindowManagement.Controls.GenericPaneContentPresenter.OnGotKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs)
at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
at System.Windows.Input.KeyboardDevice.ChangeFocus(System.Windows.DependencyObject, Int32)
at System.Windows.Input.KeyboardDevice.TryChangeFocus(System.Windows.DependencyObject, System.Windows.Input.IKeyboardInputProvider, Boolean, Boolean, Boolean)
at System.Windows.Input.KeyboardDevice.Focus(System.Windows.DependencyObject, Boolean, Boolean, Boolean)
at System.Windows.Input.KeyboardDevice.Focus(System.Windows.IInputElement)
at System.Windows.UIElement.Focus()
at System.Windows.Input.KeyboardNavigation.Navigate(System.Windows.DependencyObject, System.Windows.Input.TraversalRequest, System.Windows.Input.ModifierKeys, System.Windows.DependencyObject, Boolean)
at System.Windows.FrameworkElement.MoveFocus(System.Windows.Input.TraversalRequest)
at Microsoft.VisualStudio.PlatformUI.FocusHelper.MoveFocusInto(System.Windows.UIElement)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame+<>c.<FocusInnerContent>b__663_0(System.Windows.FrameworkElement)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.FocusInnerContent()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Activate()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.TryActivate(Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame, Microsoft.VisualStudio.PlatformUI.Shell.ActivationType)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.viewManager_ActiveViewChanged(System.Object, Microsoft.VisualStudio.PlatformUI.Shell.ActiveViewChangedEventArgs)
at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon)
at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.EventHandler`1<System.__Canon>, System.Object, System.__Canon)
at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(Microsoft.VisualStudio.PlatformUI.Shell.View, Microsoft.VisualStudio.PlatformUI.Shell.ActivationType)
at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.ActivateViewFromTabControl(System.Windows.Controls.TabControl, Microsoft.VisualStudio.PlatformUI.Shell.ActivationType)
at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.OnTabControlMouseDown(System.Object, System.Windows.Input.MouseButtonEventArgs)
at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
at System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
A process language_server
from the Codeium VS Code extension is reported to be using up over 200% of CPU time (i7-11390H) on Linux (6.5.0-14-generic), even when just scrolling through the code.
Does not happen always, prevalently happens in one moderately sized Strapi + React + TypeScript project (which is private, and the codebase has been indexed by Codeium).
Turning off the "Toggle autocomplete for language" didn't help.
On Visual Studio 2022 I get the following issues:
"No results for "". Please ensure that the relevant file is in your workspace and consider opening the file or neighboring files to make sure that it is indexed."
The Repos list is populated and works.
I have tried the VSCode extension and it works there but on VS2022 I cant get it working. I've restarted, started a new project, opened all files in the project, etc. Nothing works.
The only thing that does work is when I highlight code and use the context menu options to refactor, explain, unit tests, etc. Then it can locate the code and use it as context.
This happens when the webview2 does't load for some reason.
As a developer who frequently uses Azure Data Studio for database management and development, I believe the integration of Codeium, an AI-driven coding assistant, would be highly beneficial. This feature request aims to suggest the addition of Azure Data Studio support within Codeium's range of tools.
Azure Data Studio is a widely-used tool among data professionals, and its integration into Codeium would streamline workflows and enhance productivity. Codeium's AI-powered features, such as autocomplete, database schema context awareness, and chat assistance, could provide significant value to users of Azure Data Studio.
I propose that Codeium considers adding support for Azure Data Studio as part of its compatible tools. This would probably involve forking existing Visual Studio Code extension to allow Codeium's functionalities to operate seamlessly within the Azure Data Studio environment.
The integration of Codeium with Azure Data Studio would be a welcome addition for many developers. It would not only enhance the capabilities of Codeium but also enrich the Azure Data Studio ecosystem with advanced AI-assisted coding features.
I am experiencing strange continued refreshing and displaying behaviour of the suggested text.
Text looks kind of duplicately printed at moments.
The Codeium log output in the Output window also shows repetitive new output quite often.
Messages like "RequestProposalsAsync - Language: C#; Caret: 112; ASCII: False" keep appearing.
(I am not sure if that's actually unusual behaviour though or if it is really normal to be logged that often.)
It's almost like some kind of timer is continuously activated. Maybe there is some kind of repetitive failure on the background?
Although that does not explain why the text looks the way it does.
The text editing experience also seems slow as it seems and I noticed moments of high CPU usage (not fully sure if it's all related however).
I already logged out and logged in again, but that also didn't change anything. Nor do reboots solve anything.
Note that I haven't noticed issues in VS Code yet though. It's really just VS as it seems.
I noticed that the Codium Chat Window won't load when its directly Visible on Visual Studio boot.
If I switch to another Tab so it isn't visible directly and then after Visual Studio started switch to Codium it loads normally.
(Using VS Preview)
After the update to Microsoft Visual Studio Enterprise 2022 (64-bit) - Current
Version 17.9.6
Codeium gives this error:
Critical Error: Failed to download the language server. Do you want to retry ?
Retry doesn't help.
People on Discord report the same issue, nobody suggesting any remedy.
I get a Retry Connection
error in Visual Studio 2022 and cannot connect by pressing the button.
However, it works fine in Eclipse 2023.
Windows 11 Pro
{
"url": "http://127.0.0.1:65149/?api_key=xxxxxxxxxxxxxxxxxxxxx&extension_name=Codeium&extension_version=1.8.25&ide_name=visual_studio&ide_version=17.8.34525.116&locale=ja-JP&ide_telemetry_enabled=true&app_name=Visual%20Studio&web_server_url=ws://127.0.0.1:65148&has_dev_extension=false&has_index_service=true&open_file_pointer_enabled=true&diff_view_enabled=true&insert_at_cursor_enabled=true&has_enterprise_extension=false",
"connection": {
"status": "CONNECTED",
"error": {}
},
"isChatEnabled": false,
"handshake": {},
"params": {
"ideTelemetryEnabled": true,
"ready": true,
"apiKey": "xxxxxxxxxxxxxxxxxxxxx",
"extensionName": "Codeium",
"extensionVersion": "1.8.25",
"ideName": "visual_studio",
"ideVersion": "17.8.34525.116",
"locale": "ja-JP",
"hasDevExtension": false,
"hasEnterpriseExtension": false,
"hasIndexService": true,
"appName": "Visual Studio",
"webServerUrl": "ws://127.0.0.1:65148",
"diffViewEnabled": true,
"openFilePointerEnabled": true,
"insertAtCursorEnabled": true
},
"data": {
"numMessages": 0
},
"bridge": {
"bridgeType": "null"
},
"health": {
"checkStatus": 200,
"error": {}
}
}
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentOutOfRangeException
at System.String.Substring(Int32, Int32)
at CodeiumVS.SuggestionTagger.AddInsertionTextBlock(Int32, Int32, System.String)
at CodeiumVS.SuggestionTagger.UpdateAdornment(Microsoft.VisualStudio.Text.Editor.IWpfTextView, System.String, Int32)
at CodeiumVS.SuggestionTagger.Update()
at CodeiumVS.CodeiumCompletionHandler+d__14.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
I think most of the crashes have occurred after the length of the buffer decreases.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.