-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Issue Checklist
- I confirm that this feature request has not been previously suggested.
- I agree to follow the project's code of conduct.
- I have checked and verified that I am using the latest version of Code on the Go from GitHub or App Dev for All.
Additional terms
- I understand that feature requests are subject to evaluation and may not be implemented immediately.
- I agree to provide additional details if needed for a clearer understanding of the requested feature.
Feature description
Description
I would like to request native syntax highlighting support for Python (.py files) within the CodeOnTheGo editor. Currently, Python code appears as plain text, which makes development difficult.
Suggested Implementation
Basic syntax highlighting for Python keywords (def, class, import, if, etc.).
Recognition of string literals and comments.
Automatic activation when a .py file is opened.
Additional Context
I attempted to build a custom plugin for this using the IPlugin API, but it resulted in IDE crashes when opening projects. A native, stable implementation would be much more reliable.
Use Case
Why is this needed?
While the plugin system is powerful, creating custom highlighters is complex and can lead to IDE instability (crashes). Having native support for a popular language like Python would greatly improve the developer experience and make the IDE more versatile for mobile scripting.
Benefits
Enhanced Readability: Syntax highlighting significantly improves code comprehension, especially on small mobile screens where visual cues are essential.
Improved IDE Stability: Native support eliminates the need for experimental or poorly optimized plugins that currently cause the IDE to crash.
Increased Productivity: Developers can identify syntax errors, unclosed strings, and logical structures much faster during mobile coding sessions.
Wider Adoption: Adding support for Python—one of the world's most popular languages—will attract a significantly larger community of developers and students to CodeOnTheGo.
Professional Development Experience: Bringing Python support up to the level of other supported languages makes the IDE a more viable tool for serious scripting and data science on the go.