SQL Developer: Right-click format doesn't work right with DATE datatype

Hi All!
Currently I'm using version SQL Developer Version 3.1.05.
Got a question regarding the 'auto-format' of syntax whenever writing in the code editor.
If you take this snippet of code and drop it into a worksheet, then highlight it, right click the mouse, then select "format" it's like it fails to add the proper spacing when it runs into the DATE datatype. I looked all through the : preferences > database > sql formatter > oracle formatting > edit and couldn't find anything regarding the formatting with date types.
Am I looking in the wrong area?? Is this a known bug? Having trouble searching for this exact issue too. I LOVE the format feature, but I hate having to go to each date type and manually spacing it out to make everything look 'clean'. I'm picky I guess :P I can live with it but figured I'd ask.
type TEMP_REC
IS
record
ORG_CODE VARCHAR2(15),
PROJECT VARCHAR2(15),
WBS VARCHAR2(30),
SERIAL_NO VARCHAR2(30),
QTY_ORDERED NUMBER,
QTY_SCRAPPED NUMBER,
QTY_COMPLETE NUMBER,
BOM_ID NUMBER,
REQUEST_DATE DATE,
CREATE_DATE DATE,
REL_DATE DATE,
START_DATE DATE,
NEED_DATE DATE,
DUE_DATE DATE,
COMPLETE_DATE DATE,
CREATED_BY VARCHAR2(30),
MODIFIED_BY VARCHAR2(30),
MODIFY_DATE DATE,
EST_HOURS NUMBER(6,2),
ACT_HOURS NUMBER(6,2),
BAD_COMMENTS VARCHAR2(1000) );

Hello,
I put 3.1.07 as you'd suggested. Seems the problem is still occuring for me... probably a user preference though ;)
Open a new worksheet and drop this in, highlight everything, right-click and choose "format". All the keywords (varchar2, number, etc) should align on themselves making it look nice. I have mine set up to line-break after a comma. (I can't get it to format properly as I type it here onto the forums, so added a bunch of spaces to try to mimic it in this view)
type TEMP_REC
IS
record
LEAD_TIME NUMBER(5,0),
SCRAP_PERCENT NUMBER,
CREATED_BY VARCHAR2(30),
MODIFIED_BY VARCHAR2(30),
OPER_SEQ VARCHAR2(6),
REF_NO VARCHAR2(2000),
COMMENTS VARCHAR2(2000),
BOM_FLAGS VARCHAR2(100),
BOM_ATTR1 VARCHAR2(30),
BOM_ATTR2 VARCHAR2(30),
BOM_ATTR3 VARCHAR2(30),
BOM_AMT1 NUMBER,
BOM_AMT2 NUMBER,
BAD_COMMENTS VARCHAR2(1000) );
Now, let's add another field in there, but this time a date/timestamp datatype. If you format it like this you will see that the keywords sort of 'reset' their position after it encounters a date/timestamp datatype. The date type doesn't align properly with the others.
type TEMP_REC
IS
record
LEAD_TIME NUMBER(5,0),
SCRAP_PERCENT NUMBER,
CREATED_BY VARCHAR2(30),
MODIFIED_BY VARCHAR2(30),
OPER_SEQ VARCHAR2(6),
REF_NO VARCHAR2(2000),
test DATE,
COMMENTS VARCHAR2(2000),
BOM_FLAGS VARCHAR2(100),
BOM_ATTR1 VARCHAR2(30),
BOM_ATTR2 VARCHAR2(30),
BOM_ATTR3 VARCHAR2(30),
BOM_AMT1 NUMBER,
BOM_AMT2 NUMBER,
BAD_COMMENTS VARCHAR2(1000) );
Might post a picture next time if that still isn't clear, though I konw folks are leary against clicking links to see screenshots. Might you know what I'm doing wrong here?

