Update: JPDF2HTM5 has been rebranded as BuildVu and JPDFForms has been rebranded as FormVu

I have a love/hate relationship with my IDE – the sequel

After I finished my blog post I contacted one of the NetBeans developers (Geertjan Wielenga) who was very helpful. So I did some more investigations…

This is the spacing problem which annoyed me so much – the code is perfect in Eclipse but indenting is all wrong in NetBeans.

As you can see, the text in Eclipse (right of image) is beautifully formatted, while in NetBeans (on the left) the text has a ragged margin. So NetBeans sucks, and just to prove it I opened it in a couple of text editors – they agreed with NetBeans!

So I switched mode in Eclipse to see if I could understand the issue and here we can see the problem.

It seems that I have a mix of spaces and tabs in my code and the lines with odd indents have additional tabs (ignored by Eclipse but shown by NetBeans). And right clicking my mouse in NetBeans and choosing format fixes it, So in a sense I need to ‘apologise’ to NetBeans and think more carefully about my code next time…

Have you ever made any assumptions with your IDE and found out you were mistaken?

Related Posts:

The following two tabs change content below.

Mark Stephens

System Architect and Lead Developer at IDRSolutions
Mark Stephens has been working with Java and PDF since 1999 and has diversified into HTML5, SVG and JavaFX. He also enjoys speaking at conferences and has been a Speaker at user groups, Business of Software, Seybold and JavaOne conferences. He has a very dry sense of humor and an MA in Medieval History for which he has not yet found a practical use.
Markee174

About Mark Stephens

Mark Stephens has been working with Java and PDF since 1999 and has diversified into HTML5, SVG and JavaFX.

He also enjoys speaking at conferences and has been a Speaker at user groups, Business of Software, Seybold and JavaOne conferences. He has a very dry sense of humor and an MA in Medieval History for which he has not yet found a practical use.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>