• Technologies
  • AI Tips and Tricks
  • Frontend
  • Backend
  • Server
  • Contact
  • About
Wednesday, May 14, 2025
Adnan Halilovic Blog
  • Technologies
    • All
    • Angular
    • Git
    • JavaScript
    • ReactJS
    VS Code Setup for Angular Developers Featured Image

    Best VS Code Setup for Angular Development

    Mastering DevTools: Supercharge Your Workflow with Code Snippets!

    Mastering DevTools: Supercharge Your Workflow with Code Snippets!

    Quokka.js and Wallaby.js Giveaway

    Quokka.js and Wallaby.js Giveaway

    How to Work on Different Git Branches at the Same Time?

    How to Work on Different Git Branches at the Same Time?

    Lazyload Standalone Components in Angular

    Lazyloading Standalone Components in Angular

    Standalone Components Angular

    How to Create Standalone Components in Angular

    Private Routes in React Router V6

    Protecting Routes in React JS

    How to setup routing in ReactJS

    How to setup routing in ReactJS

    Retry Error HTTP Requests in Angular (without retryWhen)

    Retry Error HTTP Requests in Angular (without retryWhen)

  • AI Tips and Tricks
  • Frontend
  • Backend
  • Server
  • Contact
  • About
No Result
View All Result
  • Technologies
    • All
    • Angular
    • Git
    • JavaScript
    • ReactJS
    VS Code Setup for Angular Developers Featured Image

    Best VS Code Setup for Angular Development

    Mastering DevTools: Supercharge Your Workflow with Code Snippets!

    Mastering DevTools: Supercharge Your Workflow with Code Snippets!

    Quokka.js and Wallaby.js Giveaway

    Quokka.js and Wallaby.js Giveaway

    How to Work on Different Git Branches at the Same Time?

    How to Work on Different Git Branches at the Same Time?

    Lazyload Standalone Components in Angular

    Lazyloading Standalone Components in Angular

    Standalone Components Angular

    How to Create Standalone Components in Angular

    Private Routes in React Router V6

    Protecting Routes in React JS

    How to setup routing in ReactJS

    How to setup routing in ReactJS

    Retry Error HTTP Requests in Angular (without retryWhen)

    Retry Error HTTP Requests in Angular (without retryWhen)

  • AI Tips and Tricks
  • Frontend
  • Backend
  • Server
  • Contact
  • About
No Result
View All Result
Adnan Halilovic Blog
No Result
View All Result

Boosting Productivity with AI-Powered IDEs: My Workflow with Windinsurf

In today's fast-paced development environment, leveraging AI tools can dramatically enhance your productivity. If you're using AI-powered IDEs like Windinsurf, you’re in for a powerful experience. In this article (and in the video below), I’ll walk you through some practical tips and a real-world example of how I’ve configured Windinsurf to automate repetitive tasks, streamline Angular development, and boost my daily productivity.

Adnan Halilovic by Adnan Halilovic
May 12, 2025
in AI Tips and Tricks, IDE
0
0
SHARES
9
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

Why I Switched to Windinsurf

After years with Visual Studio Code, I made the switch to Windinsurf. The built-in AI assistant, Cascade, combined with deep workspace integrations and memory management features, was too compelling to ignore.

In a previous video, I covered why I switched. Today, I’m diving deeper—showing you how to configure Windinsurf’s rules and memory system to supercharge your Angular development workflow.

Using Cascade Rules to Guide AI Behavior

One of the most powerful features in Windinsurf is the ability to define “rules”—sets of instructions that tell Cascade how to behave when responding to prompts.

These rules can be configured at two levels:

  • Global Rules: Apply to all your projects. Ideal for shared tech stacks or consistent coding styles.
  • Workspace Rules: Apply only to a specific project folder.

Example: Defining a Style Guide Rule

Let’s say you’re working on an Angular project that follows a specific structure: every new page must import a shared HeaderComponent, update the navigation bar, and register new routes.

Here’s how you can define that as a workspace rule:

ADVERTISEMENT
## Component or Page Creation

Whenever creating a new component or page:
- Use `HeaderComponent` from the shared folder
- Import the header and manage all necessary imports
- Update the navigation bar with a link to the new page
- Update `app.routes.ts` with the new route

💡 Tip: Windinsurf supports Markdown-based rule definition and automatically applies them as long as your total combined global + workspace rules stay under 12,000 lines (6,000 each).

After saving, don’t forget to refresh the rules from the “Manage Memories” section.

Real-World Example: Creating an Authors Page

To demonstrate the power of these rules, I asked Cascade to create a new Angular page for listing authors. The prompt was simple:

“Create a page with a list of authors (mock data, 15 authors) in a table that matches the current design. Use the shared header component and update navigation + routing accordingly.”

Thanks to the rules, Cascade:

  • Generated the component structure
  • Used the shared HeaderComponent
  • Updated the Angular routes
  • Added a link to the navigation bar
  • Matched the styling using existing SCSS and component structure

