Tutorials Hub
Relevant source files
The following files were used as context for generating this wiki page:The Tutorials Hub organizes instructional content to help you navigate Acode features and develop custom plugins. It serves as a centralized resource for new users to resolve doubts regarding project management, terminal operations, and language-specific workflows.
This section provides how-to guides for core editor functions and advanced integrations like Termux for environment emulation. You can also find foundational information for the Plugin Api Guide to extend editor capabilities.
Sources: tutorials/index.md:3-12, user-guide/index.md:16-18
Core Interface Workflows
Command Palette Operations
The Command Palette provides a searchable interface to execute editor commands without navigating standard menus. It improves workflow efficiency and aids in discovering hidden features.
Sources: tutorials/command-palette.md:3-12
Usage Procedure:
- Press
Ctrl + Shift + Pto open the palette. - Type the command name (e.g., "Format Code").
- Use arrow keys to select the match.
- Press
Enterto execute.
Sources: tutorials/command-palette.md:21-28
Touch Device Optimization (QuickTools)
QuickTools provides a customizable two-row toolbar for mobile users to access coding symbols and navigation keys.
Sources: user-guide/quicktools.md:3-12
- Interaction: Swipe rows left or right to reveal additional keys.
- Toggle: Tap the floating button once to switch between one or two rows; long-press to hide the toolbar.
- Customization: Reorder keys via Settings > App Settings > Shortcut Buttons.
Sources: user-guide/quicktools.md:17-36
Language-Specific Environments
Java Development Workflow
Acode supports Java compilation and execution through external terminal integration or the official Runner plugin.
Sources: tutorials/how-to-run-java.md:11-15
Termux Integration Method
This method uses Termux as a Linux emulator to provide the JDK environment.
- Install Termux via F-Droid.
- Run
pkg install openjdk-17in Termux. - Install the AcodeX - Terminal plugin in Acode.
- Launch the
acodex-serverin Termux to bridge the two applications.
Sources: tutorials/how-to-run-java.md:18-62
Workflow Visualization
The following diagram illustrates the interaction between Acode and the Termux environment for Java execution.
The diagram shows how the AcodeX plugin communicates with a background server in Termux to execute Java binaries.
Sources: tutorials/how-to-run-java.md:52-105
Terminal and System Utilities
Built-in Linux Environment
Acode includes a full Alpine Linux terminal environment using proot. It supports standard package management and editor-specific CLI tools.
Sources: user-guide/terminal.md:3-5
| Feature | Description |
|---|---|
| Package Manager | Uses apk (e.g., apk add <package>). |
| Acode CLI | acode <file> command opens files directly in the editor. |
| Persistence | Runs as a foreground service to prevent process death. |
| Customization | Configurable via ~/.bashrc and /initrc. |
| Sources: user-guide/terminal.md:12-65 |
Terminal Execution Flow
The following sequence diagram outlines the startup and command execution process within the terminal.
The diagram represents the initialization sequence where /initrc configures the shell before user interaction.
Sources: user-guide/terminal.md:52-85
Tutorial Summary Table
| Tutorial Topic | Primary Tools Used | Key Files/Paths |
|---|---|---|
| Java Execution | Termux, AcodeX, Runner Plugin | tutorials/how-to-run-java.md |
| Command Palette | Shortcut Ctrl+Shift+P | tutorials/command-palette.md |
| Environment Setup | Alpine Linux, apk | user-guide/terminal.md |
| UI Customization | QuickTools, App Settings | user-guide/quicktools.md |
| Sources: tutorials/index.md:8-12, user-guide/index.md:20-80 |
The Tutorials Hub ensures that developers can effectively utilize Acode's modular architecture, whether through manual terminal configuration or rapid plugin-based automation.
Sources: tutorials/index.md:3-6