<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Features on Software Factory</title><link>/use/tools/code-companion/features/</link><description>Recent content in Features on Software Factory</description><generator>Hugo</generator><language>en</language><atom:link href="/use/tools/code-companion/features/index.xml" rel="self" type="application/rss+xml"/><item><title>Code Companion - Modes</title><link>/use/tools/code-companion/features/modes/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/use/tools/code-companion/features/modes/</guid><description>&lt;h2 id="modes-in-code-companion"&gt;Modes in Code Companion&lt;a class="td-heading-self-link" href="#modes-in-code-companion" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Code Companion offers multiple modes for working with your code and interacting with the AI and
tools, each for distinct workflows and safety levels. The main modes are &lt;strong&gt;Plan&lt;/strong&gt;, &lt;strong&gt;Chat&lt;/strong&gt;
, and &lt;strong&gt;Agent&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id="plan-mode"&gt;Plan Mode&lt;a class="td-heading-self-link" href="#plan-mode" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Plan Mode is designed for safe, read-only exploration and analysis of your codebase. It restricts
the system to non-destructive actions, allowing you to search, read, and analyze code without making
changes.&lt;/p&gt;</description></item><item><title>Code Companion - Agentic</title><link>/use/tools/code-companion/features/agentic/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/use/tools/code-companion/features/agentic/</guid><description>&lt;h2 id="how-agent-mode-works"&gt;How Agent Mode Works&lt;a class="td-heading-self-link" href="#how-agent-mode-works" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Agent mode equips the Chat model with the tools needed to handle a wide range of coding tasks,
allowing the model to make decisions and save you the work of manually finding context and
performing actions.&lt;/p&gt;

 &lt;link rel="stylesheet" href="/css/vendors/admonitions.css"&gt;
 &lt;div class="admonition warning"&gt;
 &lt;div class="admonition-header"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"&gt;&lt;path d="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"/&gt;&lt;/svg&gt;
 &lt;span&gt;Warning&lt;/span&gt;
 &lt;/div&gt;
 &lt;div class="admonition-content"&gt;
 &lt;p&gt;Please note that when working on &lt;strong&gt;unusually large&lt;/strong&gt; projects on IntelliJ, you may
experience some interruptions while launching /init command.&lt;/p&gt;</description></item><item><title>Code Companion - Plan</title><link>/use/tools/code-companion/features/plan/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/use/tools/code-companion/features/plan/</guid><description>&lt;h2 id="plan-mode-in-continue--safe-read-only-code-exploration"&gt;Plan Mode in Continue – Safe, Read-Only Code Exploration&lt;a class="td-heading-self-link" href="#plan-mode-in-continue--safe-read-only-code-exploration" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;Learn how to use Plan Mode in Continue to explore and understand codebases safely with read-only
tools, search, and analysis before making changes&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id="what-is-plan-mode"&gt;What is Plan mode?&lt;a class="td-heading-self-link" href="#what-is-plan-mode" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Plan mode is a restricted environment that provides read-only access to your codebase. It&amp;rsquo;s designed
for safe exploration, understanding code, and planning changes without making any modifications.&lt;/p&gt;
&lt;p&gt;&lt;img src="../../img/plan-mode.png" alt="plan-mode"&gt;&lt;/p&gt;
&lt;h4 id="what-are-the-key-features-of-plan-mode"&gt;What Are the Key Features of Plan Mode?&lt;a class="td-heading-self-link" href="#what-are-the-key-features-of-plan-mode" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Read-only tools&lt;/strong&gt;: Access files, search, and analyze without risk&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Safe exploration&lt;/strong&gt;: Perfect for understanding unfamiliar codebases&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Planning focus&lt;/strong&gt;: Develop implementation strategies before execution&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MCP support&lt;/strong&gt;: Works with all MCP tools alongside built-in read-only tools&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id="how-plan-mode-works"&gt;How Plan Mode Works&lt;a class="td-heading-self-link" href="#how-plan-mode-works" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;Plan mode filters the available tools to only include read-only operations. This means you can:&lt;/p&gt;</description></item><item><title>Code Companion - Chat</title><link>/use/tools/code-companion/features/chat/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/use/tools/code-companion/features/chat/</guid><description>&lt;h2 id="quick-start"&gt;Quick Start&lt;a class="td-heading-self-link" href="#quick-start" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;Chat makes it easy to ask for help from an AI without leaving your IDE. Get explanations, generate
code, and iterate on solutions conversationally.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;img src="../../img/demo-chat-ccV2.gif" alt="chat"&gt;&lt;/p&gt;
&lt;h3 id="basic-usage"&gt;Basic Usage&lt;a class="td-heading-self-link" href="#basic-usage" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;h4 id="1-start-a-conversation"&gt;1. Start a Conversation&lt;a class="td-heading-self-link" href="#1-start-a-conversation" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;Type your question or request in the chat input and press Enter.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Examples:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;ldquo;Explain this function&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&amp;ldquo;How do I handle errors in this code?&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&amp;ldquo;Generate a test for this component&amp;rdquo;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id="2-include-code-context"&gt;2. Include Code Context&lt;a class="td-heading-self-link" href="#2-include-code-context" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;Select code in your editor, then use the keyboard shortcut to include it in your chat:&lt;/p&gt;</description></item><item><title>Code Companion - Autocomplete</title><link>/use/tools/code-companion/features/autocomplete/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/use/tools/code-companion/features/autocomplete/</guid><description>&lt;h2 id="quick-start"&gt;Quick Start&lt;a class="td-heading-self-link" href="#quick-start" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="how-to-use"&gt;How to use&lt;a class="td-heading-self-link" href="#how-to-use" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;span style="background-color: #6F9CDE; color: white; padding: 0.1em 0.4em; border-radius: 0.2em; display: inline-flex; align-items: center; gap: 0.3em;"&gt;
 &lt;img src="../../img/vscode-logo.png" alt="icon" style="height: 1em; vertical-align: middle;" /&gt;
 VSCode
 &lt;/span&gt;
 
