Code Insight deletes code!

JDeveloper 10.1.3.2.0.4066
I've been working with JDeveloper 10.1.2 for a number of years and make good use of the code insight features. However I've recently started to evaluate 10.1.3.2.0 and I've noticed a disturbing change in behaviour. If I place the cursor in the middle of an existing method call in my code (i.e. get|Name()) and invoke code insight with Ctrl-Space the feature now truncates my method call to the point where the cursor is placed, leaving get|().
As far as I'm concerned, this is very BAD! I don't want any feature to EVER change my existing code without me performing a conventional commit action (left mouse-click or enter key)
When this feature was non-intrusive I frequently used it to check for other methods on the object instance, or even check the return type for the existing method call. I can't think of any scenario where I would want the code to change unless I actually select an alternative method from the menu.
Has anybody else had problems with this feature?
Can I configure it to behave as it did in 10.1.2?
What's the best way for me to feed back my discontent?
Does anybody else agree with me that this is not a positive enhancement?!
Matthew

Thanks for reporting, I confirmed this behavior in 10.1.3 and the 11 technology preview.
The good news are that in newer builds of 11 this has been fixed - so you shouldn't be seeing this in the future.
I filed a bug (#6165291) on this to see if we can get it fixed in a 10.1.3 patch.
(for now you can just press ctrl+z to return the code to its previous state).

Similar Messages

  • Code Insight not working properly - 9.0.3. preview

    We are having some problems with Code Insight on the 9.0.3 preview version of JDeveloper. We have a couple of libraries which regularly change so when a new version comes along we simply overwrite the old one (they are saved in <JDEV_HOME>\jlib. In 9.0.2 all we needed to do was exit and restart JDeveloper and the new classes could be seen in Code Insight. This doesn't seem to be the case now although my code compiles OK. We thought that there might be a cache of some sort related to these libraries and what we've found is a folder under <JDEV_HOME>\lib called ojpd. There appears to be a file for each library in here. We renamed
    the ones related to our libraries and this fixed our problems, but a new version was created. It seems to us that JDeveloper should be checking the modified date of any of these libraries and if so create a new 'ojpd' file. Is this a known bug?
    Thanks
    Ian

    JDeveloper actually checks the number of bytes in a .jar file that it has stored parse data for. I believe there was a bug in the preview release involving this check. This bug has since been fixed.
    To work around it in the preview you can delete the ojpd files corresponding to the archives you have changed. The files will be named after the archive, with a hash of the unique part of their path appended.
    These files are only built for archives that are included in libraries, and reside under Oracle Home (the directory containing the jdev directory), or the User Home.

  • Autocomplete synonyms (Code Insight)

    SQL Developer Version 4.1.0.18 MAIN-18.37
    Before I upgraded from previous version everything worked just fine.
    The case is... I have created synonyms for tables that appear as tables for different users (Other User list). The table names are always the same, the difference is the user name.
    So as for user1 I have TblName, as for user2 I have u2_TblName and so on.
    Until recently when I started typing the name of the table I did get autocomplete propositions including synonyms, now I get list composed of user1.TblName, User2.TblName... There are no synonyms.
    Why do I want to have tho synonyms proposed? The names are simply shorter and take less space on screen
    When I select the proposition and get the full name user1.TblName and then delete the user1. part and run the statement everything works perfect! But still the Code Insight works differently and it kind of irritates me
    Anyone knows how to get the list of synonyms in Code Insight dialog?

    This has been retracted for [dictionary] performance reasons.
    set hidden param querySynonyms = true;
    to restore old behaviour.
    P.S. Seeing this question asked second time warrants a setting in the preferences.

  • Code insight is not working correctly in Jdev 10.1.3 (preview) and java 1.5

    The code insight does not work for me. I followed the advice of Steve Muench given here:
    http://radio.weblogs.com/0118231/stories/2003/01/17/whyIsntMyCodeInsightWorking.html
    but that did not change the problem. The problem seems to be related to new java 1.5 features. As soon as I start using generics the code insight is lost...
    Any clues what is going on? I s this easy to fix?
    -- example: (NOTE that iI use double (( )) to indicate generics definitions. the forum software would not let me put in the correct syntax!)
    package mypackage;
    import java.util.Set;
    public class tester1
    private Set ((Integer)) intSet = null;
    public tester1()
    intSet. ---- NO CODE INSIGHT POPS UP! (if i change to "private Set intSet = null;" it works)
    public static void main(String[] args)
    new tester1();
    P.S.
    Also, i noticed that the auto-import ist not working for the "Set((Integer))" line!
    Message was edited by:
    user444936

    thanks for the info.
    Hmm - too bad. I may have to switch to eclipse or something then, since my project involves some 1.5 parts and the missing code insights and import features are a real pain for me.
    Cheers,
    Jochen

  • T-code for delete file from application server

    Hi all!
    Please, has any t-code for delete file from application server? For upload exist CG3Z, for download has CG3Y. And for delete? Has anyone?
    I need to delete file from application server in QA system and i don't want to create a program for this because i will need to transport a request from DEV to QA.

    I don't have contact with basis team.
    The FM EPS_DELETE_FILE support directory name with max 60 char. My dir. has more than that. I need a transaction for this.
    Anybody know if this transaction exist?

  • Dreamweaver CC automatically deletes code in code view and elements in design view

    When I open a file in Dreamweaver, it automatically shows a * next to the filename - showing it has been edited.
    Then often when I select some code in code view, or an element in design view (such as a table, an image, some text) it is suddenly deleted.
    The problem is especially bad (happens without fail) if I am switching between programs. But also happens when I'm not switching.
    I do not have this problem on a different user account.
    I have reinstalled Dreamweaver three times now. Also renamed preference and configuration folders. Tried with a wired mouse and keyboard. Nothing has worked.
    I can't think what I did to cause this. I installed MAMP recently - but have uninstalled it correctly I think.
    I had an issue with one file in which there were about 30 Spry collapsible panels. I kept getting this warning:
    "A script in file Macintosh HD:Applications:Adobe Dreamweaver CC:Configuration:Shared:Spry:DesignTime:EditingUtils.js has been running for a long time. Do you want to continue?"
    I have to click 'yes' many times to get into the file, and the warning keeps coming up while the file is open.
    However, my big issue of DW CC deleting code and elements happens whether or not this particular file is open.
    So this may have nothing to do with it.
    Any ideas anyone?
    Adobe's customer service has not helped. In fact, I have not even been able to get through to anyone on the phone - having waited literally hours listening to music, and getting shunted from person to person. And then their promised 'call backs' never happen.
    Thanks,
    - Greg

    I do not have this problem on a different user account.
    You've got a bad/corrupted user account.  Create a new one with Admin level priveleges and delete your old user.
    Nancy O.

  • Jsp taglibs in include files not detected, throws errors, no code insight

    I have a jsp which is included in all the other jsp. it looks something like this
    taglibs.jsp
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
    <%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
    <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
    test.jsp
    <%@ include file="/jsp/menu/taglibs.jsp"%>
    <html>
         <head>
              <title>Tours</title>
         </head>
         <body>
    <form:form commandName="testCommand">
                   <form:hidden path="tour.firstname" id="tour.firstname" />
    and so on.
    I am having 2 problems
    1. the jsp editor show errors all over the place saying
    element path not expected
    element commandName not expected etc.
    2. no code insights.
    but if i include the taglib def in test.jsp it dosn't show any error and also provides code insights. but seldom do people include all taglibs in all jsps.
    is there a way for Jdeveloper to show code insights in jsp pages which includes a jsp or like xml schemas could be added at some place(tools-pref-xml schemas) and when used anywhere, would provide code insights.

    am not sure, try with this
    <jsp:include   .../>

  • I need the code to delete record in the database not in the form???

    I need the code to delete record in the database not in the form...
    because when i execute a form always insert the datas in the data base but i want insert value on a text file and delete in the data base the record whith this value of text file.
    i'm spanish an my english is bad sorry.
    thank, javier

    Well, I fail to understand why you want to complicate easy things, but anyway you can do that by using TEXT_IO within Forms to create text file (see Forms builder help), and UTL_FILE package to read it within Pl/Sql : you could create a stored procedure, and call it from Forms passing the file name as parameter. See UTL_FILE documentation

  • Code Insight and JSP and JDEVELOPER

    Hi everybody
    Does anybody can help me how I can enable code insight feature of jdeveloper?
    Remember that import statement is in jsp tags.
    Thanks a lot
    Shahram

    The Code Insight feature currently only works with .java files.
    null

  • Code insight not working in sql developer 1.1.0.23

    i just downloaded today. insight options all checked in preferences section. popup time set to less than a second. i get nothing to work in sql worksheet or while modifying a package body.

    Hello,
    You should see things from this side sometimes ;-) It's a small team, working hard, very focused! Yes, there is indeed a sense of urgency and we are testing a patch SQL Developer 1.1 at the moment. There is always the battle between wanting to get an updated release to you, the community, quickly, and delaying to ensure what you get is good.
    Code insight, performance and many other issues have been addressed in this patch.
    As for your other point, we want the tool to be lightweight, easy to install, easy to use with a clear user interface. Perhaps there'll be a new battle when adding features, but that's the goal.
    Regards
    Sue

  • Download error Exit Code: 6 -deleted file msvcr110.dll

    I have Photoshop CS4. I joined the Cloud today. When I went to download Photoshop CV it gave me these errors:
    Exit Code: 6
    Please see specific errors below for troubleshooting. For example,  ERROR:
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 8 error(s)
    ----------- Payload: Microsoft Visual C++ 2010 Redistributable Package (x64) 10.0.40219.325 {54B0C34F-18F9-11E2-BC1D-00215AEA26C9} -----------
    ERROR: Third party payload installer vcredist_x64.exe failed with exit code: 1603
    ERROR: Failed to install Microsoft Visual C++ 2010 Redistributable Package (x64). Please try installing it by double clicking on the executable at "C:\Users\gyork\AppData\Local\Temp\{A1DCE3E8-850D-4131-836A-E00EFCFCE3B0}\Photoshop_15_LS 20_win64\Adobe CC 2014\payloads\Microsoft VC 2010 Redist (x64)\vcredist_x64.exe", or download and install the latest Microsoft Visual C++ 2010 Redistributable Package (x64) from Microsoft website - www.microsoft.com
    ----------- Payload: Microsoft Visual C++ 2010 Redistributable Package (x86) 10.0.40219.325 {55B82130-18F9-11E2-8D43-00215AEA26C9} -----------
    ERROR: Third party payload installer vcredist_x86.exe failed with exit code: 1603
    ERROR: Failed to install Microsoft Visual C++ 2010 Redistributable Package (x86). Please try installing it by double clicking on the executable at "C:\Users\gyork\AppData\Local\Temp\{A1DCE3E8-850D-4131-836A-E00EFCFCE3B0}\Photoshop_15_LS 20_win64\Adobe CC 2014\payloads\Microsoft VC 2010 Redist (x86)\vcredist_x86.exe", or download and install the latest Microsoft Visual C++ 2010 Redistributable Package (x86) from Microsoft website - www.microsoft.com
    ----------- Payload: Microsoft Visual C++ 2012 Redistributable Package (x64) 11.0.61030.0 {3E272A93-C06B-4206-AD02-0EBE02535E20} -----------
    ERROR: Third party payload installer vcredist_x64.exe failed with exit code: -2147023293
    ERROR: Failed to install Microsoft Visual C++ 2012 Redistributable Package (x64). Please try installing it by double clicking on the executable at "C:\Users\gyork\AppData\Local\Temp\{A1DCE3E8-850D-4131-836A-E00EFCFCE3B0}\Photoshop_15_LS 20_win64\Adobe CC 2014\payloads\Microsoft VC 2012 Redist (x64)\vcredist_x64.exe", or download and install the latest Microsoft Visual C++ 2012 Redistributable Package (x64) from Microsoft website - www.microsoft.com
    ----------- Payload: Microsoft Visual C++ 2012 Redistributable Package (x86) 11.0.61030.0 {873BE68F-480F-49A6-9649-F98CAB056AFC} -----------
    ERROR: Third party payload installer vcredist_x86.exe failed with exit code: -2147023293
    ERROR: Failed to install Microsoft Visual C++ 2012 Redistributable Package (x86). Please try installing it by double clicking on the executable at "C:\Users\gyork\AppData\Local\Temp\{A1DCE3E8-850D-4131-836A-E00EFCFCE3B0}\Photoshop_15_LS 20_win64\Adobe CC 2014\payloads\Microsoft VC 2012 Redist (x86)\vcredist_x86.exe", or download and install the latest Microsoft Visual C++ 2012 Redistributable Package (x86) from Microsoft website - www.microsoft.com
    When I tried to do the first thing it said to do, it deleted the msvcr110.dll file.
    Photoshop CV won't open without it.
    So of course, I don't want to do anything else it says to do.
    I have gone online and tried everything I see to get it back and nothing works. I tried downloading it from Microsoft, but it won't run.
    I tried reinstalling CS4 and that didn't work. So I uninstalled CS4 and tried to reinstall it, but now it won't install.
    It goes through the whole process then says to call Adobe.
    When I try to install Illustrator (which I didn't have before, but bought the complete special offer) it has similar errors.
    Any ideas?
    Thanks

    Hi jessmom3,
    You may also refer to the help document:
    Errors "Exit Code: 6," "Exit Code: 7" | CS5, CS5.5
    Regards,
    Sheena

  • 30EA2 code insight completion odities

    update statements seem not to be supported by code insight completion for table name:
    For example for table 'table_name':
    type 'update table_' and press ctrl-space does not complete table name.
    When table name is typed, completion for field names works.
    Completion of select statements:
    Type ' select ' (space is important)
    Popup show 'select * from' among others, select 'select * from' and get:
    'sSELECT * FROM'
    This happens only if select is the only statement on the worksheet.

    Try searching this has been answered.
    http://forums.oracle.com/forums/search.jspa?objID=f260&q=alias+insight
    -kris

  • No code insight for 1.5 SDK

    I added the 1.5 SDK in the libraries and now JDev recognizes 1.5 classes and methods however code insight does not appear to work for the 1.5 classes.

    Crap... belay that. It seems to be working after restarting Jdev.

  • Slow code insight in JDev 9.0.3.1035

    Hello,
    sometimes when I invoke code insight in my Jdev it needs up to 30 secs to display. In this time JDeveloper is completely blocked and does not react to any keyboard or mouse input. It doesn't matter if the library is on a network drive or on the local harddisk, even with standard JDK-Lib (for example: java.text. ) this problem appears. And, this happens not always, sometimes the popup comes as fast as I set in JDev's preferences.
    Has anyone experienced such a behaviour??
    Thank you.
    Christian

    Interesting... I confirmed via. Metalink that there was a bug within JDev 9.0.3.1 that caused code insight to fail when editing JSP against at least an Orace Portal based project.. I'm not sure if it's related, but I have a feeling it might be. Are you by chance developing with Portal? I've also noticed no problems with code insight when i'm working with straight webapps built from Struts. Perhaps it's to do with the libraries in your project.
    If you're on Windows, try the sysinternals file monitor program (www.sysinternals.com) and see if it's trying to access large files or something over the network.
    HTH,
    -sean

  • BUG: Code Insight

    JDeveloper 11g Preview 2 on Windows XP
    Code Insight is not refreshing properly. Two use cases:
    1) Light grayed out indicator that member variable is not in use in a source file does not reliably disappear if you copy and paste exact member variable name into a method;
    2) Redline indicators demonstrating code syntax errors do not disppear if you correct the error. It happens with all sorts of errors after their correction: exceptions not being thrown or caught, methods not being implemented, etc...I have to shutdown JDEV process and restart to get them to go away.
    Nice interface if the annoying messages would go away when fixed.

    It is likely a threading issue which means that it does not happen reliably -- however, next time I encounter it -- i will record my JDeveloper session and upload the recording. The amount of code is probably not feasible. However, I bet you could reproduce if you did the following things:
    1) Create a couple of user libraries and import into your project;
    2) Create some simple class files and use classes from imported jars;
    3) create some member variables based on imported class files;
    4) Use the "generate getters and setters" from member variables by placing your cursor on class file name (I notice that the default behavior is not consistent -- sometimes it shows all the getter and setter methods of every variable with 1 randomly checked --- other times none are checked -- other times all are checked) and generate;
    5) continue doing this until you begin to get code insight errors to correct. Notice how the IDE begins to slow down as it appears to be processing much more in the background (also not good -- I am tempted to just turn code insight off and use the compiler);
    Anyway -- stay tuned

Maybe you are looking for