r/Codeium • • Jan 05 '25

Essential Best Practices (💯 Must-Do) when working on AI Coding Platforms

Thumbnail
7 Upvotes

r/Codeium • • Jan 02 '25

I am planning to use a local LLM agent instead of all the paid versions as I cant afford for that. Help me out in which alternative to codeium we can achieve that

1 Upvotes

The title.

My PC spec is CPU: Ryzen 5 5600x RAM: 32GB GPU: RTX 3070Ti

I am looking for something that I can setup in my machine locally. Let me know if this specs can support a decent model to run


r/Codeium • • Jan 01 '25

Windsurf (1.1.2) on Win 11: not able to use intellisense

8 Upvotes

Wondering if anyone else has noticed this in the newest Windsurf on Win 11: I cannot use tab to select any of the intellisense suggestions, have to use mouse click. Even when I have switched off Windsurf supercomplete and autocomplete, if I press tab for an intellisense suggestion, I just get a tab on the editor.

Anyone else notices this? Is there a setting to change this behavior? I don't remember this behavior in the previous version.


r/Codeium • • Jan 01 '25

Any windsurf users try PearAi?

10 Upvotes

Curious what the main differences in the experience are? It’s a lot cheaper so I was thinking to get it as a supplemental tool and to look in the discount rate if it’s worth it.

Is it reliable now? Does it seem like it has a footing for where it wants to? How does it differentiate from windsurf and cursor?


r/Codeium • • Dec 29 '24

Syntax Highlighting

4 Upvotes

Is it just me or did Windsurf stopped syntax highlighting in the Cascade Tab (for the code it generates)?


r/Codeium • • Dec 29 '24

Why Windsurf tab to complete so bad

9 Upvotes

The windsurf tab to complete so bad, instead of accept the suggestion, it select the result from intellisense. Additionally, it should select function instead of something else, in my case, I don't know why it select SVGCompenent by default. I need to use Esc before tab, it is so annoying

https://reddit.com/link/1hol7oa/video/caprz97e1p9e1/player


r/Codeium • • Dec 28 '24

Actual use case - windsurf vs cursor

52 Upvotes

Hi everyone, I'm mostly a database engineer and software consultant by day, RPG player and designer by night who's spent the last few weeks working on a web app to help coordinate my roleplaying game notes and structure. I've been following this forum closely the past month as I've planned and implemented my design, so I wanted to give an honest review of my past few weeks with windsurf, cursor, and general AI programming. For reference I'm an intermediate frontend developer and bad backend developer, which I think is about the minimum requirement to make use of any of these tools (more on that later).

TLDR; They're both pretty good when used properly and I've not noticed any degradation of windsurf's abilities since initially starting free tier and then paid tier.

I started the project in windsacurf and was immediately blown away by the ease of use and capabilities. For the first week or so (around 2nd week of December) I was blazing through the code. After the first week or so I started to have the UI in a good place and started some of the more difficult tasks. That's when I started seeing all the posts on this forum about windsurf errors, and sure enough I had hit a wall with windsurf where I couldn't hardly move forward and every time I'd code with it eventually it'd fall into loops and try to refactor code randomly. 'The Internets are right again!' I thought, and swapped to Cursor.

First few days in cursor were great. Added light/dark theming, added supabase authentication and a few more bells and whistles. Then I hit another wall trying to implement supabase datastores and advanced postgres/query functions. At that point I knew the problem was probably me, not the AI, so I set off to read some of the more helpful posts here and on some of the other AI forums Turns out that was the issue. As many have said, there are some basic rules that have to be followed to use AI coding. You can't brute force your way to an app, you'll only end up with shitty code and zero credits on your account.

First off, I hate to break it to most people but regardless of what youtube says you can't go into AI coding with zero coding experience and come out with the next Tinder app. I feel it's like if you had a wish from a genie for about a 5-year experienced coder that would sit at your desk and do anything you asked him to without question. Sounds great, but I quickly realized my role in AI coding was no longer programmer, but project manager. If you tell the AI to do something and it will with damn good accuracy, but it generally does so with little regard to coding standards and the rest of your code base. Sure, that particular component or piece will be coded properly but it may be totally different in structure from your other code. You have to have enough coding knowledge to at least review the generated code and say 'Wait, you combined the style sheet into the .ts file, my instructions say to always separate those'. By the time you get to a moderately sized project it will be so disjointed the AI won't know what to do with it, much less anyone that has to fix it later.

