JDeveloper code re-formatting: configuration

I adjusted the right margin in my editor view so as to not have long code lines wrap to early.
Alas, whenever I run the Reformat (CTRL-ALT-L) command, it completely ignores my adjusted right margin and re-wraps all lines, making my code unreadable (by me).
Is there a way to adjust the parameters used by the Reformat command?
Thanks
Jan

Hi,
the margin appears to be a display thing only, not a rule. To achieve what you want, choose
1. Preferences
2. Code Editor
3. Code Style
4. Select Java Code Conventions
5. Press Edit
6. Expand Line Wrapping
7. Change Line Width (80) property
Note that the value of 80 is what usually fits on a printed page (just in case you need to print it to some point in time)
Frank

Similar Messages

  • HT3775 This file contains a track in the Dolby AC3 Audio (code "8192") format. You may need to install a QuickTime component for this audio format in order to hear the soundtrack of this file.

    This message appeared and does this just mean I need to upgrade Quick time player? This file contains a track in the Dolby AC3 Audio (code "8192") format. You may need to install a QuickTime™ component for this audio format in order to hear the soundtrack of this file.

    Luckily, there are DOZENS of video/media players and extensions avaliable for the Mac. Many of them are FREE, some of the better FREE ones are...
    PERIAN (quicktime extension)
    http://perian.org/
    QUICKTIME 7.6.6
    http://support.apple.com/kb/DL923
    VLC media player
    http://www.videolan.org/vlc/
    NICEPLAYER
    https://code.google.com/p/niceplayer/
    And if none of those work, there is a possibility that those video files may be corrupted.

  • How do I do use the custom code and format for a percentage with 2 decimals in Report Builder 3.0?

    In Report Builder 3.0, I have the following custom code entered:
      Public Function SafeDivide(Numerator as String, Denominator as String) as String
    Try
    If Numerator = “” or Denominator = “” then
    Return “-“
    End if
    If Numerator = “-“ or Denominator = “-“ then
    Return “-“
    End If
    If CDbl(Numerator) =0 or CDbl(Denominator) = 0 then
    Return “-“
    End if
    If IsNothing(Numerator) or IsNothing(Denominator) then
    Return "-"
    End if
    Return Val( ( (CDbl(Numerator) / CDbl(Denominator) )*100 ) )
    Catch
    Return "-"
    End Try
    End Function
    I call the custom code in the cell with the following equation:
      =Code.SafeDivide(sum(Fields!TY_UNITS.Value)-sum(Fields!LY_UNITS.Value),sum(Fields!LY_UNITS.Value))
    I have the format for the cell set to 0.00%, but it’s not being followed.
    I want the result to be formatted as a Percentage, but instead I get values like: 
    -78.9473684210
    80
    300
    -100
    I have the format for the cell set to 0.00%, but it’s not being followed.
    How do I do use the custom code and format for a percentage with 2 decimals?

    Hi AngP,
    After testing the issue in my local environment, I can reproduce it. Based on my research, I find this issue is caused by the type of Units_VAR_Percentage cell is string, while the type of CDbl(Parameters!Var_Threshold.Value) is double, so they cannot be
    compared.
    To fix this issue, we can add a hidden column (Textbox91) next to the Units_VAR_Percentage column, and type =(sum(Fields!TY_UNITS.Value)-sum(Fields!LY_UNITS.Value)) /sum(Fields!LY_UNITS.Value) as the expression. Then use the expression below to control the
    BackgroundColor:
    =iif(iif(reportitems!Units_VAR_Percentage.Value=CStr(format(reportitems!Textbox91.Value,"0.00%")),reportitems!Textbox91.Value,0)>CDbl(Parameters!Var_Threshold.Value),"Yellow","PaleTurquoise")
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • 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

  • What can i do to fix the following : You may need an additional audio decoder to play the soundtrack of this file. This file contains a track in the Dolby AC3 Audio (code "8192") format. You may need to install a DirectShow decoder for this audio format i

    You may need an additional audio decoder to play the soundtrack of this file.
    This file contains a track in the Dolby AC3 Audio (code "8192") format. You may need to install a DirectShow decoder for this audio format in order to hear the soundtrack of this file.

    Luckily, there are DOZENS of video/media players and extensions avaliable for the Mac. Many of them are FREE, some of the better FREE ones are...
    PERIAN (quicktime extension)
    http://perian.org/
    QUICKTIME 7.6.6
    http://support.apple.com/kb/DL923
    VLC media player
    http://www.videolan.org/vlc/
    NICEPLAYER
    https://code.google.com/p/niceplayer/
    And if none of those work, there is a possibility that those video files may be corrupted.

  • HT204382 Dolby AC3 Audio (code "8192") format

    What do I need to get and to install so I can get sound on the videos that tell me,"You may need an additional audio decoder to play the soundtrack of this file.
    This file contains a track in the Dolby AC3 Audio (code "8192") format. You may need to install a QuickTime™ component for this audio format in order to hear the soundtrack of this file."

    JOSDIOR wrote:
    dear all i have this message on my computer when a try to play a dvd:"this file contains a track in the DOLBY AC3 AUDIO CODE"8192" format
    From what I can read, downloading and installing Perian may fix your issue.
    You can download Perian for free from here
    http://perian.en.softonic.com/mac
    Good luck
    Pete

  • Dolby AC3 Audio (code "8192") format

    I tried to find in the QuickTime forum about this topic but no success.
    I received this message trying to watch a movie:
    This file contains a track in the Dolby AC3 Audio (code "8192") format. You may need to install a DirectShow decoder for this audio format in order to hear the soundtrack of this file.
    The problem is that I visit about 15 discussions webpages about this "AC3 Audio (code "8192")" and what I really got? Nothing that really worked. What I found was for PCs, codec in .exe and so on, but for the Mac, zero. I even bought DivX for Mac and it was a deception. I looked at Apple/QuickTime/Components and I was again at DivX page...
    Any help would be great. Thanks in advance!
    Mario Lordeiro, Rio de Janeiro

    http://perian.org/
    http://discussions.apple.com/thread.jspa?messageID=10368675

  • 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.

  • Code page format

    Hi all,
    The program containing CODE PAGE FORMAT  is working in 4.6 but it's showing error in ECC6.0.
    Plz help me how to remove this error in ECC6.0.
    Regards,
    Sachinn

    Hi,
    Foe code page format u need use METHODS.
    if u press F1 on code page format command it will give syntax & what has to use in ECC6.0 also it will give in the help.
    i am not sure abt the method but if u give any code it will helpful.
    u can refer this link for details http://help.sap.com/saphelp_nw04/helpdata/en/cb/56453c3ff4110ee10000000a11405a/frameset.htm
    Regards,
    Flavya

  • Enhancement Suggestion - Jdeveloper Code Editor

    Hello,
    I would like to make an enhancements suggestion for the JDeveloper code editor. I find the "history" tab of the source editor extremely useful when I'm trying new things and not sure if they would work. This tab helps me revert changes to a last known version. However, I see myself having to identify the previous correct version by date and time, which is kind of dicey. I do see there is also a description column, however, I'm not able to edit the description with a meaningful message that would help identify as last know good version quickly. Hence, my suggestion is that the history tab of the code editor allow the user to add tags / comments against each version for quick identification.
    Hope the Oracle development is listening, and you'll have to excuse me for posting if this forum is the wrong place to make suggestion ( i didn't quite find any feedback feature on the Jdeveloper product page).
    regards,
    Rehan Yusuf

    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.

  • Moving VPP Redemption Codes without Apple Configurator

    I work in a large Secondary School in the UK. We've just rolled out the first batch of what will be over a thousand iPads that are planned to get us to a 1:1 device scheme and I come up against a major issue.
    It would appear that the VPP redemption codes can only be removed from a device if using the Apple Configurator.
    Please correct me if I'm wrong but: The Apple Configurator can deal with 30 iOS devices synced through a USB connection.
    In our situation we are looking to be able to manage over a thousand of these devices so as a student moves between year groups we are able to provided the paid apps required for that year. At the moment it looks like we are going to have to purchase a fresh copy of each paid for app or collect in each iPad sync it to the right computer.
    Currently we are pushing settings and apps using the Meraki MDM solution but it's my understanding that none of the MDM solutions are able to offer this facility. Am I right or am I barking up the wrong tree?
    Any assistance with this would be greatfully recieved

    You are correct in that VPP codes can only be recovered from a Supervised device using the provisioning computer running Apple Configurator that initially installed the app on the iPad.
    Apple Configurator can only *simultaneously* sync 30 iOS devices, however it can manage hundreds or thousands of devices if you wanted it to. Some schools will have a single Mac running Apple Configurator to manage all of their iPads in the entire school.
    If you have a single computer running Apple Configurator and need to recover the VPP codes at the end of each year, you could Supervise all of the iPads with that one computer at the beginning of the year and install all of the apps. Then at the end of the year, you could have the students drop off their iPads so that you could remove and recover those VPP codes back into Configurator.
    When you make an app available to an iPad with Meraki (or other MDM), the end user will be prompted to enter an Apple ID and password. If you are using a VPP code for a paid app, the app ownership will go to the Apple ID that redeems it. Once that VPP code has been redeemed by an Apple ID, it cannot be recovered.
    For more on app ownership and deployment models, check out the iOS 6 Education Deployment Guide:
    http://images.apple.com/education/docs/ios_6_education_deployment_guide.pdf
    Hope this helps!
    ~Joe

  • Apple Configurator Redemtion Codes Spreadsheet format

    I need to supply a spreadsheet for Apple Configurator with redemtion codes to a customer. The customer lives in a non-VPP country and is not able to use VPP to buy the licenses.
    Where can I find a description of the spreadsheet format used by Apple Configurator in order to generate the spreadsheet my self?
    A sample file would also be great.

    I've got support from Apple Germany. It seems to be a problem of version 1.1.2 of Apple Configurator and Mountain Lion 10.8.2
    As mentioned above I had the same problem using 10.7.4 and 10.7.5 and Configurator 1.1.2. Apple Germany sent me a different spreadsheet, where I've put my codes in and it worked. Strange but true.
    Other story, I bought 50 redeem codes, after installing 22 iPads it stopped, telling me that there are no more redeem codes left ?
    Good luck contacting Apple directly

  • New to JDeveloper - cannot find the configuration file

    Hello,
    I'm new to JDeveloper and have been following a couple of the tutorials on OTN. I have just been through one called Business Components Programmatic Client Tutorial which attempts to teach you how to create a batch client for some customer orders. I've got a workspace with two projects. One holds the business components and the other holds a Java application. Basically, when I try to run it, I get the following errors :
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /OnlineOrder/common/bc4j.xcfg in the classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:237)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:192)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:348)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:951)
         at bcbatch.Batch.main(Batch.java:21)
    Exception in thread "main"
    Process exited with exit code 1.
    I know that the createRootApplicationModule procedure is trying to instanciate an an application module of the type specified and the configuration file exists at :
    E:\JDeveloper\jdev\mywork\bcbatch\OnlineOrder\src\OnlineOrder\common\bc4j.xcfg
    My classpath is set to :
    E:\<Oracle_home>\jdev\mywork\bcbatch\OnlineOrder\src
    so its hard to see why it can't find \OnlineOrder\common\bc4j.xcfg from there.
    Any help would be greatly appreciated.
    Regards,
    Joe

    Make sure your bc4j application project is compiled. To verify see that the .xcfg file exists in the classpath of the "client-project" / outpath of the Bc4j project.

  • Re: Any Transaction Code to Find Configuration Settings for FICO

    Hi Friends,
    I want to know is there any transaction code to identify the configuration made for FICO for a particular company.
    Pleae help me out.
    Regards,
    vivek

    Hai  Vivek,
    The complete configuration can be viewed through EC01. Go to EC01, Press on structure, In the next screen click on navigation. Press enter through all the messages. The next screen would display a tree structure with all company codes under the client. Select ur company and double click. the entire configuration, with the related assignments can be viewed in a tree format.
    In OBY6 u would in a position to look at the assignments pertaining to company code whereas in EC01, you would be in a position to have a complete configuration including the integration with mm and sd.
    This wud definitely solve ur prob.
    <b>Assign points if useful</b>.
    Regards,
    Smruti

  • Transaction code used to configure HTTP Adapter?.

    What transaction code we use to configure HTTP adaptor?.
    SMICM
    Is this correct?.

    Ash,
    Yes. Please see this weblog for some more help:
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    Just go this url and click the first one for HTTP adapter presentation:
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=http%20adapter&cat=sdn_all#
    Also check this threads:
    in SMICM-->How to Activate HTTP Services
    SMICM services
    ---Satish

Maybe you are looking for