Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-06-2008, 10:28 PM
JDCAce's Avatar
Member
 
Join Date: Oct 2008
Location: Columbus, GA, US
Posts: 29
Rep Power: 0
JDCAce is on a distinguished road
Send a message via AIM to JDCAce Send a message via MSN to JDCAce Send a message via Yahoo to JDCAce Send a message via Skype™ to JDCAce
Default Indentation Size Reset While Coding JavaFX
I just downloaded the NetBeans plug-in for JavaFX and the most frustrating thing happened as I started to code: the size of my indentations was reset (from two spaces to four spaces). I know this isn't a big deal to some of you, but I am quite perfectionist, and if my code isn't formatted the way I want, something comes unlatched in my brain and I can't do anything else until it is the way I want it.

I checked the Indentation option in the NetBeans preferences first, and it shows it is set at two spaces (what I want). When I hit enter after typing an opening brace ("{"), the next line is indented four spaces. Next, I started up a new, non-JavaFX file to see if would would indent four again; it didn't. I deleted the existing JavaFX file and made a new one; it indented four.

Do different plug-ins have different preferences? If so, how do I change them? If not, well, what's wrong and how do I fix it (so that I can indent two spaces in JavaFX files)?

You know what? Forget the "what's wrong;" I want to know just how to fix it.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
JavaFX Script and JavaFX Mobile levent Java Announcements 1 01-27-2010 05:48 PM
Lobo Browser 0.98 - Now With JavaFX Support lobochief Java Announcements 0 03-10-2008 04:00 PM
String Code Indentation andysh New To Java 1 12-22-2007 03:45 AM
reset query dd_verni Database 0 11-21-2007 04:52 AM
how to set indentation to a text elizabeth New To Java 1 08-06-2007 07:42 PM


All times are GMT +2. The time now is 08:57 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org