Skip to content

Commit

Permalink
Indexing for Simpler Projects (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
saranshsaini authored Feb 4, 2025
1 parent 1962aab commit cd7840c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CodeiumVS/LanguageServer/LanguageServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,11 @@ async Task AddFilesToIndexLists(EnvDTE.Project project)
}
}

if (commonDirs.Count() == 0)
{
commonDirs = new[] { projectDir };
}

await _package.LogAsync($"Found set-covering directories for {projectName}: {commonDirs.Count()}");
foreach (var dir in commonDirs)
{
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.99" Language="en-US" Publisher="Codeium" />
<Identity Id="Codeium.VisualStudio" Version="1.9.0" 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 cd7840c

Please sign in to comment.