Skip to content

Commit

Permalink
Release 1.8.81
Browse files Browse the repository at this point in the history
  • Loading branch information
fortenforge committed Aug 1, 2024
1 parent 0d69efa commit ddcbb60
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
14 changes: 8 additions & 6 deletions CodeiumVS/LanguageServer/LanguageServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace CodeiumVS;
public class LanguageServer
{
private string _languageServerURL;
private string _languageServerVersion = "1.8.80";
private string _languageServerVersion = "1.8.81";

private int _port = 0;
private System.Diagnostics.Process _process;
Expand Down Expand Up @@ -214,11 +214,13 @@ private async Task GetLanguageServerInfoAsync()
try
{
string portalUrl = _package.SettingsPage.PortalUrl.TrimEnd('/');
string result =
await new HttpClient().GetStringAsync(portalUrl + "/api/extension_base_url");
extensionBaseUrl = result.Trim().TrimEnd('/');
_languageServerVersion =
await new HttpClient().GetStringAsync(portalUrl + "/api/version");
extensionBaseUrl = portalUrl;
string version = await new HttpClient().GetStringAsync(portalUrl + "/api/version");
if (version.Equals("test", StringComparison.OrdinalIgnoreCase) ||
Regex.IsMatch(version, @"^\d+\.\d+\.\d+$"))
{
_languageServerVersion = version;
}
}
catch (Exception)
{
Expand Down
2 changes: 1 addition & 1 deletion CodeiumVS/source.extension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ internal sealed partial class Vsix
public const string Name = "Codeium";
public const string Description = @"The modern coding superpower: free AI code acceleration plugin for your favorite languages. Type less. Code more. Ship faster.";
public const string Language = "en-US";
public const string Version = "1.8.80";
public const string Version = "1.8.81";
public const string Author = "Codeium";
public const string Tags = "";
}
Expand Down
2 changes: 1 addition & 1 deletion CodeiumVS/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="Codeium.VisualStudio" Version="1.8.80" Language="en-US" Publisher="Codeium" />
<Identity Id="Codeium.VisualStudio" Version="1.8.81" Language="en-US" Publisher="Codeium" />
<DisplayName>Codeium</DisplayName>
<Description xml:space="preserve">The modern coding superpower: free AI code acceleration plugin for your favorite languages. Type less. Code more. Ship faster.</Description>
<MoreInfo>https://www.codeium.com</MoreInfo>
Expand Down

0 comments on commit ddcbb60

Please sign in to comment.