unsubscribe

2018-08-22 Thread Cesar A. Garcia

unsubscribe please

Greetings (Saludos), God Bless you (Dios los bendiga)
   Aura y  Cesar Garcia


Amigos son los que en las buenas acuden si son llamados y en las malas vienen 
solitos.

Friends are the ones that in good occasions come if they are call, and in the 
bad occasions they come by themselves


Re: [java] formatter questions

2018-08-22 Thread Will Hartung
On Wed, Aug 22, 2018 at 5:53 AM, Chris McGee  wrote:

> I’ll give it some thought as to whether we want to continue to use the
> abandoned code formatter or rely on developer diligence to keep the code
> base formatted correctly.
>

The point is that odds are very high that whatever is making this plugin
incompatible is most likely some little bit of meta data. The code is the
code, NB Platform, in general, is more stable than not.

Even a developer new to the platform could probably build this add on,
tweak it to make it compatible, and bring it up to date quite quickly. I
mean, who knows, right? Maybe, maybe not.

Were someone on your team to do that, and submit the patch back to the
original developer, then, tada the module is now "maintained". For maybe a
couple hours work, until the next release of NB.

Considering the time savings and other value you gain from using this
plugin, don't you think it might be worth an hour or two to at least have
someone take a serious look at it?

Check it out, build it, take a look at it. If you have problems, folks here
may be able to give detailed tips on getting the plugin to work again. They
can readily help with the NB parts. The eclipse part, not so much, right?
And this is likely a NB issue, not an eclipse formatter thing.

AT WORST, you have a fork of this module now working for you, and you have
an internal website somewhere hosting the fork artifact so it's available
to your users as a module (this entails an XML file and your module, it's
no big deal). Not the most egregious burden. Ideally, the author will
incorporate your change and its now "up to date", just as it always has
been.

So, in total, the ask here isn't that great.

What do you think?

Regards,

Will Hartung


Unsuscribe

2018-08-22 Thread Cesar A. Garcia

Unsuscribe

Greetings (Saludos), God Bless you (Dios los bendiga)
   Aura y  Cesar Garcia


Amigos son los que en las buenas acuden si son llamados y en las malas vienen 
solitos.

Friends are the ones that in good occasions come if they are call, and in the 
bad occasions they come by themselves


[jsp] Where are the JSP specific code formatting settings?

2018-08-22 Thread Chris McGee
Hi All,

I’m working on a project where we have different formatting options for Java 
and JSP. In particular, the Java uses 4 spaces for indentation and the JSP uses 
tabs. There are historical reasons for the differences in the formats.

Does anyone know where I can specify the JSP-specific formatting options 
without affecting the other file types? Here’s where I checked so far.

Preferences -> Editor -> Formatting
Project -> Properties -> Formatting

In both of those places, I can change the format for all languages or specific 
languages, such as Java. In some instances I can see HTML in the list, but I 
don’t see JSP. HTML doesn’t seem to impact the JSP format. The JSP format seems 
to be only controllable by changing the “All Languages” settings.

Maybe I’m missing something obvious?

Thanks,
Chris
-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

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



Re: [java] formatter questions

2018-08-22 Thread Geertjan Wielenga
No, it’s not abandoned. I’m sure there are many, me included, very interested 
in developing it further, if you’ll help out by explaining what the problem is.

Gj

Sent from my iPhone

