[infinispan-issues] [JBoss JIRA] (ISPN-8764) Add schema editor

Vladimir Blagojevic (JIRA) issues at jboss.org
Mon Feb 12 03:51:00 EST 2018


    [ https://issues.jboss.org/browse/ISPN-8764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13529791#comment-13529791 ] 

Vladimir Blagojevic edited comment on ISPN-8764 at 2/12/18 3:50 AM:
--------------------------------------------------------------------

There is a very good overview of contenders at https://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_source_code_editors The requirement list is:
 - wide browser support
 - open source friendly license
 - embeddable using Typescript definitions
 - syntax highlighting 
 - multiple language support (JSON and Protobuf)
 - other minor nice-to-have editor capabilities

The main contenders are: https://ace.c9.io/ and https://codemirror.net/ 

Both Ace and Codemirror have type definitions for Typescript integration at https://www.npmjs.com/package/@types/ace and https://www.npmjs.com/package/@types/codemirror

Moreover, both Ace and CodeMirror also have Angular2+ components so we can future proof and/or ease potential migrations to a newer version of Angular. 

We'll upgrade the existing schema editor to include protobuf syntax highlighting and some code completion if possible. Even though we do not assume that the user will use our editor as his main tool for writing protobuf schemas it should include all potentially useful features we can squeeze out of Codemirror/Ace. 


was (Author: vblagojevic):
There is a very good overview of contenders at https://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_source_code_editors The requirement list is:
 - wide browser support
 - open source friendly license
 - embeddable using Typescript definitions
 - syntax highlighting 
 - multiple language support (JSON and Protobuf)
 - other minor nice-to-have editor capabilities

The main contenders are: https://ace.c9.io/ and https://codemirror.net/ 
Both Ace and Codemirror have type definitions for Typescript integration at https://www.npmjs.com/package/@types/ace and https://www.npmjs.com/package/@types/codemirror
Moreover, both Ace and CodeMirror also have Angular2+ components so we can future proof and/or ease potential migrations to a newer version of Angular. 

> Add schema editor 
> ------------------
>
>                 Key: ISPN-8764
>                 URL: https://issues.jboss.org/browse/ISPN-8764
>             Project: Infinispan
>          Issue Type: Sub-task
>          Components: Console
>            Reporter: Vladimir Blagojevic
>            Assignee: Vladimir Blagojevic
>
> We need to add schema editor using any prebuilt components for protobuf editor - if they exist



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list