Preview of the Result

  • ✅ AuthorsListComponent was created with proper imports.
  • ✅ Navigation bar was updated.
  • ✅ app.routes.ts was edited to include the new page.
  • ✅ Styling matched the existing components.

This kind of automation is a game changer. It saves time and ensures consistency across your project.

ADVERTISEMENT

Activation Modes: Manual vs Always-On

Windinsurf also lets you configure how rules are activated:

  • Manual Mode: Trigger rules by mentioning them (e.g., @rule-name) in your prompt.
  • Always-On: Rules apply to every prompt automatically.

For my productivity setup, I prefer Always-On for foundational rules like component creation and routing.

Smart Use of Providers and Credit Management

Windinsurf supports multiple language model providers (e.g., GPT-4.1, DeepSeek). To optimize performance and cost:

  • Use GPT-4.1 for complex tasks like component generation
  • Switch to free providers like DeepSeek for simpler tasks like generating commit messages

This ensures that your credits are used wisely without compromising on output quality.

Final Thoughts

By customizing your IDE’s AI behavior through well-thought-out rules and prompts, you can unlock a new level of productivity. Windinsurf is more than just an editor—it’s a development assistant that adapts to your workflow.

Whether you’re building Angular apps or any other modern web stack, these techniques can help you automate boilerplate tasks and stay focused on what matters: solving problems and shipping features.

🔧 Tools Used

  • Windinsurf (AI-powered IDE)
  • Cascade (Built-in AI Assistant)
  • Angular CLI for project generation
  • GPT-4.1 / DeepSeek for different types of AI interactions

If you found this useful, consider subscribing to my YouTube channel for more tutorials on Angular, productivity tools, and modern web development.

Have you tried customizing your AI IDE yet? What are your favorite prompts or rule sets? Let me know in the comments!

Source: Adnan Halilovic YouTube Channel
Tags: Ai CodingAI ToolsWindsurf
ADVERTISEMENT
Previous Post

Why I Switched from VS Code to Windsurf — An AI Code Editor That Changed My Workflow

Next Post

The One MCP Server Every Developer Should Be Using

Related Posts

The One MCP Server Every Developer Should Be Using
AI Tips and Tricks

The One MCP Server Every Developer Should Be Using

May 13, 2025
Why I Switched from VS Code to Windsurf — An AI Code Editor That Changed My Workflow
AI Tips and Tricks

Why I Switched from VS Code to Windsurf — An AI Code Editor That Changed My Workflow

May 12, 2025
The Best Coding Font to Boost Your Productivity!
IDE

The Best Coding Font to Boost Your Productivity!

October 17, 2024
VS Code Setup for Angular Developers Featured Image
Angular

Best VS Code Setup for Angular Development

October 13, 2024
My Top 5 Uncommon VS Code Extensions for 2024!
Frontend

My Top 5 Uncommon VS Code Extensions for 2024!

January 27, 2024
Next Post
The One MCP Server Every Developer Should Be Using

The One MCP Server Every Developer Should Be Using

Latest posts

The One MCP Server Every Developer Should Be Using
AI Tips and Tricks

The One MCP Server Every Developer Should Be Using

by Adnan Halilovic
May 13, 2025
0

What Is Context 7 MCP Server? Context 7 is a Model Context Provider (MCP) server that delivers real-time documentation and metadata to...

Read moreDetails
Boosting Productivity with AI-Powered IDEs: My Workflow with Windinsurf

Boosting Productivity with AI-Powered IDEs: My Workflow with Windinsurf

May 12, 2025
Why I Switched from VS Code to Windsurf — An AI Code Editor That Changed My Workflow

Why I Switched from VS Code to Windsurf — An AI Code Editor That Changed My Workflow

May 12, 2025
The Best Coding Font to Boost Your Productivity!

The Best Coding Font to Boost Your Productivity!

October 17, 2024
VS Code Setup for Angular Developers Featured Image

Best VS Code Setup for Angular Development

October 13, 2024
Github LinkedIn Youtube Twitter Pinterest Instagram Reddit

About Me

Adnan Halilovic Blog

Adnan Halilović

Software Developer - Content Writer

I am Adnan Halilović, the man behind the website and channels that you are currently reading and viewing!

I am a software developer with over 15 years of expertise in a variety of fields.

Newsletter

Country:

Email address:


Recent from Instagram

    The Instagram Access Token is expired, Go to the Customizer > JNews : Social, Like & View > Instagram Feed Setting, to refresh it.

© 2022 Adnan Halilovic - Software development content, tips & tricks.

Click to Copy
No Result
View All Result
  • Technologies
  • AI Tips and Tricks
  • Frontend
  • Backend
  • Server
  • Contact
  • About

© 2022 Adnan Halilovic - Software development content, tips & tricks.