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
.exefile, double-click to run, and follow the setup wizard
macOS
- System Requirements: macOS 10.15 or higher
- Installation:
- Extract the downloaded
.zipfile - Drag TronCode.app to the Applications folder
- On first launch, go to System Settings → Privacy & Security and click "Open Anyway"
- Extract the downloaded
TronCode Key Registration
Registration Link
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
- Open your browser and go to the Platform Login Page
- Click the "Login" button
- Enter your phone number and log in / register with the verification code
Step 2: Apply for an API Key
- After logging in, navigate to the API Key Management page
- Click "Create API Key"
- Enter a name for the key (for easy management)
- Click "Create" to finish
Step 3: Save Your API Key
Using the Key
Configure Your API Key
Configure via the Settings Panel
- Open the TronCode application
- 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
- The system will notify you when your key is about to expire
- Visit your account page on the official platform to request a new key
- 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
calculateTotalthat 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 context | Use @ to reference specific files |
| Multiple unrelated tasks at once | Submit one focused request at a time |
| Too much jargon | Clear, 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:
- Dropdown: Click the selector to the left of the chat input box
- Slash Commands: Type
/architect,/ask,/debug, or/code - Keyboard Shortcut:
⌘+.(macOS) /Ctrl+.(Windows/Linux) to cycle through modes - Accept Suggestion: Click a mode-switch suggestion offered by TronCode
Built-in Modes
| Mode | Description | Tool Access | Best 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 Type | Format | Description |
|---|---|---|
| File | @/path/to/file.ts | Include file contents in the request context |
| Folder | @/path/to/folder/ | Provide directory structure in tree format |
| Problems | @problems | Include diagnostics from the VS Code Problems panel |
| Terminal | @terminal | Include recent terminal commands and output |
| Git Commit | @a1b2c3d | Reference a specific commit by hash |
| Git Changes | @git-changes | Show uncommitted changes |
| URL | @https://example.com | Import content from a website |
How to Use Mentions
- Type
@in the chat input to trigger the suggestion dropdown - Continue typing to filter suggestions, or use arrow keys to navigate
- Press Enter or click to select
- Combine multiple mentions in one request: "Fix
@problemsin@/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
- Official Website: https://www.troncode.cn
- Technical Support: support@linkwo.com
- Business Inquiries: business@linkwo.com