You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Christian Lenz (JIRA)" <ji...@apache.org> on 2018/09/14 12:48:00 UTC

[jira] [Commented] (NETBEANS-1035) Make HTML api public

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

Christian Lenz commented on NETBEANS-1035:
------------------------------------------

Real world scenarios, where you can't extend the IDE for HTML, JS, CSS or whatever except from Java, with a 3rd-party-plugin, if it is not a friend:
- No editor hints for CSS, JS, HTML, SCSS, SASS, LESS, SQL. Don't know for PHP and C/C++ but I guess it is the same.
- You can't access the tokens of the specific language. Needed for extends the language or using the language for embedding provider. So it is not possible to make an embedding provider for SQL inside java strings or SQL inside PHP strings or HTML inside JS strings or whatever because you can't access the SQL or HTML tokens.

If you make friends, everything is fine for exactly this IDE, but if you remove exactly this friend package, everything will not work in the next release. Of course, it could be for public APIs too, but for this there are only deprecations and switching to alternatives and not completely removing w/o any alternative.

So atm it is not possible to extends a lot of stuff for everything what is not Java, because of not making the API public or whatever it makes better w/o beeing a friend. HTML, JS, PHP, C/C++ LESS, CSS, SCSS is really ready for years. HTML5/JS is ready since 7.1 or 7.3 smth like that. The others are ready years ago. So everyone is using those project types and wants to contribute to them with plugins.

> Make HTML api public
> --------------------
>
>                 Key: NETBEANS-1035
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1035
>             Project: NetBeans
>          Issue Type: Wish
>          Components: web - HTML Editor
>    Affects Versions: 8.2, 9.0
>         Environment: Linux
>            Reporter: Peter Nabbefeld
>            Priority: Critical
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> There are already 21 "friends" using html.editor and html.editor.lib - IMHO a good indicator it should be public.
>  
> However, I do need the API for implementing a Wicket module, so , if it will take too long to make it public, probably make org.netbeans.modules.web.wicket another friend of these modules and tell me how to use it within a Maven based NetBeans module.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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