> On 22 Aug 2018, at 14:53, Chris McGee  wrote:
> 
> Thanks everyone for the suggestions.
> 
> I’ll give it some thought as to whether we want to continue to use the 
> abandoned code formatter or rely on developer diligence to keep the code base 
> formatted correctly.
> 
> If we were to invest time into this problem I wonder if it would be better to 
> make the NB java formatter into a maven plugin that could format and/or check 
> the code with the project’s settings. I’m not sure how difficult that would 
> be.
> 
> Cheers,
> Chris
> 
>> On Aug 22, 2018, at 8:24 AM, Geertjan Wielenga 
>>  wrote:
>> 
>> I would suggest to not import setting from 8.2. Instead, start 9.0 fresh and 
>> empty, register the 8.2 update center, and then pick that specific formatter 
>> plugin and try to install it:
>> 
>> https://blogs.apache.org/netbeans/entry/what-s-happened-to-my
>> 
>> After that, the errors you'll see will be specific to you having installed 
>> the plugin into 9.0. Then report that in the issue tracker 
>> (https://github.com/markiewb/eclipsecodeformatter_for_netbeans/issues) and 
>> probably it could be resolved as easily as opening the sources of the 
>> formatter and compiling them in 9.0.
>> 
>> Gj
>> 
>> 
>> 
>>> On Wed, Aug 22, 2018 at 2:18 PM, Chris McGee  wrote:
>>> 
 You're going to need to be very detailed, otherwise no one can help you. 
 What are the 'certain plugins' you're referring to?
>>> 
>>> Sure thing.
>>> 
>>> Here are the steps:
>>> 1) Launch NetBeans 8.2
>>> 2) Tools -> Plugins -> Available Plugins
>>> 3) Search for “Eclipse Java Formatter”
>>> 4) Pick “Eclipse Java Formatter (4.6…”
>>> 5) Click “Install”
>>> 6) Install NetBeans 9.0
>>> 7) Run NetBeans 9.0
>>> 8) When prompted, import settings from 8.2
>>> 9) A dialog opens indicating that some of the plugins must be migrated to 
>>> newer versions to work with NB 9.0
>>> 
>>> The formatter plugin is in the bottom panel indicating that it is not 
>>> compatible and there is no known compatible version.
>>> 
>>> It seems that eclipse formatting is a third-party plugin. Is there a better 
>>> and more supported way to share the formatting options with command-line or 
>>> maven formatters? My team mates are using their own tools sometimes and bad 
>>> formatting gets checked-in to source control. It would be good to have it 
>>> caught by the CI build.
>>> 
>>> Thanks,
>>> Chris
>> 
> 


Re: [java] formatter questions

2018-08-22 Thread Chris McGee
Thanks everyone for the suggestions.

I’ll give it some thought as to whether we want to continue to use the 
abandoned code formatter or rely on developer diligence to keep the code base 
formatted correctly.

If we were to invest time into this problem I wonder if it would be better to 
make the NB java formatter into a maven plugin that could format and/or check 
the code with the project’s settings. I’m not sure how difficult that would be.

Cheers,
Chris

> On Aug 22, 2018, at 8:24 AM, Geertjan Wielenga 
>  wrote:
> 
> I would suggest to not import setting from 8.2. Instead, start 9.0 fresh and 
> empty, register the 8.2 update center, and then pick that specific formatter 
> plugin and try to install it:
> 
> https://blogs.apache.org/netbeans/entry/what-s-happened-to-my 
> 
> 
> After that, the errors you'll see will be specific to you having installed 
> the plugin into 9.0. Then report that in the issue tracker 
> (https://github.com/markiewb/eclipsecodeformatter_for_netbeans/issues 
> ) and 
> probably it could be resolved as easily as opening the sources of the 
> formatter and compiling them in 9.0.
> 
> Gj
> 
> 
> 
> On Wed, Aug 22, 2018 at 2:18 PM, Chris McGee  > wrote:
> 
>> You're going to need to be very detailed, otherwise no one can help you. 
>> What are the 'certain plugins' you're referring to?
> 
> Sure thing.
> 
> Here are the steps:
> 1) Launch NetBeans 8.2
> 2) Tools -> Plugins -> Available Plugins
> 3) Search for “Eclipse Java Formatter”
> 4) Pick “Eclipse Java Formatter (4.6…”
> 5) Click “Install”
> 6) Install NetBeans 9.0
> 7) Run NetBeans 9.0
> 8) When prompted, import settings from 8.2
> 9) A dialog opens indicating that some of the plugins must be migrated to 
> newer versions to work with NB 9.0
> 
> The formatter plugin is in the bottom panel indicating that it is not 
> compatible and there is no known compatible version.
> 
> It seems that eclipse formatting is a third-party plugin. Is there a better 
> and more supported way to share the formatting options with command-line or 
> maven formatters? My team mates are using their own tools sometimes and bad 
> formatting gets checked-in to source control. It would be good to have it 
> caught by the CI build.
> 
> Thanks,
> Chris
> 



Re: [java] formatter questions

2018-08-22 Thread Geertjan Wielenga
I would suggest to not import setting from 8.2. Instead, start 9.0 fresh
and empty, register the 8.2 update center, and then pick that specific
formatter plugin and try to install it:

https://blogs.apache.org/netbeans/entry/what-s-happened-to-my

