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

Similar Messages

  • 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

  • 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

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

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

  • Code insight is not available when eding jsp by using 10.1.3.36.73

    I use 10.1.3.36.73 jdeveloper on windows to develop web application,
    but code insight is easy not available when editing jsp 2.0.
    I must restart jdeveloper and it still isn't often available.
    ex. in jsp
    ArrayList al = new ArrayList();
    for (Iterator it=al.
    Code insight is not supported for jsp or this is bug?

    Do you still have any code error in your jdev editor? no matter the error is JSP or HTML (it is signed by little red box at the right of the window near scroll bar), code insight sometimes is not available.

  • BUG code insight declaration insert imports primitive types

    Facing this in JDEV 11g 11.1.1.3, studio edition install, bundled jdk1.6.0_18, JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660
    When using the 'Declaration Insert' code insight feature for method calls returning primitive arrays, JDev will add an import for the primitive return type. Using CTRL-ALT-V to do the same manually works correctly.
    Steps to replicate:
    - create a new class with a main method
    - inside main method type this code:
    "hello".
    - the code insight window will appear automatically (if using default code insight settings). Press "CTRL-Space" to access "Declaration Insert".
    - start typing "toCharArray", JDev will zero in on the toCharArray method which returns a char[], once selected, press enter to choose it.
    - jdeveloper generates the following code:
    char[] array = "hello".toCharArray();
    which is correct, but also adds an import statement in the beginning of the class:
    import char;
    which does not compile.
    - same behavior can be replicated with code like:
    new BigInteger("1").toByteArray();
    following the same pattern as above.

    although this post is way old it could do with a decent answer.
    some guidance can be taken from JSR26: UML Mapping for EJB
    find it a www.jcp.org
    also this research paper on consistency of reverse engineering between uml tools
    http://citeseer.nj.nec.com/545406.html
    Where Association is identified by looking at the types of all variables belonging >to a class (excluding method variables etc) and if the type of the variable is >non-primitive, than I have deduced it is an association relationship with that >class.
    Would this be the right approach?Yes. You could also say that if it is a java.* type then it would also be an attribute.
    Secondly I have noticed in JBuilder, it models dependency relationships by getting >all the Imports at the top of the java source file, is this right?? also I have >read that a dependency can be modelled by the variable types in operation >arguments (paremeterS ?)..JBuilder would be consistent with JSR26, and that's how i intend to implement in ArgoUml.
    I would also appreciate if someone could clarify the difference betweeen >Composition and Aggregation for me and explain if it is possible to identify the >two relationships directly from java source code..Composition is a stronger form of ownership. the composed class is owned only by 1 class. Its lifetime is strongly linked to its owner - ie. it is not created before its owner and it is destroyed before its owner is.
    eg. leg of a table.
    Agregation is weak ownership. the owned class may be owned by several classes.
    eg. a company is owned by many shareholders.
    Last but not least, what about multiplicity ? am I right in thinking that an >instance variable is 0-1, an array declaration is seen as 0-n (fixed number) and a >Vector/ data collection.. is seen as 0 - * (any number)..sound right.
    Alex

  • Slow Code Editing in Flash Builder 4.7

    For some reason my Code Editor works painfully slow. I see that other folks have experienced this issue. I don't want to switch to another IDE. I have already increased the values of Xms and XMX (Xms1024m -Xmx2048m) and also created a new workspace but it did not make a difference. Other appliations work fine. I am using a i7 laptop with 16GB of RAM.
    FB was working fine and then all of a sudden started to slow down. I believe that it happened after I  installed Apached Flex SDK but I am not positive. I have other IDEs that I use for testing things so that might be a problem as well. I would like some help to fix the slow code editing because it is making it difficult to use FB and I don't want to change.
    I have Creative Cloud account.
    The size of the project is 19mb.

    Hi Blake,
    In another page (http://forums.adobe.com/thread/1056583), Adobe states that it will be possible to download 4.6 in alternative to 4.7, to still have the Design View. However, I have not seen such possibility yet.
    I will not say that "real programmers don't use design mode". They do, if it works fine.
    However, the Design View was not very useful for mobile projects, if you wanted to create an interface which, at run time, adapts to different screen estates.
    It was very good to draw an initial mock-up, but only the simulator (and the device) can say how the app really looks like (if you want to know more, please have a look here: http://aliencoding.com/2013/02/22/adobe-flash-builder-4-7-has-no-design-view-is-it-blasphe my-no-but-the-software-contains-some-other-blasphemous-aspects/).
    If you develop for desktop, then I agree the Design View lack is a real drag. I think Adobe should at least lower the price of the program, now that it's been scaled down for (I think) copyright issues (the Design mode relies on Flash professional components that was not donated to Apache).
    I love this platform because it really saved my butt in cases of real fast devployment, BUT NOW it lacks support for Windows 8 that PhoneGap has...
    Can we say... it is a legacy framework by now? 

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

  • Is there any way to fix the slow code completion in Netbeans 5.5+

    Netbeans 5.5 or Netbeans 5.5.1
    Is there any possible fix for the slow code completion within the editor? I've googled this issue and haven't found much of anything relevant.
    While, not used all the time - a faster than what it is now code completion would be helpful.
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    helloWorld
    Thanks for the response and useful response.
    :P
    I'm not a decent machine now and I guess I'll just keep on typing.
    --Todd                                                                                                                                                                                                                                                                                       

  • 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

  • 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

  • SQLdeveloper on mac and code insight

    Hi!
    Just downloaded SQL developer 2.1.0.63 and running it on snow leopard. (BTW, for others out there, make sure that you unzip the file with the standard apple utility).
    I cannot get code insight to work for an Oracle or a Teradata DB.
    For Oracle, i type in SELECT * FROM <DB_NAME>. ctr+space and nothing happens. this is in sql worksheet and in newly created files.
    BUT if i just type in SELECT, in a second it gives me select * from table autocompletion.
    as for teradata, i only get autocompletion after select in newly created files, but in sql worksheet - nothing works at all.
    any luck on this?

    when in type in select * from DBNAME.
    this is what i see in the console:
    *...?aux tok2?, parse time = 16
    Finished parsing = 0
    InsightableOracleDatabase.fetch() time = 2216
    SELECT 'SCHEMA' type, username owner, username object_name, null column_name, null column_id, null data_type
    FROM all_users WHERE rownum <=50
    and username like ?
    union all
    SELECT object_type type, owner, object_name, null column_name, null column_id, null data_type
    FROM all_objects
    WHERE      object_type ='TABLE' and object_name not like 'BIN$%' and rownum <=50
    and object_name like ?
    union all
    SELECT object_type type, owner, object_name, null column_name, null column_id, null data_type
    FROM all_objects
    WHERE      object_type ='VIEW' and object_name not like 'BIN$%' and rownum <=50
    and object_name like ?
    union all
    select 'TABLE' type, user owner, synonym_name object_name, null column_name, null column_id, null data_type
    from all_synonyms
    where synonym_name like ?
    and rownum <=50
    and owner in (user,'PUBLIC')
    DBNAME%
    DBNAME%
    DBNAME%
    DBNAME%
    Code completion time = 2271
    when i do this:
    select * from DBNAME.TABLENAME T where t.
    i get this in console:
    *...?aux t2?, parse time = 23
    InsightableOracleDatabase.fetch() time = 705
    SELECT 'COLUMN' type, owner, table_name object_name, column_name, column_id, data_type
    FROM sys.all_tab_cols
    WHERE hidden_column = 'NO' and rownum <=50 and owner = ? and table_name = ?
    union all
    SELECT object_type type, user owner, object_name, null column_name, null column_id, null data_type
    FROM all_objects
    WHERE rownum <=50 and object_name not like 'BIN$%' and object_type IN ('PROCEDURE','FUNCTION','PACKAGE')
    and owner = ?
    union all
    SELECT 'FUNCTION' type, owner, object_name||'.'||procedure_name object_name, null column_name, null column_id, null data_type
    FROM all_procedures
    WHERE rownum <=50 and procedure_name is not null
    and owner in('SYS',?) and object_name = ?
    DBNAME
    TABLENAME
    B
    TERADATA
    B
    Code completion time = 1534
    In this case, the autocompletion works!
    but in the first case - it doesn't do anything (((
    This is when connected to a Oracle DB. (i just also have a teradata connection installed, but it is not connected. not sure why it appears in the console).
    Please help!
    Edited by: strannik19 on Jan 13, 2010 3:55 AM

  • Table aliases and Code Insight Completion

    Oops, never mind, I see there are lots of threads on this... so the big question is: Does anyone know when this will be supported?
    One thing I am noticing with the new SQL Developer is that if you use table aliases (as we do here) that Code Insight Completion doesn't work. For example, if I type the following SQL:
    SELECT *
    FROM My_Table mt
    WHERE mt.
    At the point where I put the dot (i.e. mt.) I would assume that code insight would drop down a box showing me the columns in the alias mt (i.e. My_Table). But nothing happens. Now if I put the full table name My_Table in there (i.e. WHERE My_Table.) then the drop down occurs. But not if you use a table alias - and putting the full table name in defeats the purpose of using aliases.
    I know that in other SQL developers (such as PL/SQL Developer) this works fine and we are used to it working this way with aliases. Is there another way to get SQL Developer to do it this way? Or is this going to have to be a NEW feature later on?
    Thanks.
    Tom
    Message was edited by:
    tbsimpson

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

Maybe you are looking for