Mutiple Language Support in Aicre
While the current focus of Aicre is snippets for the Opportunistic Python Developer, it is worth considering a future where Aicre is a snippets browser supporting multiple languages. Furthermore, this stands as an opportunity to define a reasonable standard for system-wide snippet storage that can be used by other applications (say MonoDevelop) that want to embed snippet support directly into their interface.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
This should currently be considered a long-term goal for Acire.
The Acire user interface should support selecting a language for snippets from a list of installed language-snippets, and continue to offer the ability to run snippets from the interface for languages that this can be reasonably implemented in. To determine what languages are supported, I propose that snippets be stored per the following spec on Linux systems:
/usr/share/
This would allow Acire (or others) to easily parse what languages snippets are available, and build the User Interface based on those options. If only a single language is available, the user should not be presented with the UI element necessary to change language selection.
Acire will require an extension system which will provide special options depending on the language in question, for instance, not all languages will support the 'Execute' button, and even non-Python languages will require special code to support that function correctly.