Ugly fonts in code editor

I am using JDeveloper 11.1.1.6.0 with Win 7 or Win 8 and the font I choose (Consolas 12) does not display well in the code editor. The text in sample text looks good, but in the editor it's not the same. You can't distinguish the m in bold. See screenshot with anti-aliasing enabled. With and without the anti-aliasing, it's the same.
See https://www.dropbox.com/s/g6f0pma9z92nh4r/jdev.png

I choose Consolas because it's the one I used to use in Eclipse, and it's a good programming font. I also try to use Inconsolata or Source Code Pro. The first one is installed on my Windows but does not show up in the list, and the other one displays all characters as crossed square.
I also noticed that the sample text display looks good for all fonts but in the code editor, the rendering is different. Is it just me or my eye?
What monospaced (fixed-width) font do you advise?
Thanks

Similar Messages

  • How to add a font for use by the code editor

    Version 3.0.04 windows
    found Preferences -> Code Editor -> Fonts
    Did not see the font I would like to use in the list. The font is terminal. The font can be displayed in Control Panel -> fonts in windows.
    In the help I found Edit Font Location but could not find the dialog box described in the help
    Is there a procedure to add the font so SQL Dev can use it?
    Thanks

    Hi Dag,
    Apparently editing Font Location in 3.0 applies only to ...
    Tools | Preferences | Database | Export/View DDL Options | PDF Format
    Regards,
    Gary

  • JDeveloper Code Editor doesn't do ClearType font anti-aliasing

    I can't seem to get the Code Editor in JDeveloper (11.1.1.5.0) to do ClearType sub-pixel font anti-aliasing. Everything else in the IDE is doing proper sub-pixel anti-aliasing, it's only the Code Editor that's not doing it. It's doing "normal" pixel anti-aliasing which isn't nearly as good and still leaves the font looking quite jaggy.
    I've got the following lines in my jdev.conf:
    AddVMOption  -Dswing.aatext=true
    AddVMOption  -Dawt.useSystemAAFontSettings=lcd
    And I've checked "Enable Text Anti-Aliasing" in Preferences->Code Editor->Display.
    Is sub-pixel antialiasing in the JDeveloper code editor possible? If so, how? I'm running Windows 7 btw.

    No problem Timo.
    I don't think it's worth opening an SR for this. It looks like sub-pixel anti-aliasing isn't supported in the JDeveloper Code Editor, which is a shame, because that's the place where it's most needed.
    Michael.

  • Available Code Editor Fonts

    Where does JDeveloper get its list of fonts available for the code editor (in the preferences) from? I've a fixed width font which I wish to use but it's not listed. Thanks.

    Hi John,
    JDeveloper gets the list of fonts to use from the JDK call:
    java.awt.GraphicsEnvironment.getAvailableFontFamilyNames()
    Which platform are you on? If not on Windows, I'm not sure how to setup the JDK so that it picks up the appropriate fonts. Let me know the platform (if Unix) and I can ask our resident Unix experts. If Windows, the JDK should be able to pick up any installed fonts.
    - Jimmy
    JDev Team

  • File not visible in Layout Editor, but okay in Source Code Editor & Preview

    I just finished editing this page, and uploaded. It is visible on www, but when I go to edit it in Layout Editor, the cursor is blinking on a white background. Nothing appears to be there. However if I change to Source Code Editor or Preview, all my data is there. Here is the link to it - www.engraversnetwork.com/uls_lasers.html.

    Wow! I figured it out. I was cleaning up my meta tags and left the ">" bracket off of the end of the line. Maybe that will help someone later on

  • How to change background color in code editor?

    Hi. Some of the pre-selectable Schemes under Tools->Preferences->Code Editor->PL/SQL Syntax Color (e. g. Ocean) have a "global" default background color that applies to all styles. How can I edit this color for my own color scheme?
    (SQL Developer version 3.1.07)

    Jeff,
    if you try to change all the plsql keywords to the same background color (that is not either white or black or blue) via the options panel in SQL Developer (Code Editor > PLSQL syntax colors), you will get the new background color in the worksheet only for the areas with plsql text, while the areas without any text will have the same background color as the base color scheme you started with. This means that there is no way to change the "general background" color via the options panel, but you have to use the same background color of one of the predefined color schemes.
    This seems to me a bug, but probably it's not considered high priority, so it will not be fixed for the time being.
    I would like to stress the fact that being able to change the color scheme of the development environment that you use every day about 8 hours a day can make quite a difference on your eyes at the end of the day.
    Thanks,
    Paolo

  • Is there a way to restrict the cursor at the end of a line in the source code editor??

    In the source code editor, the cursor will always follow where I click. But I wanna restrict it at the end of a line, just like other text editors do. Is there a option or sth? I can't put up with it any longer.
    Solved!
    Go to Solution.

    Hello morphe!
    The source editor in the LabWindows/CVI environment is constructed under the concept of virtual space.
    At the moment, in the current version of LabWindows/CVI, this is the default behavior, which cannot be changed from the editor preferences dialogs.
    Best regards,
    - Johannes

  • How to install new fonts using code in java?

    Hi,
    How to install font in a system using java, provided i know the font file's address. Is there any specific class/method available for this purpose? Copying the file to windows/font directory will work for windows, but I think it wont be generic to all operating system. So is there anyway to install a font using code?
    I also want to know how to make the font available only until my application window is open, It must be available to all other external applications like photoshop, word etc., When I close my window it must un-install automatically or be made not available to other applications. Any suggestions? Please do help! Thanks in advance...

    I have already tried the above, But the font created using input stream is available only to my application* and is not viewable in photoshop.*. I realize this. Like I said, I know of no method that will register/deregister the font with the system. You'll have to create your own method that takes the operating system into account.
    String os = System.getPropery("os.name");
    if(os.equals("Windows Vista")) {
    }else if(os.equals("Windows XP")) {
    }else if(os.equals("Windows NT")) {
    }else if(os.equals("Solaris")) {
    AIX
    Digital Unix
    FreeBSD
    HP UX
    Irix
    Linux
    Mac OS
    Mac OS X
    MPE/iX
    Netware 4.11
    OS/2
    Solaris
    Windows 2000
    Windows 95
    Windows 98
    Windows NT
    Windows Vista
    Windows XPYou'll need the standard font directory for each system. I think all the window ones are C:\Windows\Font\ . Each OS probably has its own little quark (like having several font directories or throwing different security exceptions). Undoubtly it's going to require some research and a bit of trial and error. You can probably work some magic with Runtime.exec(...) as well.
    The alternative would be to google for some libraries that offer similar functionality, or promt the user for the system's font directory and save the location of the directory in a file somewhere for future use (so the user dosen't have to specify the font directory everytime he/she starts up the application).

  • EA1 - Right gutter scroll bar in the Code Editor doesn't work?

    SQL Developer version 4.0.0.12, Windows XP
    I'm opening package body in Code Editor. In previous version of SQL Dev after pressing CTRL and moving mouse over the right gutter I could see a few lines of the code from mouse pointed position in the source.
    Now it doesn't work.
    Link below - section "Working in the Procedure Editor":
    http://www.thatjeffsmith.com/archive/2012/01/viewing-plsql-compilation-errors-in-oracle-sql-developer/

    Hi,
    It is true the right gutter's general scrolling window view capability no longer exists in 4.0.  However, if code errors exist, then small blue squares (uncompiled code) or slightly larger red rectangles (compiled code) appear in the gutter representing the relative positions of the bad code.  Hovering the mouse over those produces a pop-up display of the offending code and, in fact, the pop-up will not display if the Ctrl key is pressed at the same time. Of course, clicking on the rectangles or squares moves the editor's current line to that code as in earlier releases.
    So it is not clear whether this is merely the new, intended behavior, or if more of the prior behavior remains to be implemented in 4.0.  As far as I can tell, nothing important has been lost here, but that is just my opinion.
    Regards,
    Gary
    SQL Developer Team

  • BUG: EA 2.1 code editor: completion insight doesn't work in opened files

    I just migrated from SQLDEV 1.5.5 to EA 2.1. It's nice that I colud find so many of my suggestions implemented in this new version. THANKX :-)
    code editor:
    When I'm working in SQL Worksheet the "completion insight" feature is working well, but when I try to use it in an opened file, it doesn't work.
    Is there a special preference to turn on for use with files?
    Edited by: @chris on 12.11.2009 10:57

    Correct it did work in 1.5. on .sql files, when connected, so I have updated the ER to bug. We also need to expand this to support PL/SQL files.
    Sue

  • Preferences: Code Editor: Printing:  Add File Path and Date to Print Header?

    Is there a way to add file full path and date to the print file header for a SQL Worksheet when printing from the Code Editor?  So, for example, if my SQL worksheet is called MySQL.sql and is saved to C:\Myfiles\SQL_Code\, I'd like to print the full path 'C:\Myfiles\SQL_Code\MySQL.sql' and today's date as part of the print header along with the page numbers at the top of the code.   I see a Java preview in the Preferences: Code Editor: Printing window that mentions a "Today" date but I don't know Java and that is an uneditable preview.  I have checked the "Print File Header" check box.  Is the file header definition stored somewhere in a configuration file and/or is there a way to modify/customize the default file header?  
    I am a new user to SQL Nav. version 3.2.20.09 Build-MAIN  09.87. I could do this in SQL Navigator but can't figure it out in SQLDeveloper. Thank you.
    -Cathy

    HI
    First of all,
    Unless otherwise you selected some option like page break after/before - both body and header/footer will print on same page in report, so in pdf as well.
    If you have difference on report and PDF that you should look into your setup.
    If you want more help, please be particular on your issue
    james. wrote:
    Hi All,
    I am using Oracle Report 10g. How can I add header and footer on same page as my body? Right now when a generate a pdf file, it is printing individual pages instead of 1 one page. Please help me.
    Regards

  • Help selecting non-continuous text in code editor, please?

    I'm editing a list... I want to make a lot of selections at once and  edit them at the same time.  You know how you can go through files in  windows and ctrl+click/select files to move around?  I could do this in Notepad++ so I guess I could switch back and forth but that would be a big pain.  Any ideas?

    Depending on what the edit is, you could use the Find & Replace (CRTL+F) to just click your way through the list items. If the list is all different items, you'll probably have to do it in a word processor. I don't know any way to do it in the code editor.

  • Java code editor bug

    JDev Team
    The code editor highlights the string inside split() in red. The message displayed is " String literal contains illegal escape character '.' "
    String prodID = "10.5.1";
    String[] prodLevelId = prodID.split("\\.");
    Thanks

    balar1,
    Thanks for the feedback. I checked your testcase in more current builds and the error is no longer present, so this issue is isolated to the preview. Thanks again for making us aware of this problem.
    --RiC                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Few featues in JDev 10.1.3 code editor

    Few code editor feautes I would like to see in JDev 10.1.3
    Reference : http://help.eclipse.org/help30/topic/org.eclipse.jdt.doc.user/whatsNew/jdt_whatsnew.html
    1) a method parameter, to assign it to a new field
    2) a method declaration. to create the method in a supertype
    3) highlight source code according to its semantics (for example: static fields, local variables, static method invocations
    4) Highlight method exit points (really helps)
    5) Mark locations of thrown exceptions (Easy look up of exceptions)
    6) Parameter mismatches in constructors or methods
    ex: Quick fixes offerd to cast, swap, add, or remove arguments or method parameters.

    project properties -> run debug configuration-> tools settings -> Make project when run

  • BUG: JDeveloper code editor shows valid static import call as error

    I've noticed what appears to be a bug in the JDeveloper code validator when dealing with static imports.
    The following classes demonstrate the problem:
    package test;
    public class Parent {
      public static void parentMethod() {
        System.out.println("called parentMethod.");
    package test;
    public class Child extends Parent {
      public static void childMethod() {
        System.out.println("called childMethod.");
    package test;
    import static test.Child.*;
    public class StaticInheritanceTest {
      public static void main(String[] args) {
        Child.childMethod();
        Child.parentMethod();
        childMethod();
        parentMethod();  //<-- this line is highlighted as an error
    }Notice how on lines 7 and 8 of StaticInheritanceTest, the code validator does recognise that both parentMethod and childMethod are static methods of the Child class.
    Since 'Child' has been statically imported, then parentMethod should be available. Although parentMethod is presented as an 'auto-suggest' at line 11 in StaticInheritanceTest, when you try to call it the code editor shows the call as an error and the Ctrl-Click (to drill down into the method) doesn't work.
    When I run the class, it compiles successfully and runs with the following output:
    called childMethod.
    called parentMethod.
    called childMethod.
    called parentMethod.This might seem like an obscure and theoretical problem, but I've hit this whilst using Mockito, which uses exactly this kind of inherited static method to provide matchers.

    Hi,
    thanks. Will file a bug. This seems to be a designtime only issue that does not present a show stopper.
    Frank

Maybe you are looking for