After that, the errors you'll see will be specific to you having installed
the plugin into 9.0. Then report that in the issue tracker (
https://github.com/markiewb/eclipsecodeformatter_for_netbeans/issues) and
probably it could be resolved as easily as opening the sources of the
formatter and compiling them in 9.0.

Gj



On Wed, Aug 22, 2018 at 2:18 PM, Chris McGee  wrote:

>
> You're going to need to be very detailed, otherwise no one can help you.
> What are the 'certain plugins' you're referring to?
>
>
> Sure thing.
>
> Here are the steps:
> 1) Launch NetBeans 8.2
> 2) Tools -> Plugins -> Available Plugins
> 3) Search for “Eclipse Java Formatter”
> 4) Pick “Eclipse Java Formatter (4.6…”
> 5) Click “Install”
> 6) Install NetBeans 9.0
> 7) Run NetBeans 9.0
> 8) When prompted, import settings from 8.2
> 9) A dialog opens indicating that some of the plugins must be migrated to
> newer versions to work with NB 9.0
>
> The formatter plugin is in the bottom panel indicating that it is not
> compatible and there is no known compatible version.
>
> It seems that eclipse formatting is a third-party plugin. Is there a
> better and more supported way to share the formatting options with
> command-line or maven formatters? My team mates are using their own tools
> sometimes and bad formatting gets checked-in to source control. It would be
> good to have it caught by the CI build.
>
> Thanks,
> Chris
>


Re: [java] formatter questions

2018-08-22 Thread Chris McGee

> You're going to need to be very detailed, otherwise no one can help you. What 
> are the 'certain plugins' you're referring to?

Sure thing.

Here are the steps:
1) Launch NetBeans 8.2
2) Tools -> Plugins -> Available Plugins
3) Search for “Eclipse Java Formatter”
4) Pick “Eclipse Java Formatter (4.6…”
5) Click “Install”
6) Install NetBeans 9.0
7) Run NetBeans 9.0
8) When prompted, import settings from 8.2
9) A dialog opens indicating that some of the plugins must be migrated to newer 
versions to work with NB 9.0

The formatter plugin is in the bottom panel indicating that it is not 
compatible and there is no known compatible version.

It seems that eclipse formatting is a third-party plugin. Is there a better and 
more supported way to share the formatting options with command-line or maven 
formatters? My team mates are using their own tools sometimes and bad 
formatting gets checked-in to source control. It would be good to have it 
caught by the CI build.

Thanks,
Chris

Re: [java] formatter questions

2018-08-22 Thread Josh Juneau
Hi Chris,

Looking at the github site for the Eclipse Java Code Formatter plugin...it
looks like they are wanting some assistance maintaining.  To that end, I'd
recommend making a fork and patching it to get it working with NetBeans 9.

https://github.com/markiewb/eclipsecodeformatter_for_netbeans


Hope this helps...thanks.

On Wed, Aug 22, 2018 at 7:03 AM Chris McGee  wrote:

>
> Hi All,
>>
>> I am interested in using the new NetBeans 9.0 for a new project that I’m
>> working on since it looks like there are some nice improvements over 8.2.
>> It’s good to see active development on this project.
>>
>> One problem that I ran into right away is that the eclipse 4 formatter
>> module is not yet compatible.
>
>
>
> What do you mean by that, in what way is it not compatible, where are you
> getting it from, where is the source code.
>
>
> When I installed NB 8.2 I found the plugin in the plugin marketplace. It’s
> called “Eclipse Java Code Formatter.” After importing my settings into NB
> 9.0 I was prompted to install newer versions of certain plugins so that
> they are compatible, however the formatter is listed as having no
> compatible versions available.
>
> Perhaps there is a different marketplace that I can use to get it with NB
> 9.0? I could compile it myself and patch, but then it is more difficult to
> get my team on board with it.
>
>
> Thanks,
>
> Gj
>
>
> --
Josh Juneau
juneau...@gmail.com
http://jj-blogger.blogspot.com
https://www.apress.com/index.php/author/author/view/id/1866


Re: [java] formatter questions

2018-08-22 Thread John McDonnell
Hi,

try installing it and seeing if it works.

If you run into any issues report them against
https://github.com/markiewb/eclipsecodeformatter_for_netbeans

Regards

John

On Wed, 22 Aug 2018 at 13:03, Chris McGee  wrote:

>
> Hi All,
>>
>> I am interested in using the new NetBeans 9.0 for a new project that I’m
>> working on since it looks like there are some nice improvements over 8.2.
>> It’s good to see active development on this project.
>>
>> One problem that I ran into right away is that the eclipse 4 formatter
>> module is not yet compatible.
>
>
>
> What do you mean by that, in what way is it not compatible, where are you
> getting it from, where is the source code.
>
>
> When I installed NB 8.2 I found the plugin in the plugin marketplace. It’s
> called “Eclipse Java Code Formatter.” After importing my settings into NB
> 9.0 I was prompted to install newer versions of certain plugins so that
> they are compatible, however the formatter is listed as having no
> compatible versions available.
>
> Perhaps there is a different marketplace that I can use to get it with NB
> 9.0? I could compile it myself and patch, but then it is more difficult to
> get my team on board with it.
>
>
> Thanks,
>
> Gj
>
>
>


