Skip to content

Code base Indexing in C#/.Net Not Extracting Valuable Code Segments #6048

@Source-GuyCoder

Description

@Source-GuyCoder

App Version

3.23.16

API Provider

Ollama

Model Used

nomic-embed-text

Roo Code Task Links (Optional)

No response

🔁 Steps to Reproduce

OS: Windows
Repo Code Language: C#/.Net
Vector DB: QDrant Local

Example File:

///
/// Description of file
///

using namespace1;
using namespace2;
using namespace3;
using namespace4;
....
using namespaceN;

namespace SomeNameSpace
{
    public static class SomeClass
   {
     <bunch of static functions>
   }
}

The code base indexing feature doesn't index any actual valuable code, rather when searching for the file path in the vector DB, all the code chunks are simply the using statements (multiple points for random selection of singular using statements)

Roo also indicates that indexing is complete (green dot).

💥 Outcome Summary

Expected: Other chunks in the file for actual functions, etc... within that file
Actual: Only code segments extracted is using directives.

📄 Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions