Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automation: [RFC] Add scriptlanguage context #627

Closed
wants to merge 1 commit into from

Commits on Mar 5, 2019

  1. Automation: [RFC] Add scriptlanguage context

    We have the "script" context so far to tell a user-interface to render a script editor. The user-interface does not know however which language is going to be edited (-> syntax highlighting modules or even another editor component might be required).
    
    Ideally "context" tells exactly about the content like "script_javascript". That is not possible here for obvious reasons.
    
    I therefore publish this as a RFC, suggesting that we add another "context" value called "scriptlanguage". A "scriptlanguage" config parameter would always accompany a "script" config parameter. 
    A user-interface would then have all required information for rendering the correct widget.
    
    Signed-off-by: davidgraeff <david.graeff@web.de>
    David Gräff authored Mar 5, 2019
    Configuration menu
    Copy the full SHA
    e504558 View commit details
    Browse the repository at this point in the history