Cline and SuiteCloud Developer Assistant

SuiteCloud Developer Assistant is powered by Cline, an AI coding agent designed to work directly in Visual Studio Code. Using the relevant project files and context that Cline reads or includes, Cline can help you plan and implement changes, run multi-step tasks, and investigate issues.

The following best practices and tips are designed to help you get started quickly, work more efficiently, and avoid common pitfalls as you explore what Cline has to offer. These insights will help you streamline routine tasks, customize your prompts, and take advantage of powerful features to accelerate your SuiteCloud development experience. To make the most of Cline's dynamic coding approach, ensure your agent is set up for the best possible results.

Cline Best Practices

When working with Cline, it's important to structure your requests to produce accurate reasoning, safe execution, and consistent results. To effectively communicate with Cline, you should become familiar with the following features:

Context Management - Cline manages a working context window of recent actions, referenced files, task goals, and rules. This shared memory helps SuiteCloud Developer Assistant stay aligned with your project's conventions and decisions. For more information about Context Management, see Understanding Context Management.

Memory Bank - When configured and maintained, Cline Memory Bank can preserve selected project information across tasks. Treat this information as project documentation that must remain current, not as automatic or authoritative memory. For more information, see Cline Memory Bank.

Prompt Engineering - Well-structured prompts help Cline interpret your intent accurately and produce reliable results. Clear goals, relevant context, and specific instructions enable SuiteCloud Developer Assistant to generate more precise code and reasoning. For more information, see Prompt Engineering Guide.

Cline Optimal Settings

Configure your context window to 1,000,000 tokens and disable image support.

SuiteCloud Developer Assistant uses Cline as the interface to interact with large language models capable of supporting a 1,000,000-token context window. However, Cline defaults to a 128,000-token (128k) context window for OpenAI-compatible providers. This default can significantly limit the assistant's capabilities and may cause context truncation or compaction issues. You can manually configure Cline to use the full 1,000,000-token context window for better results.

Because images are not supported, disabling image options prevents confusion and error messages by making it clear that image uploads are not available.

To configure your context window to 1,000,000 tokens:

  1. In VS Code, open the activity bar and click the Cline extension.

  2. At the top of the Cline panel, click the gear icon to open the provider and model configuration.

  3. In the Model Configuration section, locate the Model Context Window or Context Window Size setting.

  4. Change the value from 128000 (128k) to 1000000 (1M).

  5. Click Done to save the changes.

To disable image support:

  1. In VS Code, open the activity bar and click the Cline extension.

  2. At the top of the Cline panel, click the gear icon to open the provider and model configuration.

  3. In the Model Configuration section, clear the Supports Images box.

Provider and model configuration showing the Supports Images and the Context Window Size options.

Cline Core Operational Modes

Cline operates in two primary modes, and the mode you enable determines how SuiteCloud Developer Assistant interacts with your project.

Plan Mode

In Plan Mode, Cline first prepares a clear plan of what it intends to do before making any changes to your files. This plan typically includes:

  • Which files will be read

  • Which edits will be applied

  • Which commands will be executed

This mode ensures transparency and prevents unintended changes. By reviewing the plan first, you can validate that SuiteCloud Developer Assistant has correctly understood your intent before it applies any changes. Enable Plan Mode by default unless you prefer full automation.

Act Mode

In Act Mode, Cline is allowed to perform the proposed actions as approved in the plan. This includes:

  • Applying edits

  • Running commands

  • Updating files

This mode is designed to support fast, iterative development when the user trusts the workflow. Use Act Mode only on trusted projects or after reviewing the plan.

To switch between the Plan and Act modes, refer to the Plan/Act switch next to the provider and model selector.

Plan and Act mode switch.

Automation in Cline

Cline includes automation features that further streamline development. These features reduce manual confirmations, but must be used deliberately based on the task and project sensitivity.

Auto-read - Auto-read lets Cline automatically read file contents when they are referenced during a task. This improves context awareness and reduces unnecessary prompts.

Enable Auto-read only for trusted projects whose files are permitted for use with SuiteCloud Developer Assistant.

Auto-edit - Auto-edit lets Cline automatically apply file changes without requiring manual approval of each edit. Although this can significantly speed up development, it may introduce risk if used without proper safeguards.

Only enable auto-edit when:

  • The project is trusted.

  • The execution plan has been reviewed.

  • The scope of the changes is small, controlled, or reversible.

Execute Safe Commands - This option lets Cline automatically run terminal commands without requiring user confirmation. This is useful for routine, non-destructive operations and testing workflows.

Execute safe commands where auto-approve is considered safe, including:

  • Testing

  • Linting

  • Reading logs/files

  • Running non-destructive commands

Should be avoided for:

  • File deletions

  • Git resets

  • Deployments

  • Migrations

  • Any destructive or irreversible commands

To enable or disable the automation options:

  1. Click the Auto-approve tab located above the Cline chat box.

  2. Select the actions you want Cline to take without requesting approval.

Auto-approve options: Read, Edit, Safe Commands.

Rules and Workflows in Cline

Rules allow you to give Cline system-level guidance, providing a persistent way to include context and preferences for your projects or for all conversations globally. For example, you can add a rule telling Cline to stop and explain the conflict if a patch cannot be applied safely, preserve unrelated code and comments, and request approval before rewriting the complete file.

With workflows, you can define a series of steps that guide Cline through repetitive tasks, such as deploying a service or submitting a pull request. Workflows are slash commands that let you quickly perform repeatable processes. For example, if you have a set sequence you use for code reviews, you can create a workflow and then invoke it with a slash command. Cline automatically runs each step, so you don't have to retype the process every time. You can create global and workspace-specific workflows, and to invoke them, type /workflow-name in the chat box.

Note:

Cline also offers out-of-the-box slash commands that are useful for quickly triggering specific actions or routines without manual navigation.

To access Cline rules and workflows, click the Manage Cline Rules & Workflows icon to the left of the provider and model selector.

Rules and Workflows icon to the left of the provider and model selector.

Native Tool Calling Setup

To add native tool calling setup, open Settings > About Cline and identify whether you are using the Next or Legacy package.

In Cline Next, native tool calling is enabled by default. In Cline Legacy, open Settings > Features > Agent > Native Tool Call and enable Use native function calling when supported. Legacy refers to the Cline package and not to NetSuite Classic.

Related Topics

General Notices