-
Notifications
You must be signed in to change notification settings - Fork 701
Description
Check for existing issues
- Completed
Describe the bug / provide steps to reproduce it
Hello Acode Developer Team,
First of all, thank you for providing a powerful and lightweight code editor for Android. Acode has been very helpful for many developers who rely on mobile devices for learning, quick edits, and on-the-go development.
I would like to request an improvement regarding JavaScript syntax support, specifically for ECMAScript 2021 Numeric Separators (example: 3_500_000). Currently, Acode’s JavaScript parser reports this syntax as invalid, even though it is fully supported in ES2021 and modern JavaScript environments such as Node.js, Deno, Bun, and all major browsers.
This limitation affects code readability, especially when working with large numbers. Numeric separators are a standard feature and are widely used in modern JavaScript projects, teaching materials, and real-world codebases.
Why this update is important:
- Improves readability for large numbers
- Matches modern JavaScript standards
- Prevents false syntax errors
- Supports learners who study from ES2021+ documentation
- Ensures compatibility with current development practices
Suggested solution:
- Update the Ace Editor JavaScript mode to support ES2021
- Or apply a patch to the internal JS parser to accept numeric separators
- Or add a configuration option (e.g., "ecmaVersion": 2021")
I believe this enhancement will greatly improve the development experience on Acode and align it with modern JavaScript specifications.
Thank you for your time and consideration. I truly appreciate your continued work on improving the editor.
Best regards,
Acode user and JavaScript learner
Environment
==================================================
DEVICE SUMMARY
Model : itel P55 5G (P661N)
Category : Mid-range Android smartphone
Release Window : 2024
HARDWARE SPECIFICATIONS
SoC / CPU : MediaTek Dimensity 6080
- CPU Layout : 8 cores total
- 2x Cortex-A76 @ 2.4 GHz
- 6x Cortex-A55 @ 2.0 GHz
- Fabrication : 6 nm (efficient and modern)
RAM Options : 4 GB / 6 GB / 8 GB (virtual RAM feature available)
Storage Options : 64 GB / 128 GB (UFS-type internal storage)
External Storage : Supports microSD expansion
Display
- Size : 6.6 inches
- Panel : IPS LCD
- Resolution : 720 x 1612 (HD+)
- Pixel Density: ~267 ppi
Battery
- Capacity : 5000 mAh
- Charging : Approx. 18W fast charging
Cameras
- Rear Camera : 50 MP main + AI auxiliary lens
- Front Camera : ~8 MP
Connectivity
- SIM : Dual SIM (5G + 5G)
- Ports : USB-C, 3.5mm audio jack
- Others : Bluetooth, Wi-Fi, GPS
==================================================
OPERATING SYSTEM DETAILS
OS Version : Android 13
UI Variant : itel OS (itel’s custom UI layer)
Security Patch : Varies by region (check Settings → About → Android version)
Update Frequency : Moderate; not as aggressive as major brands
Core System Info
- Kernel Type : Linux kernel (Android standard)
- Architecture : ARM64 (aarch64)
- Runtime : ART (Android Runtime)
- File System : ext4 / f2fs depending on partitioning
Developer Notes
- ADB Support : YES
- USB Debugging : Available via Developer Options
- Termux Compatibility: Fully compatible (arm64 build)
- Mobile Coding Tools: Acode, VSCode Web, CodeSandbox, StackBlitz work well
==================================================
STRENGTH NOTES
• Chipset is strong enough for light to medium multitasking.
• Suitable for learning programming on mobile editors.
• 5G capability gives lower latency for browsing and AI usage.
• Large 5000 mAh battery supports long study/work sessions.
LIMITATION NOTES
• HD+ resolution has limited sharpness for detailed coding tasks.
• IPS LCD panel lacks the contrast of AMOLED screens.
• Charging speed is mid-range, not high-end fast charging.
==================================================
RECOMMENDATIONS
• Enable Developer Options:
→ Background process limit → “At most 2 processes”
• Reduce animations:
→ Window animation scale = 0.5x or 0x
• Use Acode or VSCode Web for lightweight coding tasks.
• For serious development, rely on your laptop/PC as primary device.
If applicable, add mockups / screenshots regarding your vision
No response