Autocomplete / code insight features appeared in Release 919.

The first time I ran version 919, in the SQL Worksheet pain I typed in "DBMS_" and Code Insight popped up listing the database packages starting with "DBMS_". That was very cool! Only problem is Code Insight has disappeared. I made no Raptor configuration changes yet it no longer comes up when I type in "DBMS_".
Mike

Let correct myself. I found it. I had accidentally pressed the correct keystroke (ctrl-space) and did not realize it. It is working now.
Sorry,
Mike

Similar Messages

  • EA1 - Error displaying code insight

    All,
    I recently tried to use the code insight feature. In the main worksheet, the cursor stops blinking and then it starts back up after a few seconds - the insight window never shows. But when I check the logging page, I see the following two error messages.
    SEVERE     200     0     oracle.dbtools.raptor.insight.InsightableOracleDatabase     
    SELECT object_type type, user owner, object_name, null column_name
    FROM all_objects
    WHERE rownum <=20 and object_type IN ('FUNCTION', 'PACKAGE')
    and owner = ?
    union all
    SELECT 'FUNCTION' type, owner, procedure_name object_name, null column_name
    FROM all_procedures
    WHERE rownum <=100  and object_type = 'PACKAGE'   and procedure_name is not null
    and object_name = ?
    SEVERE     201     78     oracle.dbtools.raptor.insight.InsightableOracleDatabase     
    ORA-00904: "OBJECT_TYPE": invalid identifierDan

    Indeed:
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
    PL/SQL Release 10.2.0.1.0 - Production
    CORE     10.2.0.1.0     Production
    TNS for Solaris: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    5 rows selected
    desc all_procedures
    Name Null Type
    OWNER NOT NULL VARCHAR2(30)
    OBJECT_NAME NOT NULL VARCHAR2(30)
    PROCEDURE_NAME VARCHAR2(30)
    AGGREGATE VARCHAR2(3)
    PIPELINED VARCHAR2(3)
    IMPLTYPEOWNER VARCHAR2(30)
    IMPLTYPENAME VARCHAR2(30)
    PARALLEL VARCHAR2(3)
    INTERFACE VARCHAR2(3)
    DETERMINISTIC VARCHAR2(3)
    AUTHID VARCHAR2(12)
    11 rows selected
    ++++++++++++++++++++++++++++++++++++++++++++
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Prod
    PL/SQL Release 10.2.0.2.0 - Production
    CORE     10.2.0.2.0     Production
    TNS for Linux: Version 10.2.0.2.0 - Production
    NLSRTL Version 10.2.0.2.0 - Production
    5 rows selected
    desc all_procedures
    Name Null Type
    OWNER VARCHAR2(30)
    OBJECT_NAME VARCHAR2(30)
    PROCEDURE_NAME VARCHAR2(30)
    OBJECT_ID NUMBER
    SUBPROGRAM_ID NUMBER
    OVERLOAD VARCHAR2(40)
    OBJECT_TYPE VARCHAR2(19)
    AGGREGATE VARCHAR2(3)
    PIPELINED VARCHAR2(3)
    IMPLTYPEOWNER VARCHAR2(30)
    IMPLTYPENAME VARCHAR2(30)
    PARALLEL VARCHAR2(3)
    INTERFACE VARCHAR2(3)
    DETERMINISTIC VARCHAR2(3)
    AUTHID VARCHAR2(12)
    15 rows selected

  • 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

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

  • Code Insight in opened pkb-files doesn't work

    If i open oracle package body under Packages node, then opened editor allows me to use code Insight.
    If i open pkb-file by double clicking it, compiling it against connected database successfully, and trying to use code insight, then it doesn't work. No helping auto-complete works there.
    How can i use autocomplete in pkb-files?
    Version 2.1.0.63

    Yes, seems we have to wait till verson 3.0.
    Also same question is there:
    Autocomplete (code insight) not working when opening package files (.pkb)

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

  • Error FF753 Tax code 01 not appear in any G/L account item with FM Active

    Hi
    We have fund management configured for one of the company code, while creating billing document through VF01/VF02 we are  getting the Error FF753 Tax code 01 not appear in any G/L account item.
    This error however does not appear when posting directly from FI with the same tax code.
    I have tried to change the message control in which case i am getting a dump pointing to PSM-FM.
    Please advise.
    Regards
    Sandeep

    Hi:
              If you could please refer to the contents of  OSS Note 112609 - How are tax codes transferred to conditions ?
    "Symptom
    If a billing document is transferred to accounting the system displays error messages. Transferring tax codes from tax conditions into the pricing conditions and discounts does not function as expected.
    Other terms
    FF805, FF747, FF753, MWSKZ, MWSK1, tax code
    Reason and Prerequisites
    The tax condition in the SD pricing procedure contains incorrect reference steps, there are several tax conditions in the pricing procedure of which the tax codes overwrite each other or a program error exists.
    Solution
    In the accounting document for a billing document, the different G/L account line items are provided with a tax code. The tax code of the G/L accounts is transferred from the tax condition(s) of the billing document. How are the tax codes of the tax conditions transferred into the other conditions of a billing document ?
    Basically:
    The conditions of a billing document are read from top to bottom. As soon as an active tax (inactive = ' ') is read, the system transfers the tax code of this tax into the non-tax conditions as follows:
        1. The reference steps (From-step, To-step) are read (the reference steps are defined in the pricing procedure).
        2. The tax code is transferred into all conditions, for which
        the step number of the condition lies in the pricing procedure between "From-step" and "To-step",
        the condition is not inactive (exactly: the inactive flag is not equal to A (Condition exclusion), M (Inactive due to manual entry), or X (Incorrect)),
        the condition is not statistical (if it is no invoice list condition),
        the condition is no tax condition.
    After the transfer of the tax code the system searches for the next active tax. If further taxes are found, their tax code is again transferred according to the above procedure. If the reference steps of different taxes overlap, tax codes that have already been transferred are overwritten. To all non-tax conditions which in the pricing procedure stand after the last tax condition the tax code of the last active tax condition is transferred if they are not statistical.
    Special features:
        1. If the "From-step" of a tax condition refers to a subtotal of the pricing procedure, the tax code of the tax is not only transferred into the conditions with step number between From-step and To-step but into all non-tax conditions for which
        the step number of the condition in the pricing procedure is lower than the "To-step" of the tax condition.
        the condition is not statistical (if it is no invoice list condition).
        the condition is not a tax condition.
        2. If the "To-step" of the tax condition is smaller than the "From-step", then the system sets "To-step = From-step".
    Notes:
        1. As of Release 4.0 the tax code is no longer transferred in pricing but only when the billing document is released to accounting.
        2. If you use several taxes and tax codes and Customizing is incorrect for the release of billing documents to accounting, among others the system may display error message FF747.
        3. If there are several taxes in the pricing procedure refer to Notes 72173 and 82091 for Releases 3.0D - 3.1G. For Release 3.1H, only note 82091 is relevant.
        4. For conditions which are transferred into accounting (thus not statistical, not inactive conditions) and do not contain a tax code, the system searches for a default tax code which in Accounting Customizing can be set depending on the company code (tax code for non-taxable transactions). This applies to releases up to and including Release 4.5B. For Release 4.6, refer to Note 385127."
    Regards

  • 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

  • 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

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

  • 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

  • Re:md values not found in cube

    Hi Gurus I have a ods and a cube data is going from ods and then from ods it is going in to cube i changes the update rules for a characteritsic from source char to md attr of i ditectly did a reini to cube and i can find values for all the objects e

  • Can I use a mini vacuum to clean keyboard?

    I've had my macbook pro for about 1.5 years and I have not cleaned it once (internally). Yesterday I upgraded my ram and it was disgusting how much dust was in there, I have a mini vacuum and 2 cans of compressed air in the mail, now this is my plans

  • Internet Problems - poor connectivity

    I have a Lenovo X100e laptop with Windows 7 Professional. It's been a great computer, but when I go on the internet, it behaves as if the connection is slow or wonky, even if the connection is fast. This is especially true of video streaming, which s

  • Where can I find a folder that was put in Finder after the OSX Lion update?

    I placed a Private Folder in Finder of screenshots and some pictures and after I updated to Lion they are nowhere to be found.  I've tried spotlight and checking every folder in my computer, but no luck.  Any suggestions? Thanks!

  • Just updated ipod touch to ios6 ipod crashed and won't restore

    just updated ipod touch to ios 6. ipod crashed and won't restore just flashing screen black to white help