Code editor enhancement request

I would like to be able to do the following in the Code Editor:
Type in a call to a method that does not exist.
For example:
String s = getSomeUnknownMethodResult(5, "foo");The Code Editor would of course highlight this as a semantic error. At this point I would like to be able to type some special keystroke (a la Alt+Enter) and have an empty method generated for me in the current class:
public String getSomeUnknownMethod(int p0, String p1) {
  return null;
}Or perhaps a dialog could appear allowing me to customize the call before it's generated: protected instead of public, parameter and return types, parameter names, etc.
This isn't quite the same as the Extract Method feature, since it's the method call that we're starting from, not the method implementation.

Sounds reasonable.
I went ahead and logged an enhancement request for this.

Similar Messages

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

  • Enhancement request: Remote interface java file generation

    Problem:
    In release 9.0.3, If you want to write a method that is suppossed to be exposed in the remote interface, you have to first right click on the ejb-jar.xml's appropriate EJB name node and then add the method, specify the argument types (say about 25 in number in a small width textbox), return type, etc and check the check box 'Expose in remote interface'. Then only remote interface's java source gets updated and only after doing all this can you actually sit down to write the business logic in that method. If you first code the method and then try to add the same, it gives an error saying "duplicate method exists"
    Suggestion:
    The similiar feature in release 9.0.2 was much better and flexible as it allowed the generation of remote interface source after coding the actual method in the EJB source. You can first write the method and then expose it in the interface by just choosing it from a method browser and opting for exposing it in the remote interface. You donot have to write the name and number of arguments like we have to currently do in the 9.0.3 release.
    (1) Actually, all public methods in the EJB source should by default be exposed in the remote interface because EJB are supposed to be used by other EJBs and JSPs only and all methods that are public but not exposed in the remote interface should actually be private or protected.
    (2) Leave it up to the developer to edit the remote interface
    (3) When the EJB source file is changed (public methods changed) compiled the remote interface should also be updated automatically. Why? already you have provision to change the remote interface source, so just dump all the public methods in the remote interface source when the EJB source is compiled.
    (4) Ditto for EJB Homes
    (5) Actually whenever the developer changes and compiles the EJB source, the remote and home source should automatically be updated AND COMPILED. (Refer: Pramati Studio 3.0 SP3 :- URL: www.pramati.com )
    I was very happy with the earlier option. If anybody other then the JDeveloper Team finds this interesting, please respond. A suite like developer should be more User-friendly.
    And yes expect more like this from me in the future

    Hi Raghu,
    Thanks for the quick response. This flexiblity in Remote interface generation and choice of methods in it at any given point in the development cycle is very much desired feature.
    The other thing I would like to suggest is you look at another enhancement request in my name regarding batch updates of the "web.xml" file. You will find the thread updated today i.e. on 15th September with a reply
    I will shortly post one more for lack of modularity in EJB components descriptors.
    My Company Four Soft Pvt. Ltd. (www.four-soft.com) is Oracle's development partner and we use and support Oracle products. They are good but naturally we would like them to be better and more User-friendly.
    Thanks once again.
    Amit

  • OWB 10gR2 - some enhancement requests

    Hi, I've been working with OWB 10gR2 for approximately a week now, and I've come across a few (minor) bugs, as well as a list of enhancements that I think would make the tool better. I'd like to surface these in this forum so they can be either disagreed with or have workarounds suggested, as well as getting this list in front of Oracle. Also I'm new to the tool, so maybe there are ways to accomplish what I want.
    p.s. as a side note - please don't take these as criticisms of the tool. I'm actually very impressed with OWB 10gR2, but just want to surface some ideas that I think would make the tool better.
    Thanks,
    Scott
    ---Bugs:
    1.     If I enter a quote character in one of the business description fields (i.e. for a cube or dimension), it causes the DDL scripts to blow up. It probably mentions the list of valid characters in the users guide somewhere - but if a character isn't legal, it should be flagged when I try to enter it originally – not when deploying
    2.     I can enter illegal strings in an expression operator that fail validation there, but the whole map still passes validation. For instance, I put in an expression (for a varchar2 field) using a single quote at the start, but mistakenly with a double quote at the end. I didn’t bother to validate this within the expression. The whole map validated fine, but (of course) blew up with the illegal syntax when generating the code.
    3.     I get the following error when trying to browse a cube (ROLAP, not MOLAP) through OWB, but I'm able to pull the cube up fine using either the excel add-in or biBeans: CubeDV_OLAPSchemaConnectionException_ENT_06952???
    ---Enhancement Requests:
    1.     Add a “deploy” button in control center next to the to “default actions” and “reset actions” buttons
    2.     Allow an option to have dimensions and cube defaults set to either “deploy all”, “deploy data only”, “deploy catalog only”, “deploy aggregations” (for cubes). Also, why is the default set to “deploy data only”? Does deploying the CMW2 metadata involve huge performance impacts or something? It seems like the CMW2 is almost “free” – so it should be turned on by default. Its a pain to use the dimension wizard, but then have to go in to each dimension afterwards to set this option.
    3.     When using “configure” on dims and cubes in control center, the first time the “configuration properties” dialog pops up, everything is fine. However, when you try to configure the 2nd object, the “background focus” switches from control center back to design center. This makes navigation very slow if you have lots of items to change. I've noticed this behavior in a few other places as well.
    4.     Some dialogs do not have maximize buttons (i.e. dimension wizard dialogs), and default to a very small size. It is possible to have size of dialogs dynamically scaled to screen resolutions, and attempt to size columns so they fit properly. Or better yet, have each dialog remember how large it was last time, and automatically open up to that size?
    5.     When generating the “autobind” relational table while creating a dimension, it seems to be “randomizing” the order of the attributes within a level (although it does sort the “top level” attributes first, followed by lower level attributes), at least when using the dimension wizard. It would be nice if the attributes in the relational table came out sorted in the same order as they are specified in the attributes tab.
    6.     When using a “unmapped” display set– there doesn’t seem to be a way to refresh the set (i.e. remove the items that have since been mapped) unless you select “all” and then “unmapped” again. Would be nice if you could simply choose “unmapped” again and have it refresh the object
    7.     While doing a mapping, right click on canvas allows option to “generate”. Would be nice to also add the “validate” option to this menu
    8.     Validating mappings takes a decent amount of time – would be nice if a “busy” icon was displayed to let user know that OWB hasn’t locked up.
    9.     default size of “job details” dialog is too small, and even if I maximize I still have to go through and manually adjust the size of each pane. Similar to enhancement #4
    10.     Horizontal size of operators in mapping seems to be determined by the length of the operator name, instead of tying directly to the icon. Looks strange. Very minor
    11.     When displaying dimension objects in a mapping:
    a.     For the “surrogate key” columns – add an icon to indicate this attribute is a surrogate key. Likewise, since its not legal to map anything to this column, remove the little “arrow” next to it (the one that turns gray when something is mapped to a column), or perhaps don't even show this column at all.
    b.     For the “business key” columns – add some type of icon to show which attributes represent the business natural key (or make color different, etc.)
    12.     Similar to #11, for the cube operator in a mapping:
    a.     For the “surrogate key” columns – if they can’t be mapped to, then don’t show them
    b.     For the “business key” columns – add some type of icon to show which attributes represent the business natural key
    c.     Separate the “measure” columns from the dimension columns
    13.     For the “Aggregation” operator – can you move the “<None>” default operator to the top of the list. At the bottom, it means you always have to scroll to use the most common operations (which are at the top of the list), i.e. sum and avg, etc.
    14.     In the log on prompt, if I choose SQL*Net connection, every time I start it up it defaults to the details being shown (even when I chose no detail last time), with cursor in the “host” box. I should be able to have the details hidden, and this dialog should ALWAYS default to having the active cursor in the password box on startup
    15.     When printing in a mapping, the “page setup” print dialog is very slow. Also, the “print setup” dialog shows margins, but you can’t adjust them. It would be nice if this could be changed here
    16.     Add a “print preview” icon to all of the toolbars. Printer icon is there, print preview should also be.
    17.     In the dimension attributes, we need a way to tag an attribute as being the “insert record” date or the “update record” date. The corresponding MERGE SQL should be updated to use these attributes.
    18.     It would be nice if the mapping canvas defaulted to an unlimited size…i.e. when I want to add new operators and the screen is already full, I either need to shrink the zoom factor down to the point where I can’t read the icons anymore, or I have to pick up the new operator and “drag” at the bottom / right side until it scrolls enough to drop it where I want. If the canvas had an unlimited size, I could simple use the scroll bars to scroll to where I want.
    19.     Scroll wheel functionality to zoom in / out (and have it zoom in around the currently selected object)
    20.     Option to have operations automatically resize when longer attribute names are added to them (can workaround by mimimizing and then maximizing, but would be better to have the operators automatically adjust size to fit)
    21.     Ability to sort output attributes in an operator (just like table column sort functionality). If I create a new operator, it would be nice to group it with related operators instead of always having it at bottom.
    22.     re: column sort functionality – drag and drop instead of up/down arrows would be nice
    23.     It would be nice if, when adding output attributes to (for example) the expression operator, it would choose the default data type the same way the dimension attribute wizard works (i.e. if it sees “ind” in name, automatically choose char(1)
    24.     Change the “zoom in” button so that it zooms in on the currently selected operator – i.e. if I click on a particular table and then hit the zoom in button, it should keep the table I selected centered
    25.     When in a mapping, clicking on a line should highlight the attributes on both the source and target operators (to allow easier visual ID of where data is coming from / going to)
    26.     AWM has a feature where table attributes can be sorted so that mappings between them don't have "crossed" lines. Similar functionality in OWB would be very appreciated. It may be harder to automate this, but even manual drag and drop of attributes within an operator would be nice.

    if you could copy/paste this whole thing into the submission form (see feedback option under the numbers menu). The more people that request these features, the more likely we are to see them in an update or the next version.
    Jason

  • Enhancement request for more fine-grained templates

    JHeadstart version : 10.1.2.0
    I like to have the possibility to define templates on the level of table rows. If I am correct, currently the 'lowest' level of a .jtt template is the $FORM_ITEMS$ token. According to the userguide this token "is used to indicate the place where a form must be generated". My question is now: How can I influence this generation process? For example, I want to embed text-items within <c:if's in order to conditionally set a text-item attribute. Am I right to conclude that on this "deeper" level of a jsp (for instance table-row level), it is not possible to define templates?
    If so, I want to request an enhancement for a further 'fine-graining' of the templating technique.
    Thanks and greetings, Erik
    Message was edited by:
    ekerkhov

    Erik,
    Yes, this is not possible in he current release.
    Your enhancement request has already been implemented for the JDev10.1.3/Faces release. We will the support two kinds of tokens, one that outputs all items as it is today ($FORM_ITEMS$ or $TABLE_ITEMS$), and one token that refers to an individual item. This reference can be bpoth on index number and name:
    FORM_ITEM_1 or
    FORM_ITEM_DepartmentName
    This will allow you to layout the items exactly as you want.
    Note that in the 10.1.3 release, we will also support item-level templates where you can add code to conditonally render items.
    Steven Davelaar,
    JHeadstart Team.

  • Enhancement request: Java Class Diagram show option

    Hi JDev team
    Can you log the following enhancement request for the Java Class Diagram editor please? When right clicking an existing class in the diagram, then the Show option, it would be useful to have a Dependent Elements option that will add any subclasses to the selected parent class.
    For example, say I had oracle.jbo.server.RowImpl selected, if I selected this new option it would automatically add EntityImpl and ViewRowImpl, saving me having to look at the JDoc for RowImpl to determine the subclasses then manually add the classes to the diagram.
    Thanks & regards,
    CM.

    Chris,
    This is an interesting feature. The ER tracking number for this potential feature is 6279169.
    --Ric                                                                                                                                                                                                                               

  • Enhancement request: Java Class Diagram new facilities

    Hi JDev team
    Can you log the following enhancement request for the Java Class Diagram editor please? Firstly it would be useful when selecting a class in the diagram that the Hierarchy window was synchronized and updated the class stack to show the selected item.
    Secondly it would be nice to be able to drag and drop items from the Hierarchy window into the Java Class Diagram to be included in the diagram.
    Thanks & regards,
    CM.

    Chris,
    I submitted an ER for your request. The tracking number is 6279159.
    --RiC                                                                                                                                                                           

  • Enhancement request -- multiple conditional breadcrumbs

    i've got a page that is called from 3 other pages, so the breadcrumb path is different for each calling page
    i need the correct breadcrumb path to be displayed on the called page
    since a apge can have only breadcrumb entry within a breadcrumb structure, the only way i can figure out to do this know is to build an additional breadcrumb and associated entry for each additional path, then create (not copy) an additional breadcrumb region on the target page, setting it to the additional breadcrumb; conditions on the multiple breadcrumb regions can then determine which one should be displayed
    is there currntly a better way to handle this in Apex 4.1?
    if not, my enhancement request is to make it a lot easier to have dynamic or conditional breadcrumb hierarchies rather than require multiple pre-defined breadcrumb structures -- ideally this would be part of a generalized way of tracking the 'calling stack' of pages so that 'return to caller' can be more easily implemented rather than requiring custom code to track this.

    Hi Chris,
    Currently there is no option to set a conditional display on a chart series query, however this feature is already on the list of enhancements that are being considered for our next release....so hopefully that option will be there in a future release.
    Regards,
    Hilary

  • Changes on code editor code style are not applied on restart

    Jdeveloper 11.1.1.3.0
    Tools > Preferences > Code Editor > Code style > Edit > Modify "Indentation Size" > OK > OK > Close Jdev > Open Jdev => modified "Indentation size" not applied.
    Any solution?

    hi user474075
    I have noticed something similar for which I have created service request 3-1764420131 ,
    which resulted in bug 9740870 , "CODE STYLE USE TAB CHARACTER ISSUE"
    for which "... We are waiting for the review process of the bug to be completed. ... "
    So, if you can create your own service request (at http://support.oracle.com ) and refer to bug 9740870 that might speed things up.
    (tip : You can use "Your Control Panel" to make your name visible in forum posts.)
    regards
    Jan Vervecken

  • Enhancement request for VAT Report of Customer and Vendor.

    Hello SAP Gurus,
    Have enhancement request for adding new fields in existing VAT report of Customer and Vendor like user id, GL account etc.
    As I am fresher, can you please help me that how I need to approach. Thanks for your support.
    Regards,
    Saleem

    Hello Saleem,
    Almost all fields required for VAT reporting are available in standard tax report
    S_ALR_87012357 .
    You have to configure the layout from the selection screen as below
    regards
    pb

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

  • Enhancement requests do seem to be worthwhile in the end...

    Having requested the continuous/shuffle music video playback several times in the last 18 months or so, and urged people to do so via...
    http://www.apple.com/feedback/appletv.html
    ...it has finally been implemented and I'm chuffed to bits.
    Well done Apple, this is a superb enhancement though why so long to implement ?
    Personally I feel this was a huge oversight for AppleTV ever since it was realeased, and seriously hindered both use of AppleTV as a media extender and obviated the point of buying music videos unless you watch them on portable devices which I don't.
    I had become increasingly negative about the prospect of ever seeing this feature
    appear - this cat doesn't wear a hat so I'll have to eat something else instead!
    I am now likely to spend a fair amount on music videos at iTunes Store having vowed not to do so again as having to select each one manually to play was tedious to say the least.
    Really baffles me how Apple have missed the opportunity for revenue from music video sales via AppleTV, particularly when iPods had the shuffle feature.
    As I commented a few weeks ago I think perhaps priorities since 2.0 update have been to get the store up and running properly before implementing enhancement requests or new features.
    Very pleased Apple have finally implemented this extremely useful feature, it may not be pointless in using the link above, it just takes time.
    So the next thing we should do is think of things to officially lobby for in future updates.
    My top 3 would be:
    1 - Allowing connection via USB to rescue data from AppleTV for users who've had hard drive accidents/msihaps and haven't backed up recently - fact of life it happens even if you're careful! Files with DRM are safe from unauthorised use and those without DRM are no less secure than they were before anyway. This could even be done by only allowing AppleTV to dump media to an external USB device instead of allowing an external connection to AppleTV itself, and could be controlled from say a backup menu option. Alternatively full manual bidirectional drag and drop of media via iTunes to/from AppleTV could be implemented with a mode to prevent a new sync library connection wiping existing content.
    What's in it for Apple? Huge boost in consumer confidence that Apple allow them to easily recover their personal files in the event of a problem - there should be no need to hack or dismantle AppleTV just to get at your data. Just think of all those people saying thank heaven I had an appleTV as my Macbook died and I'd forgotten to backup those wedding photos etc. We see examples of frustrated users almost daily with this problem.
    2 - Additional codec support - it's all very well saying h264 is the best thing since sliced bread and the current Apple/Apple Store standard, but the limited video codec support is probably the biggest hindrance to AppleTV becoming an extremely popular media device. It has the slickest interface of commercial products but many prospective customers have files in long established older formats that are incompatible without prior time consuming and quality degrading transcoding. Locking down AppleTV in this way alienates many potential users. The argument about the source of files in other formats may have some validity, but it is not Apple's job to infer that a user's file is of dubious origin simply for not being in h264 format. I am not condoning filesharing/torrents etc merely saying that most people have older files in older formats they want to use without conversion. Many DVD players allow playback of DivX (never use it myself), and if there's a licensing issue offer playback as a per device plugin option paid for by the user in the same way the QT MPEG2 pluging is offered.
    What's in it for Apple? Happy customers who would simply use something else like a PS3 to view their files and not buy AppleTV. New customers who would not have purchased otherwise. Happy customers who no longer need to trasncode files to watch. You'd be happy with being able to use older files, but would also get the benefit of using iTunes Store for new things.
    The overhwelming thing would be a sense of 'fair play' gained by the consumer. For me personally since 2.0+ the device's overwhelming iTunes Store based menu design sticks in the craw and has relegated MY content to the bottom of menus. Give us the best of both worlds - an iTunes Store top level section for purchases and separate simple top level sections for combined personal/purchased media as in software 1.0/1.1. In essence declutter the menu system for playback lumping all the purchasing/preview/search options together.
    3 - Tricky. Most useful would be an AppleTV SDK and 3rd party plugins/apps via iTunes paid and/or free similar to the iPhone model - I can live without widgets/visualisers/social networking plugins etc but they would be valuable to many users. As far as I know the iPhone Apps have been a huge success - no reason why not on AppleTV too, though commiting to this pathway would probably be very expensive in terms of developing a secure/sandboxed environment for running apps/plugins unless they could port the iPhone software fairly simply.
    Anyhow, once again delighted Apple have added the music video feature - I will start buying music videos from iTunes music store again. Bad for my wallet but good for Apple and AppleTV. Perhaps I should be thankful and consider how much I've saved not buying music videos in the last 18 months or so.....
    What would you like to see? Some things will be impossible/hardware limited, others quite feasible.
    Discuss, but also use the formal feedback link to give enhancements any chance to appear!
    Let's all help make AppleTV a success, and hopefully the media extender to beat!
    AC
    typos - Message was edited by: Alley_Cat

    Chenks wrote:
    to be honest, adding playlists (or whatever it is) for just music videos is of no use to me.
    it is playlists for tv shows that i need. ie the capability of playing episode 1 to 5 of a particular season back to back.
    Funny isn't it, how we all do things differently, have different preferences, enhancement wishes etc.
    For me it's not really a big chore to watch an episode then to manually start the next assuming I or Mrs AC are still awake!
    For episodes of short duration say 5-15 minutes I appreciate this could get annoying, and for longer episodes I suppose we are used to Play All type options on DVDs.
    If these are iTunes TV Shows you're stuck at the moment, but if they're say 'home recordings converted for AppleTV' you could theoretically get round it by setting their types to Music Video. Clumsy but it should work.
    I'm sure you can see the benefit of playlists/shuffling for music videos that may be 3-4 minutes each on average. I rediscovered dozens of iTunes Store music video purchases last night and thought 'yes, this is one of the big reasons why I bought AppleTV initially' - it did not say anywhere that AppleTV could not do this somewhat logical task - assumptions are dangerous though and invariably you only find out the full capabilities of products when using them.
    additional codec support ? i would say there is no chance of this. x264 is pretty standard theses days (if you discount the pirate industry). x264 is even used for HD TV in the UK.
    I agree, there's more chance of Tony Blair making a comeback!
    Piracy is rife and I do not support it.
    My views on fair use of media you personally own are quite different.
    It's not the codec/container that's the issue it's how the material was acquired in the first place - it may simply be your home videos, digitised off-air recordings etc that is in a 'legacy' format that you don't want to transcode. We know from the modders that most other SD formats are playable on the current hardware so that's not the issue.
    Take say an Elgato EyeTV device - I can record anything off-air, edit and transcode for AppleTV or just transcode unedited automatically. How much more sensible it woudl be if AppleTv simply supported the MPEG-2 transport stream playback rather than wasting time and computing/power resources doing the transcode.
    I have some some standard video-CDs I made on a PC in the late 1990's, how nice it would be to be able to play the MPEG-1 content back without fiddling - it's not as though converting to h264 will do anything for the quality!
    AC

  • 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

  • Enhancement Request: Viewlink based on an Association

    Hi,
    one highly repetitive task is creating associations and then creating a view link which in 99% of cases is an exact representation of the association. An enhancement that I would find useful is a create Viewlink from association context menu. Ie. right click on an Association and select "New View Link from Association". All of the relations from the association would then populate the view link properties.
    I know that these can be generated from PK/FK relations but the business components from tables doesn't allow you to specify Association, View Link names or their location, resulting in a big bucket of ADF objects all in one level (this is is probably another enhancement request).
    regards,
    Brenden

    does anyone else feel this would be of benefit?
    After months and months spent solidly developing in JDeveloper this is the single most repetitive (and trivial) task i have had to do.

Maybe you are looking for