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.

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

41 sec read

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?

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.

Key Takeaways from Apache NetBeans Day UK

Apache NetBeans Day 2018 has come and gone. Whether you attended, watched it live or missed the event – we will take this opportunity...
Ovidijus Okinskas
2 min read

5 tips for getting the most out of Apache…

Apache NetBeans Day UK 2018 is fast approaching – Friday 27th April at the University of Greenwich. If you have not yet registered for...
Ovidijus Okinskas
1 min read

Leave a Reply

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