TronCode IDE User Manual

TronCode is an AI-powered intelligent code editor with a built-in AI assistant, enabling you to efficiently complete code generation, optimization, debugging, and more — all within a familiar editor environment.

Download & Install

Windows

  • System Requirements: Windows 10 or higher
  • Installation: Download the .exe file, double-click to run, and follow the setup wizard
Download for Windows

macOS

  • System Requirements: macOS 10.15 or higher
  • Installation:
    1. Extract the downloaded .zip file
    2. Drag TronCode.app to the Applications folder
    3. On first launch, go to System Settings → Privacy & Security and click "Open Anyway"
Download for macOS (Apple Silicon) Download for macOS (Intel)

TronCode Key Registration

Visit the official platform: TronCode Platform. Register and log in using your phone number and verification code.

Registration Steps

Step 1: Access the Registration Page

  1. Open your browser and go to the Platform Login Page
  2. Click the "Login" button
  3. Enter your phone number and log in / register with the verification code

Step 2: Apply for an API Key

  1. After logging in, navigate to the API Key Management page
  2. Click "Create API Key"
  3. Enter a name for the key (for easy management)
  4. Click "Create" to finish

Step 3: Save Your API Key

⚠️
Important: The API Key is only shown once. Be sure to copy and store it securely!

Using the Key

Configure Your API Key

Configure via the Settings Panel

  1. Open the TronCode application
  2. In the TRONIC CHAT panel on the right, enter your API Key and save

Key Management

Check Key Status

  • You can view the current key status in the settings panel
  • Displayed information includes: expiry date, remaining quota, and permission level

Update Your Key

  1. The system will notify you when your key is about to expire
  2. Visit your account page on the official platform to request a new key
  3. Update the key in settings

Key Security Tips

  • Do not share your API Key with others
  • Rotate your API Key periodically
  • If your key is compromised, immediately delete it on the platform and request a new one

Key Features

1. Intelligent Code Generation

  • Description: Generate high-quality code from natural language descriptions
  • Supported Languages: Python, JavaScript, Java, C++, Go, Rust, and other major languages
  • How to Use: Describe your requirement in the input box, select the target language, and review the generated code

2. Code Optimization & Refactoring

  • Description: Analyze existing code and provide optimization suggestions
  • Key Capabilities: Performance optimization, code style consistency, security vulnerability detection, best practice recommendations

3. Code Explanation & Documentation

  • Description: Generate clear explanations and documentation for complex code
  • Output Formats: Detailed function/class descriptions, parameter and return value docs, usage examples, Markdown-formatted documentation

4. Error Diagnosis & Fix

  • Description: Quickly locate and fix code errors
  • Supported Error Types: Syntax errors, logic errors, runtime errors, performance issues

Usage Guide

Chatting with TronCode

How to Chat with TronCode

Key tip: Simply type what you need in plain English — no special commands required.

Good examples:

Create a new file called utils.py and add a function named add that takes two numbers and returns their sum
In the file @src/components/Button.tsx, change the button color to blue

What makes requests effective:

  • Be specific: "Fix the bug in calculateTotal that returns incorrect results" beats "Fix the code"
  • Use @ mentions: Reference files and code directly with @filename
  • One task at a time: Break complex work into manageable steps
  • Include examples: Show the style or format you want

Chat Interface

  • Chat History: View your conversation and task history
  • Input Field: Type your request here (press Enter to send)
  • Action Buttons: Approve or reject TronCode's proposed changes
  • Plus Button: Start a new task session
  • Mode Selector: Choose how TronCode handles tasks

Common Mistakes to Avoid

Instead of this...Try this
"Fix the code""Fix the bug in calculateTotal that returns incorrect results"
Assuming TronCode knows the contextUse @ to reference specific files
Multiple unrelated tasks at onceSubmit one focused request at a time
Too much jargonClear, direct language works best

Usage Modes

Modes in TronCode are purpose-built agents that adjust the assistant's behavior based on the current task.

Switching Modes

Four ways to switch:

  1. Dropdown: Click the selector to the left of the chat input box
  2. Slash Commands: Type /architect, /ask, /debug, or /code
  3. Keyboard Shortcut: ⌘+. (macOS) / Ctrl+. (Windows/Linux) to cycle through modes
  4. Accept Suggestion: Click a mode-switch suggestion offered by TronCode

Built-in Modes

ModeDescriptionTool AccessBest For
Code (default) Skilled software engineer Full access to all tools Writing code, implementing features, general development
Ask Knowledgeable technical assistant, does not modify the codebase read, browser, mcp only Code explanation, concept exploration, technical learning
Architect Tech lead and planner read, browser, mcp + limited edit (markdown only) System design, high-level planning, architecture discussions
Debug Systematic troubleshooting expert Full access to all tools Tracking down bugs, diagnosing issues
Orchestrator Strategic workflow coordinator Limited access for task coordination Breaking complex projects into subtasks

Custom Modes

Create your own specialized assistant by defining tool access, file permissions, and behavioral instructions. Custom modes help enforce team standards or create purpose-specific assistants.

Context Mentions

Context mentions are a powerful way to use the @ symbol to reference files, folders, issues, and Git commits — giving TronCode specific information about your project.

Mention Types

Mention TypeFormatDescription
File@/path/to/file.tsInclude file contents in the request context
Folder@/path/to/folder/Provide directory structure in tree format
Problems@problemsInclude diagnostics from the VS Code Problems panel
Terminal@terminalInclude recent terminal commands and output
Git Commit@a1b2c3dReference a specific commit by hash
Git Changes@git-changesShow uncommitted changes
URL@https://example.comImport content from a website

How to Use Mentions

  1. Type @ in the chat input to trigger the suggestion dropdown
  2. Continue typing to filter suggestions, or use arrow keys to navigate
  3. Press Enter or click to select
  4. Combine multiple mentions in one request: "Fix @problems in @/src/component.ts"

FAQ

Q: What if my API Key quota runs out?

A: Check your quota usage on your account page on the official platform, and upgrade your plan or wait for the quota to reset as needed.

Q: How is the quality of generated code ensured?

A: TronCode uses advanced AI models. We recommend: carefully reviewing generated code, running thorough tests, and making appropriate adjustments based on your project requirements.

Q: Does TronCode support offline use?

A: TronCode requires an internet connection to access AI services. Fully offline usage is not currently supported.

Q: How do I get technical support?

A: Email support: support@linkwo.com

Contact Us