DevFaqSyntaxColoring

(Difference between revisions)
(Can I add syntax coloring for my own data object/MIME type?)
 
(2 intermediate revisions not shown)
Line 2: Line 2:
===Can I add syntax coloring for my own data object/MIME type?===
===Can I add syntax coloring for my own data object/MIME type?===
-
Yes, but it is not trivial. There is a tutorial on the subject:
+
Yes, but it is not trivial. There is a tutorial on the subject: http://wiki.netbeans.org/How_to_create_support_for_a_new_language
-
 
+
-
http://platform.netbeans.org/tutorials/nbm-mfsyntax_migrate_lexer.html
+
-
 
+
-
The document is in fact a migration guide from an original way of implementing of the syntax coloring:
+
-
 
+
-
http://platform.netbeans.org/tutorials/nbm-mfsyntax.html
+
-
 
+
-
Homepage of Lexer module:
+
-
 
+
-
http://lexer.netbeans.org/
+
----
----
-
Applies to: NetBeans 5.0
+
Applies to: NetBeans 6.7 and later, but most concepts (not the exact APIs) have been available since 6.0

Current revision as of 14:00, 16 June 2010

Can I add syntax coloring for my own data object/MIME type?

Yes, but it is not trivial. There is a tutorial on the subject: http://wiki.netbeans.org/How_to_create_support_for_a_new_language


Applies to: NetBeans 6.7 and later, but most concepts (not the exact APIs) have been available since 6.0

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo