Skip to main content

StackSpot AI IDE Usage

StackSpot AI is a developer assistant. It suggests and helps you develop and get better codes. By utilizing the StackSpot AI platform, you can seamlessly install the extension into your integrated development environment (IDE) and engage with it to obtain answers enriched with higher-quality code.

Requirements

  • StackSpot AI: Code Buddy is only compatible with:
    • Visual Code Studio version 1.74.0 or later.
    • JetBrains IDE version.
    • Keep your IDE up to date.

Follow the steps below to download and use StackSpot AI

Step 1. Download the StackSpot AI Extension

Step 2. Access your IDE

This example is Visual Code

Then, on the left side, in the Activity bar, click on the extensions icon;

Step 3. On the upper search bar, search for 'StackSpot AI'

Click 'Install'.

See how to do it in the example below:

Gif showing how to install

Step 4. Sign up or log in with your email address

Follow the wizard’s instructions;

Image showing to add the email address

Image showing the how to install

Image showing the how to install

Step 5. You can start using the developer assistant

StackSpot AI IDE Resources

1. Project Indexing

On the right corner, click on the ‘More Options button …’. You can index your project to add more context to the chat.

Gif with the StackSpot AI IDE project indexing

For more information, see the Project Indexing page

2. Buttons on the chat box

There are four buttons on your chat box for choosing Agents, Workspaces, Knowledge Sources and Stacks. StackSpot AI will use it to help generate your responses.

  • Agents: Select only one Agent from the following options:

    • Built-in: StackSpot AI default Agents.
    • Personal: The Agent you created.
    • Account: Agent from your Account.
    • Shared: The one shared with you.
  • Workspaces: Choose the Workspace you prefer.

  • Knowledge Sources: You can choose one or more Knowledge Sources from the following:

    • Account: The Knowledge Sources are available on your account.
    • Personal: KSs you have created.
    • Shared: KSs shared with you.
  • Stacks AI: You can select Stack AIs from the Account, Personal and Shared.

See an example below:

Gif with four buttons that show up on the StackSpot AI IDE chat box

3. Creating a new chat

  1. To start a new chat, click the 'Add +' button on the top tab of your IDE.
  2. To view your past conversations, click the timer button on the screen's top right corner.

Gif showing how to create StackSpot AI IDE new chat

For more information, see the Chat History page

4. Use Agents

For more information, see the Use Agents page

5. Use Quick Commands

For more information, see the Use Quick Commands page

6. Use and Share Content (Quick Command, Knowledge Source)

For more information, see the Share Content page

Usage Example

See an example of how to use StackSpot AI on your IDE:

On your code project, write in the prompt:

  • User: I want to generate a bank slip in my application

StackSpot AI: Thinking...

StackSpot AI reviews your request and suggests more generic content without previous context.

StackSpot AI: I found an API to help you generate bank slips. Here is a possible integration. I suggest you create the bank_slip_api_integration.py file with this code.

See an example below:

Gif showing the how StackSpot AI works

Next Step