Similar Messages

  • ITunes 10.4.1.10 how to stop downloads of free news pods?  (right click delete doesn't work) also can't scroll down list of downloads!

    (ITunes 10.4.1.10) How to stop downloads of free news pods?  (right click delete doesn't work)
    Also can't scroll down list of downloads so as to pause them.  Would like to delete them as ISP has download limit.
    Thanks in advance!  (this seems to be a dumb problem of the software having a life of its own!)

    I have been talking to Apple support about this very problem. So far they have asked me to disable both Firewall and Anti Virus software (Windows Firewall and ESAT NOD32 anti virus) - this didn't work. Rebuild my library - this didn't work. Un-install all Apple applications and re-install - this didn't work. I have created a second user account on my PC and from that account (both accounts set as Administrator) I can activate Genius. This suggests to me that the problem is possibly linked to my original User Account, which is the one I always use. I am waiting for the next update from Apple and will post an update if/when the problem is resolved.
    What I also notice is about 2 seconds in to Step 2 of the Genius activation, the progress diagonal lines bar stops, and then starts again. As soon as I see this short freeze I know that the activation will fail.

  • Mouse right-click function doesn't work in Bookmarks (Mac)

    I recently switched from PCs to Macs. No problem downloading Firefox and transferring old bookmarks and other settings, with one exception. With the PCs, when I right-clicked a particular bookmark under Bookmarks I got a series of 12 options (from Open, Open in New Window to Delete, Sort by Name, Properties). I used these a lot to delete bookmarks, change names, alphabetize lists, etc. I can now do most of these things under the Manage Bookmarks setting, but when I right click bookmarks now the new bookmark I click on just replaces the one on screen (ie, the right click does exactly what the left click does). I am using two different mice (Apple Mighty Mouse with Leopard, Microsoft Wheel Mouse with Tiger) and the right click function behaves as expected in other programs. Are these mouse right click Bookmark functions supposed to appear with the Firefox for Mac? If so, any ideas how to resolve my problem?

    Can someone explain to me why it's possible in Chrome on Mac, but not on Firefox? This is my 2nd biggest complaint about FF on the Mac, only surpassed by missing favicons in bookmarks. Chrome does both very well.

  • Right click menu doesn't work

    (This issue has been ongoing for several versions now. I've uninstalled and reinstalled, and tried safe mode.)
    The right click menu, '''within the menu bar drop down menus''', disappears as soon as I move the mouse. Making it impossible to select anything from it.
    '''For example:''' I click "Bookmarks" in the menu bar and get a drop down window of all my bookmarks. I then mouse over a bookmark and right click to get the drop down menu that will let me "Open", "Open in new Window", "Open in new Tab", etc...
    As soon as I move the mouse, this menu disappears. I cannot mouse over it to make a selection.
    If I don't move the mouse I can use the arrow keys to make a selection and then hit enter.

    This solution worked for me (Dell E6320 laptop running Firefox 5 on Windows 7 Pro) immediately:
    Go to Options > Advanced > General and uncheck the "Use hardware acceleration when available"
    I found it here: https://support.mozilla.com/en-US/questions/764278#question-reply
    It's a pity that you might be slowing the rendering somewhat, but the tradeoff is well-worth it...

  • SQL Developer 1.5.4 doesn't work

    I've been using version 1.5.3 without any significant problems.
    I downloaded the file which includes the JDK.
    When I click on the .exe file the splash screen appears and I'm then asked to configure file type associations, after clicking okay the screen dissapears and nothing comes up.
    I've checked in task manager and the program is running it's just that it's invisible?!
    Please help.

    Here's the first few lines:
    Excepting initializing ' oracle.ideimpl.searchbar.SearchBarAddin' in extension 'S
    earch Bar' : java.lang.NullPointerException
    at oracle.ideimpl.searchbar.Colorprovide.isFusionLAF<ColorProvider.Java:35>
    at oracle.ideimpl.searchbar.SearchBarAddin.initialize<SearchBarAddin.java:37>
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin<AddinManagerImpl.Java:405>
    There's lots more but I don't want to type it all!
    Thanks

  • DVD menu doesn't work right in DVD players

    I've created a DVD in Encore for Mac.  It plays fine on my Mac and on Windows.  However, once it is inserted into a stand alone DVD player, the menu doesn't work right.  I have four text menus.  In the DVD player, none of those are navigable.  Arrowing up or down doesn't work.  You have to click a number on the remote keypad and then play. This also causes "Channel 1" or "Channel 2" and so on to display.  Any ideas how I can get the arrow keys to work?  I don't have a stand alone dvd player to test against.
    Also, in Windows, I have someone that wants to duplicate the dvd.  They're using Movie Maker.  It gives an error that the codec is not installed but doesn't say which codec.  Any ideas on that?

    The only time I recall similar problems was the issue Jeff was asking about above (Mac, Encore CS3, certain OS).  If you don't solve this otherwise, I'd experiment with that.
    You appear to have confirmed that there is button navigation.  (In button routing, each button points to another.)  Where does it break down?
    On the Mac/PC, are you using the mouse?  In the computer DVD software player, there should be a "remote" that you can use to see if the button navigation is working.  Does the computer "remote" option work?  If so, it makes it not working in a standalone player even odder.
    If not, then look at whether the project works before you burn to disk.  Does the "remote" work in the Encore preview?  Or build to a folder, then play the DVD from the folder.  (I don't know how on Mac; on PC, I find the first .ifo in the VIDEO_TS folder, and play that.)

  • When trying to read emails on hotmail on firefox, the "back" button on my mouse doesn't work right. It works fine if I use internet explorer. This started about three days ago.

    Also doesn't work right when I try to click on the inbox. I sometimes just get a blank screen. Seems to work fine on every other site except Hotmail.

    Nothing changed after clearing cashe and cookies and restarting in safe mode.

  • Power Nap doesn't work right in my MBA mid 2011. Anyone knows why?

    I just boght a MBA middle 2011 and power nap doesn't work right on it, specially in Mail app, where it downloads only a few mails and the rest of them are downloaded as usual, when recativate my laptop. Does anyone knows why?... i also tried to download the SMC update, but when i try to install it i get the message that my system is not compatible with the update.
    Please somebody help me!!
    Thanks in adevence!

    http://support.apple.com/kb/HT5394

  • My iPod photo's click wheel doesn't work.

    My iPod photo's click wheel doesn't work? I can click it but cannot scroll with it...
    Any suggestions?

    That is a hardware issue.  Take the iPod Nano to an Apple store or an AASP.  Whichever is more convenient for you.  If you want to DIY - iPod Repair Tutorials

  • Bold text formatting doesn't work on Android device

    I've encountered AIR issue with text formatting.  Bold formatting doesn't work on android device.
    I've opened item in adobe bug system https://bugbase.adobe.com/index.cfm?event=bug&id=3638337 which describe the issue.
    Currently I haven't received any helpful feedback from adobe bug system.
    That's why I've desided to ask for support here.
    Does somebody know some workaround for that issue?

    Hello Chris,
    I was wondering if you can remind Adobe dev team about this issue.
    AIR 4 is released already and it doesn't have the issue fixed.
    This issue becomes painful for us because we can't update to new AIR versions.
    Currently we stuck with AIR 3.6. AIR 3.6 has bugs on new Android operational systems.
    But we can't migrate to new AIR4 because bold formatting used heavily by our application doesn't work.
    Thank you,
    Ostap

  • Palatino superscript doesn't work right

    Palatino is my favorite font. But since installing Mavericks, superscripting doesn't work right in Microsoft Word. When Palatino type that is 14 points or smaller is superscripted, instead of being reduced a couple of points it is made extremely tiny. Also, instead of being raised to the top of the line, it appears in the middle (vertically) of the line. Since I use endnotes a lot, this effectively destroys the Palatino font for me.
    According to Get Info, this particular font is Copyright © 1991-99, 2006 Apple Computer, Inc. Copyright © 1991-92 Type Solutions, Inc., so I've had it for a long time. Is there an updated version that will fix this problem? I don't have this problem in other programs, including PowerPoint. I use Office 2011.
    Here is an enlarged image of the superscript (st):
    <img src="http://ti.org/images/Superscript.png">

    I think folks are looking for a solution.
    And I have given one. The Palatino font supplied with Mavericks is no good. The only fix is to replace it with an older version. If you don't have one, you can't fix it.
    Do you agree that Restore Standard Fonts...works ... Yes? No?
    No. That option only attempts to remove fonts from the System and root Library folders that are included with OS X. It doesn't give you an option to restore OS X supplied fonts that are missing.
    I have to presume you installed Mavericks over Mountain Lion. In Mavericks, Palatino is installed to the /System/Library/Fonts/ folder. In ML, that same (correctly working) font is installed to the /Library/Fonts/ folder.
    Presuming this scenario is correct, the working version of Palatino in the /Library/Fonts/ folder was already active. When resolving conflicts in Font Book, the active font is always the one left active. Which would mean it removed the broken, Mavericks installed version.
    As noted above, I fully tested and have proven the Mavericks version of Palatino is bad. I have multiple versions of this font. They are from:
    OS 9
    MS Office 2011
    Lion
    Mountain Lion
    Mavericks
    Adobe Type 1 PostScript
    Adobe OpenType PostScript
    I used Suitcase Fusion to activate one version at a time. Testing in Word, InDesign and other apps, they all behaved as expected until using the Mavericks supplied version.

  • Right-Command Key doesn't work

    Well, on my PowerBook G4, there are 2 command-keys (I'm sure that's common).
    My right command key doesn't work what-so-ever. I tried using the keyboard viewer and it doesn't turn gray either. Funny thing, but when I press the LEFT one, both cmd keys turn gray.
    Well i dont know if its a missing driver or a setting, (maybe even a malfunctioning keyboard?) but if anyone can help I would appreciate it. Thanks.

    Sorry, my bad. Haven't read through it in awhile and thought it affected keyboard too, but looks like just trackpad and other issues described. You may just have a bad keyboard or something lodged under that key.

  • SQL DEVELOPER cut and paste does not work, slow and cannot work fast.

    I have lots of difficulties using SQL Developer, the cut/paste does not work properly, when I type search in he code editor it just paste or type the test in the source code not in the serach box. Very hectic I'm pallning to swicth to TOAD until they a a good version.

    Hello Aukhez,
    I'm sorry to hear that you're having problems with SQLDeveloper - personally, I've never had any problems with cut/copy/paste and searching, and I've been using SQLDeveloper from v1.0 to the current version, on practically every version of the JDK from 1.5-1.6u16 on both Windows and Linux.
    Sorry to state the obvious, but perhaps if you could provide a bit more specific information - such as platform, version, etc - and details of what you tried to do, someone here might be able to help...? Regarding speed, there are quite a few things you can do to make this better, but again, without knowing your setup, it's hard to give you proper directions. Plus, you'll find numerous threads here and on google about what you can do to improve speed.
    Regards,
    John

  • The right click function has stopped working on by trackpad

    The right click function has stoped working?  any idea how to remediate?

    It could be as simple as not having the two-finger secondary click function enabled in the Trackpad seetings in System Preferences.
    Does Control-Click work? (holding the CONTROL key, while clicking)

  • I get this message when I try to open my google shared docs this week: "A browser error has occurred. Please hold the Shift key and click the Refresh button to try again." - but that click/refresh doesn't work either. What's up?

    # Question
    I get this message when I try to open my google shared docs this week: "A browser error has occurred. Please hold the Shift key and click the Refresh button to try again." - but that click/refresh doesn't work either. What's up?

    The backend end is in serious pain....on many levels.
    Try this: Connection Problems Form

Maybe you are looking for

  • Hard Drive on it's death bed- Confirm please

    Alright I am about to call up applecare to get my drive replaced. I am pretty miffed about this, this machine has already ate two hard drives (this one is it's second one) and the one I get for replacing this Hitachi TravelcoughDeathstar hard drive w

  • Three Tier Configuration

    Hi friends, I am planning to implement oracle three tier architecture and want to know - How the oracle three tier architecture should be configured on a network? As per my information : Database Tier : Oracle 9i server database on a machine Middle T

  • Old Laptop would like to run Arch on it

    Hi, I bought a cheap laptop on Ebay a RM A10 specs 1Ghz Amd Cpu 256mb ram 20gb HD... waiting for a power supply at the moment so do not have much more info at the moment. Will need to source a card for wifi. Question is would it run Arch? do I need m

  • Paypal is no longer a payment option on apple store

    I wanted to change my payment method back to paypal but can't seem to find the option under payment.  Only lists cc. Any ideas?

  • Merging from an old backup

    I've just received word from a couple of users that they don't have any email at all before a certain date. The only backup I have is a few months old. Comparing random emails from the backup and the current mail store for one of these users shows me