Re: [java] formatter questions

2018-08-22 Thread Geertjan Wielenga
On Wed, Aug 22, 2018 at 2:03 PM, Chris McGee  wrote:

>
> Hi All,
>>
>> I am interested in using the new NetBeans 9.0 for a new project that I’m
>> working on since it looks like there are some nice improvements over 8.2.
>> It’s good to see active development on this project.
>>
>> One problem that I ran into right away is that the eclipse 4 formatter
>> module is not yet compatible.
>
>
>
> What do you mean by that, in what way is it not compatible, where are you
> getting it from, where is the source code.
>
>
> When I installed NB 8.2 I found the plugin in the plugin marketplace. It’s
> called “Eclipse Java Code Formatter.” After importing my settings into NB
> 9.0 I was prompted to install newer versions of certain plugins
>



You're going to need to be very detailed, otherwise no one can help you.
What are the 'certain plugins' you're referring to?

Here's the Plugin Portal: http://plugins.netbeans.org/

I suppose the source code of the plugin is this one:

https://github.com/markiewb/eclipsecodeformatter_for_netbeans

I suppose you're working with the most recent release, listed here:

https://github.com/markiewb/eclipsecodeformatter_for_netbeans/releases

That should get you further. Maybe you should file an issue (with very
detailed information there):

https://github.com/markiewb/eclipsecodeformatter_for_netbeans/issues

Gj



> so that they are compatible, however the formatter is listed as having no
> compatible versions available.
>
> Perhaps there is a different marketplace that I can use to get it with NB
> 9.0? I could compile it myself and patch, but then it is more difficult to
> get my team on board with it.
>
>
> Thanks,
>
> Gj
>
>
>


Re: [java] formatter questions

2018-08-22 Thread Chris McGee

> Hi All,
> 
> I am interested in using the new NetBeans 9.0 for a new project that I’m 
> working on since it looks like there are some nice improvements over 8.2. 
> It’s good to see active development on this project.
> 
> One problem that I ran into right away is that the eclipse 4 formatter module 
> is not yet compatible.
>  
> 
> What do you mean by that, in what way is it not compatible, where are you 
> getting it from, where is the source code.

When I installed NB 8.2 I found the plugin in the plugin marketplace. It’s 
called “Eclipse Java Code Formatter.” After importing my settings into NB 9.0 I 
was prompted to install newer versions of certain plugins so that they are 
compatible, however the formatter is listed as having no compatible versions 
available.

Perhaps there is a different marketplace that I can use to get it with NB 9.0? 
I could compile it myself and patch, but then it is more difficult to get my 
team on board with it.

> 
> Thanks,
> 
> Gj
> 



Re: [java] formatter questions

2018-08-22 Thread Geertjan Wielenga
On Wed, Aug 22, 2018 at 1:43 PM, Chris McGee  wrote:

> Hi All,
>
> I am interested in using the new NetBeans 9.0 for a new project that I’m
> working on since it looks like there are some nice improvements over 8.2.
> It’s good to see active development on this project.
>
> One problem that I ran into right away is that the eclipse 4 formatter
> module is not yet compatible.



What do you mean by that, in what way is it not compatible, where are you
getting it from, where is the source code.

Thanks,

Gj






> I am using it because it allows me to share the same format configuration
> between NetBeans and a Maven formatter plugin that uses the eclipse
> formatter.
>
> Does anyone know if the eclipse formatter module will adopt NB 9 in the
> near future? Otherwise, is there another way to use the netbeans formatter
> and share its options with a maven plugin to format the code?
>
> Thanks,
> Chris
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>


[java] formatter questions

2018-08-22 Thread Chris McGee
Hi All,

I am interested in using the new NetBeans 9.0 for a new project that I’m 
working on since it looks like there are some nice improvements over 8.2. It’s 
good to see active development on this project.

One problem that I ran into right away is that the eclipse 4 formatter module 
is not yet compatible. I am using it because it allows me to share the same 
format configuration between NetBeans and a Maven formatter plugin that uses 
the eclipse formatter.

Does anyone know if the eclipse formatter module will adopt NB 9 in the near 
future? Otherwise, is there another way to use the netbeans formatter and share 
its options with a maven plugin to format the code?

Thanks,
Chris
-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

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