-
Notifications
You must be signed in to change notification settings - Fork 5
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Description
To improve readability in the editor, we need to implement syntax highlighting for code files (e.g., C++, Python, JavaScript) using Qt6's QSyntaxHighlighter class.
Tasks
- Research and integrate QSyntaxHighlighter for syntax highlighting.
- Define and implement syntax highlighting rules for C++ first.
- Integrate syntax highlighting into the editor’s text display (using QTextEdit or QPlainTextEdit).
- Handle file type detection to automatically apply the correct syntax highlighting (.c and .cpp first).
- Implement with multiple languages.
- Test syntax highlighting.
Supported Languages:
This is the list of currently supported languages, in progress, and future implementation. Feel free to contribute to any of those or implement any other language not listed here.
- Markdown
- YAML
- C/C++ (in progress)
- Golang
- Python
- Elixir (in progress)
Tip
For a guide on how to implement new syntax highlight or contribute to an existing one, refer to the wiki page
Sub-issues
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Type
Projects
Status
In Progress