&lt;p&gt;If autocomplete is on, a checkmark will appear in the status panel at the bottom right. If it&amp;rsquo;s off,
a crossed-out circle will appear.&lt;/p&gt;
&lt;p&gt;Click the Code Companion button in the status panel at the bottom right of the screen.
A drop-down list will open in the search bar at the top. Click on Disable/Enable autocomplete.&lt;/p&gt;</description></item><item><title>Code Companion - Edit</title><link>/use/tools/code-companion/features/edit/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/use/tools/code-companion/features/edit/</guid><description>&lt;h2 id="quick-start"&gt;Quick Start&lt;a class="td-heading-self-link" href="#quick-start" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="how-to-use-it"&gt;How to use it&lt;a class="td-heading-self-link" href="#how-to-use-it" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Edit is a convenient way to make quick changes to specific code and files. Select code, describe
your code changes, and a diff will be streamed inline to your file which you can accept or reject.&lt;/p&gt;
&lt;p&gt;Edit is recommended for small, targeted changes, such as&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Writing comments&lt;/li&gt;
&lt;li&gt;Generating unit tests&lt;/li&gt;
&lt;li&gt;Refactoring functions or methods&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="highlight-code-and-activate"&gt;Highlight code and activate&lt;a class="td-heading-self-link" href="#highlight-code-and-activate" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Highlight the block of code you would like to modify and press &lt;code&gt;cmd/ctrl&lt;/code&gt; + &lt;code&gt;i&lt;/code&gt; to
active Edit mode. You can also enter Edit mode by pressing &lt;code&gt;cmd/ctrl&lt;/code&gt; + &lt;code&gt;i&lt;/code&gt; with
no code highlighted, which will default to editing the current file.&lt;/p&gt;</description></item><item><title>Code Companion - Built-in Tools</title><link>/use/tools/code-companion/features/built-in-tools/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/use/tools/code-companion/features/built-in-tools/</guid><description>&lt;h2 id="built-in-tools"&gt;Built-in Tools&lt;a class="td-heading-self-link" href="#built-in-tools" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Tools provide a flexible, powerful way for models to interface with the external world.
Code Companion includes several built-in tools which provide the model access to IDE functionality.&lt;/p&gt;
&lt;h3 id="1-read_file"&gt;1. read_file&lt;a class="td-heading-self-link" href="#1-read_file" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Use:&lt;/strong&gt;&lt;br&gt;
Use this tool if you need to view the contents of an existing file.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Type:&lt;/strong&gt;&lt;br&gt;
Automatic&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Description:&lt;/strong&gt;&lt;br&gt;
Use this tool if you need to view the contents of an existing file.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Arguments:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;filepath (string)&lt;/code&gt;: The path of the file to read, relative to the root of the workspace
(NOT uri or absolute path)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="2-create_new_file"&gt;2. create_new_file&lt;a class="td-heading-self-link" href="#2-create_new_file" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Use:&lt;/strong&gt;&lt;br&gt;
Create a new file. Only use this when a file doesn&amp;rsquo;t exist and should be created&lt;/p&gt;</description></item><item><title>Code Companion - MCP Server</title><link>/use/tools/code-companion/features/mcp-server/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/use/tools/code-companion/features/mcp-server/</guid><description>&lt;h2 id="mcp-server"&gt;MCP Server&lt;a class="td-heading-self-link" href="#mcp-server" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The Model Context Protocol (MCP) server enables connection with external tools, systems,
and databases by running MCP-compliant services. This allows for integration, extensibility, and
advanced interactions within your development environment.&lt;/p&gt;

 &lt;link rel="stylesheet" href="/css/vendors/admonitions.css"&gt;
 &lt;div class="admonition warning"&gt;
 &lt;div class="admonition-header"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"&gt;&lt;path d="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"/&gt;&lt;/svg&gt;
 &lt;span&gt;Warning&lt;/span&gt;
 &lt;/div&gt;
 &lt;div class="admonition-content"&gt;
 &lt;p&gt;MCP server is not available in version 3.x due to security reasons.&lt;/p&gt;</description></item></channel></rss>