[
https://issues.apache.org/jira/browse/NETBEANS-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16614787#comment-16614787
]
Christian Lenz edited comment on NETBEANS-1035 at 9/14/18 12:49 PM:
--------------------------------------------------------------------
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.
- Can't change or merge project icons. It is possible for PHP, when you add a
framework like WordPress or Laravel, you can add an icon to the PHP project
while merging and accessing a specific API, which is possible only for PHP
(Maybe for Java too, but I didn't try it)
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.
was (Author: chrizzly):
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: [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