[ 
https://issues.apache.org/jira/browse/NETBEANS-7?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16704428#comment-16704428
 ] 

Christian Lenz commented on NETBEANS-7:
---------------------------------------

And what I can think of is that we have maybe one or 2 config files like a json 
file or XML (More the NetBeans way) where I choose the extension, the mimetype, 
some other config like braces matching as you can see it here: 
https://github.com/rust-lang/rls-vscode/blob/master/language-configuration.json

This will be very easy to put such files inside of a folder where NetBeans 
reads them out, for only
- simple coloring
- pair/braces matching
- code snippets
- formatting.

The other stuff like code completion and go to whatever and find usage I know 
that this is not that easy possible w/o doing stuff with Java. But for the 
other stuff, it should be easy to not make much work with java. Only one or 2 
json/xml/whatever file with the config/tokens/braces matching/snippets and 
thats it.

> Provide basic editor features (syntax highlighting, braces matching, 
> completion, etc) for more file types
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-7
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-7
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: ide - UI
>            Reporter: Emilian Bold
>            Priority: Major
>
> We could provide basic editor features (syntax highlighting, braces matching, 
> completion, etc) for more languages based on the existing corpus of 
> definitions from other editors/IDEs. See
> * 
> http://docs.notepad-plus-plus.org/index.php?title=User_Defined_Language_Files
> * http://docs.sublimetext.info/en/latest/extensibility/syntaxdefs.html
> * https://code.visualstudio.com/docs/extensionAPI/language-support
> * http://www.ultraedit.com/downloads/extras/wordfiles.html#wordfiles
> The basic editor features would usually get replaced once more proper plugins 
> are installed for a given language.
> We could even introduce a mechanism to promote to users the full plugins 
> (from the Plugin Portal, etc) once they start editing given file types.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to