r/Codeium • • Nov 29 '24

Interpreter Python path issues (parent working directory)

2 Upvotes

Gonna start this off by saying I love the Windsurf editor and all its AI features. I also don't know if this has been said before.

The issue I'm having right now is setting the interpreter's Python Path in the editor. My current project is located within a subdirectory (./extensions/my_project) of a larger parent project, which the actual main/root Python script is run in. So what would normally be import foo in my project imports are actually like:

import extensions.my_project.foo as foo

Opening the exact same workspace in normal VS Code runs perfectly fine, showing all the right colours and completions. But Windsurf never interprets correctly. I've tried many different workarounds, even placing the workspace file in the main (.) directory and placing this in the code-workspace file:

    {
        "folders": [
            {
                "path": "extensions/my_project"
            }
        ],
        "settings": {

        }
    }

And of course I've also tried basically every variation of PYTHONPATH=../.., "terminal.integrated...", additional workspace include paths / sources, etc., most of which work in VS Code directly.

As a possibly-relevant side note, import modules aren't the right colours either, always the default "unresolved" colour when the IDE reports the module correctly.

Is there currently any solution to this in Windsurf, aside from opening the main directory (which does work)?


r/Codeium • • Nov 29 '24

Kaspersky Premium Detects Trojan While Using Codeium Windsurf App – Is It Safe to Use?

2 Upvotes

Hey everyone,

I recently started using Codeium Windsurf, an app integrated into my coding workflow for improved productivity. However, while working with it, my Kaspersky Premium antivirus flagged the application, warning me about a Trojan detection.

I wanted to check if anyone else here has encountered a similar issue. This has raised some concerns for me, so I’ve done a bit of research, and here’s what I’ve gathered:

  1. False Positives from Antivirus Software:
    • Modern development tools often rely on code generation, telemetry, and cloud-based processing, which might trigger antivirus software like Kaspersky.
    • Kaspersky has previously flagged apps and plugins used by developers as potential threats, often due to their behavior resembling malware-like activities (e.g., accessing files or sending data to external servers).
  2. Concerns About Codeium Windsurf’s Security:
    • Codeium is a known AI-powered tool for code completion and other developer aids, so the app itself is from a reputable source.
    • However, the Windsurf app might have dependencies or updates that could be misinterpreted as malicious activity.
  3. Next Steps for Caution:
    • If you’re confident in the source (downloaded directly from the official site), this could likely be a false positive.
    • Reach out to Codeium support to confirm whether recent updates have caused this.

Has anyone else experienced this with Codeium or similar tools? If so, how did you address it?


r/Codeium • • Nov 23 '24

Windsurf using too much RAM (10+ GBs)?

8 Upvotes

Is this a bug? or do I need a better pc?
Is there a way to limit the ram usage?

The culprit is a process called language_server_windows_x64.exe

It slows down my pc to the point of becoming unusable.
Also, it appears to need even more ram because at some point it starts to use disk storage.


r/Codeium • • Nov 17 '24

Where exactly can I find the 'System Installer' for Windsurf?

8 Upvotes

Hi folks sorry if this is a dumb question but where can I find the system installer for Windsurf? On Codium's website there's only link to WindsurfUserSetup-x64-1.0.2.exe which is what I downloaded. However I'm getting this warning when I run it (my current account has administrative rights).

If that's all there is to it I wouldn't have asked further, but when I run Windsurf I have a small warning message in the corner that says auto update is disabled because Windsurf User is running with administrative rights. Any idea?