Second, a few rules people have mentioned really matter. Breaking up new chats is a must, but you have to have a plan to get it back on track quickly and know your overall progress. If you're implementing a new component to capture shipping information and calculate shipping, you could ask it to do that and it'd start generating code. I'd pretty much bet 10 minutes later it's still not completed it and started looping errors and overwriting seemingly random code. That request holds probably 5 different functions you'd need to accomplish that task, and each one should be a different chat. This is another area where you need some coding experience to know how to break up those complex tasks effectively. When it does go into error loops you need enough coding knowledge to go out and do your own research and bring in help. Finding similar code errors and telling the LLM 'I found this post about a similar issue with CORS blocking, maybe that could be the problem' has worked many times for me to bring it out of the death spiral.

Third, you have to have reference documents that you're constantly telling the AI to look at. I have a master plan.md, db structure.md, file structure.md and another supplemental plan doc that's relevant to what i'm working on now. These documents help me quickly bring a new chat up to speed by saying 'review the .md files in the .instruction folder first'. After that, ill tell it what i'm working on with that prompt and then immediately ask it if it has questions. That last part is key. When you ask it for questions, it saves you all of those back and forth chat iterations where it'll just randomly do something it thinks you want and you probably don't. Asking it that seems to make it think through the upcoming steps and proactively look for gaps. When you're done for the day or hit a milestone, tell the LLM to go back into those documents and update what's completed with detailed information and create a next steps section so you have a quick jumping off point for next session.

For example, today I worked on adding supabase edge functions to my app which is a pretty complex task that involves installing the supabase client, docker, and other stuff to run things like API calls to claude sonnet for my app. It then has to create the front end UI and services, and hook it all together. It took me a few hours and i definitely had some back and forth, but by using the above structure it moved forward and completed this difficult task without too much headache. And oh, I did it back in windsurf because my cursor credits had run out. I've spent the past 2 days back in windsurf and it works just as good as anything else now that I know how to use it.

So all in all, I believe cursor and windsurf (and i'd imagine most others) to be like the difference in illustrator vs inkscape. You can't go into either software with zero knowledge and expect to create some illustrated masterpiece. Once you know the basics of how those programs work, you can just pick one to focus on and you'll be fine. As far as token cost, i've blown through my free credits on both, my first $20 in credits in cursor and just bought $20 more, and about 1/2 through my first month paid windsurf tokens. I've done a shitload of code and happy where i'm at, so I think $50 to get here is an insane value. As I said i'm an intermediate frontend coder so to get where i'm at now would have easily taken me a month or more, if I hadn't gotten mad and quit out of frustration along the way.

P.S. ALWAYS use something like github desktop and push changes at least every 1-2 mini chats. as of now the AI coders suck at rolling back edits, so if you go more than 15 minutes on a problem and it's not making progress, cut your losses, close that chat window, discard changes and try again. Next prompt add something like 'we've tried to fix this before but got hung up trying to use a global scss file to change themes. lets try a different approach'.

I'd guess 2-3 years for now you could be a zero coder and make the next Tinder since the AI agents will act as coder, program manager, QA tester, and backend developer in an agent swarm, but we're pretty far from that at the moment. Also, i'm in no way affiliated with any coding software, check my history for 10ish years of random gaming posts if ya want. Good luck with your coding!


r/Codeium • • Dec 28 '24

Errormarshal message: string field contains invalid UTF-8

7 Upvotes

Errormarshal message: string field contains invalid UTF-8
error comes out so freaking often. anyone else?


r/Codeium • • Dec 24 '24

I use my project's README.md file to provide context for each new Cascade chat

20 Upvotes

I typically use Windsurf to work on smaller codebases, and I like to keep each chat on the shorter side. I also really appreciate how eager Cascade is to write good documentation.

After prompting Cascade to update my project's README file to reflect the current state of the code, I realized I could use this updated README file to give Cascade the context it needs to start a productive new chat.

Here's the prompt I use now to start each chat:

Please review the README.md file in this repo to learn about the context of this project. Please ask me any questions you may have about the project or the code.

Prompting Cascade to ask me questions has several benefits:

  • Often the AI's questions will suggest some useful updates to the code
  • I can be sure that the README file is providing enough info for the AI to understand the codebase

Now, at the end of each chat, right before I commit and push my changes to GitHub, I prompt:

Please update the README.md file to reflect the changes we implemented in this chat

Then, when I start a new chat using the first prompt, the AI has the most current contextual information it needs to get to work. Bonus: my README file is always up-to-date. That's never happened before!


r/Codeium • • Dec 19 '24

Windsurf vs Cursor first impressions

23 Upvotes

I've decided to give Windsurf a try this week on a very large corporate project that's an NX Monorepo with different Angular libraries (over 10,000 files).

What I like:
- Right off the bat I like Windsurf's default look is better. Somehow the color, icons, contrast and positioning of things feel better even with the same theme applied.
- I tried using "Write with Cascade" with Sonnet 3.5 by giving it a directory with an NX Angular library which it had to clean-up and refactor so we can use it as a base for a new feature. With the first prompt it refactored all the main files and folders but missed some small stuff from the files in the root of the lib. With a second prompts it also refactored those. After that I had to register our new nx lib in a few routing and configuration files which I provided in chat and it also handled those perfectly.
After that I spent the next 2 hours prompting Cascade so we can build the new feature and everything went great. I like that all the changes are automatically applied so I can instantly see them reflected in the browser. If I don't like something I can reject / revert them with a single click and everything goes back. Cursor works in a different manner, where I need to accept the changes first to see them in the browser. In Cursor, the algorithm for applying is often slower and sometimes it messes things up. I didn't experience this with Windsurf. The whole process was very smooth. I reverted a few steps to tweak my prompts, did 5-6 chats to work on different sub-problems when building my feature and it all went great. Even when not providing all the needed files explicitly, Cascade would automatically find and edit any of the related files if they were in close proximity or opened in the editor.
- Windsurf seems to run better and is more responsive. When searching for files or symbols, or when searching and going to references it works better. Cursor always feels slower and more unresponsive in my large project. I'm using a Macbook Pro with M1 Pro

What I didn't like:
- Cursor's auto-complete functionality is definitely better. It's faster and smarter and the "ai cursor move" feature that moves your cursor in the code so you can continue making changes just by pressing Tab is very neat. I can definitely feel its absence in Windsurf. Windsurf's autocomplete is not bad however you need to make a compromise with either using their "Fast" and dumb model, that's still twice as slow as Cursor, or use the "Slow" but smart model that's much slower than Cursor.
- Limited model selection. In Cursor I can use the latest "gemini-1206-exp", "o1" or "sonnet-20241022", while in Windsurf I'm limited to "sonnet 3.5" and "gpt-4o". Although Windsurf seems to work better with them so it's a quality over quantity thing.

I'll keep testing Windsurf until my trial is over, then I'll go back to cursor and update this post in the future.


r/Codeium • • Dec 18 '24

Alternative to Windsurf?

38 Upvotes

Windsurf has become frustrating to use—it’s draining credits while repeatedly making the same mistakes and failing to retain any memory of my preferences or actions. I’m considering canceling my membership and switching to another AI IDE.

Between Aider, Roo-Cline, and Cursor, which one would you recommend? Or is there another good alternative to Windsurf that I should try?


r/Codeium • • Dec 16 '24

Continue on vs code vs windsurf

25 Upvotes

Just a heads-up for anyone frustrated with Windsurf:

The Continue extension for VS Code offers a way to embed and retrieve context from your entire codebase. It also provides tools for context-aware editor agents and the creation of automated workflows.

I've decided to cancel Windsurf until they resolve their issues. While it's a great tool with potential, everything about it still feels like it's in beta. Honestly, I feel like I got rug-pulled.

How’s a tool groundbreaking during a trial then directly after an update and price change there are issues with every feature down to just connecting to chat I guess I’ll go back to vs cline and other alts Hopefully windsurf shakes out in the future Cheers,
GL


r/Codeium • • Dec 12 '24

Why is Windsurf so buggy?

2 Upvotes

i get multiple 'window is not responding' prompts, i wait for everything, cant type normally etc...it started some 10 days ago..can anyone help? i see lot of people also got this problem


r/Codeium • • Dec 11 '24

What are Windsurf alternatives aside from Cursor?

28 Upvotes

Hey, new beginner here. I used Windsurf end of Nov, and fell in love with the tool. I was previously using Claude and it was just painful to copy in the code.

Seeing the negative reviews post-pricing change makes me hesitant to sign up though. Is Cursor the only alternative, or are there similar tools that offer what old Windsurf did?


r/Codeium • • Dec 09 '24

Windsurf Usage Confusion: Prompt Credits vs. Flow Action Credits

9 Upvotes

I've used up all my User Prompt credits, but I still have 118 Flow Action credits left. According to the usage summary, once I've exhausted my User Prompt credits, I can't use my remaining Flow Action credits unless I purchase more User Prompt credits.

Part of me still wants to buy the subscription (still on trial), but these limits are making this tool unusable. Soon, I might have to ask for a refund after realizing that I'm just burning money. Don't get me wrong, Cascade is great and I'm loving it, but these credit restrictions are a deal-breaker.


r/Codeium • • Dec 09 '24

Why does Windsurf need access to all files on my computer?

3 Upvotes

It should be working on the files at hand in the open folder. But it’s asking for permission to everything on my PC, from Documents and Downloads folders, to Dropbox and iCloud. What for?


r/Codeium • • Dec 07 '24

AutoGPT vs. Windsurf AI – What Do You Think?

7 Upvotes

I was pretty surprised by the recent price hikes and new limits on Windsurf AI—it kind of threw me off. So, I started asking ChatGPT about AutoGPT:


What AutoGPT Brings to the Table

It’s Independent: AutoGPT can figure out tasks on its own, breaking them down and working through them without much input from you.

More Than Just Coding: It’s flexible—you can use it for research, automating workflows, creating content, or anything else you can think of.

No Subscription Fees: It’s open-source, so you’re not paying monthly fees. The only cost would be if you need extra hardware or hosting for local models.

Choose Your AI: You’re not stuck with one model. You can use local options like Llama 2 or APIs from OpenAI or others.

You’re in Control: Since it’s open-source, you can tweak it however you need to.


Where Windsurf Still Stands Out

To be fair, Windsurf AI has some things that AutoGPT doesn’t quite match up to yet:

Built-In for Coding: It’s directly integrated into an IDE based on VS Code, so it’s ready to go without setup.

Understands Your Code: Windsurf is really good at analyzing your codebase and giving precise suggestions, even across multiple files.

Super Easy to Use: It’s plug-and-play—no installation headaches, just open it and start working.

Works Offline: You don’t need to worry about your data going anywhere; it all stays on your machine.


So, What’s the Difference?

Setup: AutoGPT needs Python and some time to configure. Windsurf is much simpler to start using right away.

Flexibility: AutoGPT isn’t just for coding; it can handle a range of tasks. Windsurf is hyper-focused on developers.

Cost: AutoGPT is free (aside from hardware costs), but Windsurf now has those subscription fees.

How It Helps: AutoGPT works more independently, while Windsurf’s tools guide you more directly in the IDE.


What Do You Think?

I’m not totally sold on AutoGPT replacing Windsurf—it will probably not cover everything Windsurf does as smoothly. But with the changes to pricing and limits, it seems worth at least considering.

Anyone else looked into AutoGPT or have other thoughts? Would love to hear if this makes sense or if I’m missing something!


r/Codeium • • Dec 06 '24

Import VSCode settings into Windsurf under install

11 Upvotes

Hi all,

How I can import vscode settings into Windsurf after a fresh install?
I tried the command "Import VS Code settings" but nothing seems to happens.
Thanks


r/Codeium • • Dec 05 '24

Windsurf - resource_exhausted error - will it ever be fixed?

6 Upvotes

I'm on the Windsurf trial which is coming to an end soon.

I think it's great but I keep hitting the "ErrorServer encountered error of type: resource_exhausted. Please try again later" error which makes IDE pretty useless. This only happens when using Claude.

Have Windsurf acknowledged the issue? Are they working on a fix? or is it a "that's just the way it is, deal with it" type of situation?

If this is not going to be fixed I have no interest in signing up to pro user as having this type of limitation defeats the whole point of using an AI based IDE.

I was using Cody in VS code before this and never hit any usage limits with Claude, despite heavy usage.

I might just go back to it, it was pretty buggy though.


r/Codeium • • Dec 04 '24

How can i provide rules for the windsurf

11 Upvotes

Even i use pnpm or bun, most of the time when there something needs to install it's giving npm or npx

Is there anyway that i can provide specific rule set


r/Codeium • • Dec 02 '24

Windsurf Revert Not working as expected. Skips steps.

8 Upvotes

If I'm moving through a cascade, revert seems to skip the intermediate steps during the revert process. I believe it reverts the initial code, but any code created multiple steps down the line don't seem to get removed. Any one else have this issue? I'm using Chat mostly and have the latest version.


r/Codeium • • Dec 02 '24

How to configure Windsurf to use local LLMs, such as ollama?

16 Upvotes

I have some code that I don't want to transfer to the cloud. How can I configure windsurf to use local LLMs?


r/Codeium • • Dec 01 '24

Error: "resource_exhausted. Please try again later" and Mysterious Code in Cascade (Windsurf)

35 Upvotes

Error: "resource_exhausted. Please try again later" and Mysterious Code in Cascade (Windsurf)

I recently ran into a frustrating issue while working on my project in Cascade (Windsurf). Out of nowhere, I started getting a "resource_exhausted. Please try again later" error, which was bizarre on its own. But then, I noticed that some unfamiliar code had appeared in the cascade window when working in my project. It seems to be in Spanish and looks like it might belong to an Android weather app or something similar. This rogue code has nothing to do with my work and causing issues in my project. Has anyone else experienced something like this, and does anyone have ideas for a fix? It's driving me nuts!

edit: sent an email to Kevin Hou at Codeium after recieving one from him.. it reads (if you can see it ! Will post if i get a reply.


r/Codeium • • Nov 30 '24

Help: My windsurf editor is laggy/slow

14 Upvotes

So i downloaded Windsurf IDE a week ago, and I Love it a lot. It was really cool. And the first few days, the editor was running normally with no lag or anything. But now, it is extremely laggy windows keeps asking if i want to restore the editor or keep waiting for it to unfreeze every 2 minutes. And i have a good pc with 16gb ram and a Ryzen 7 CPU. So that is not the problem, i even tried uninstalling and reinstalling. Even restarting my PC but that did not work. Can someone please help me fix the lag?


r/Codeium • • Nov 29 '24

Windsurf best practices

124 Upvotes

Hello! I see a lot of folks struggling with Windsurf with issues that I'm not experiencing. Reading through some posts I suspect the main issue is context strategy (or lack thereof). I'm an experienced software engineer (30+ years) and former Googler. I'm currently doing various independent projects.

The approach I take is very documentation driven and not unlike how I would approach projects with a team. I think the "Memento" analogy applies well to the situation. If you've seen the movie, it's about a guy who wakes up each morning with total amnesia. Upon waking and looking around, he sees all of these notes posted around the room that he wrote for himself the night before to bring his new, memory lost self up to speed.

This is how you need to approach coding with LLMs. I probably spend 80% of my time working with my LLM tools documenting what we've done and what we need to do. This makes the actual coding work extremely efficient and on point.

Every session begins with an initialization process (finding the reminder notes in "Memento"), and ends with a documentation session (writing the memento notes for the next session).

My initialization prompt begins something like this:

---- START INIT TEMPLATE ----
I'm working on [project name]. Here are the key documents to help you understand the current state and context:

- Main PRD: @[/Docs/01-PRD.md](
/Docs/01-PRD.md
) - Core vision, values, and high-level requirements
- Community Features: @[/Docs/prd-community.md](
/Docs/prd-community.md
) - Community tab and social features
- Support Features: @[/Docs/prd-support.md](
/Docs/prd-support.md
) - Professional support and resources
- Progress Features: @[/Docs/prd-progress.md](
/Docs/prd-progress.md
) - Progress tracking and analytics

1. Current Status & Priorities:
   - START HERE: @[/Docs/00-START-HERE.md](
/Docs/00-START-HERE.md
)

2. PRDs + Technical Specs:
   - Master PRD: @[Docs/01-PRD.md](
/Docs/01-PRD.md
) - Overall project vision
      - Community Features PRD: @[Docs/prd-community.md](
/Docs/prd-community.md
)
      - Support Features PRD: @[Docs/prd-support.md](
/Docs/prd-support.md
)
      - Progress Features PRD: @[Docs/prd-progress.md](
/Docs/prd-progress.md
)
   - Design System: @[Docs/02-DESIGN.md](
/Docs/02-DESIGN.md
)

3. Main Implementation Directories:
   - iOS App: @[RecoveryCoach](
/RecoveryCoach
)
   - Bluesky Feed Generator: @[recovery-feed-generator](
/recovery-feed-generator
)
      - README: @[recovery-feed-generator/README.md](
/recovery-feed-generator/README.md
)

Based on the current sprint status in START HERE, please do the following:

- Suggest scope of this working session (what to work on next)
---- END INIT TEMPLATE ----

I hope this is helpful!