Completion Insight seldom works

Running ver. 3.1.07. Completion Insight seldom/seldom/seldom works. I have it turned on. Suggestions.
I thought I sent a debug/trace file with a new thread but can't find it and don't find the directions recreate the debug/trace file.
Any suggestions.
Can't send u a debug file as I could never get the exe to execute from the gin dir.

Hi,
Completion Insight seldom/seldom/seldom worksis a bit vague. You can always download the current 3.2 release (3.2.09.30) and try that out -- each release has bug fixes. I do recall something about it not working in the scenario File | Open | SQL File , even after selecting a connection. Not sure if that was fixed for 3.2, or is queued up for 3.2.1.
Otherwise please provide a specific description of incorrect behavior with a detailed test case.
Regards,
Gary
SQL Developer Team

Similar Messages

  • Can't get completion insight to work

    Hi all,
    I just can't get completion insight to work on the newer releases of sqldeveloper. It works fine until Version 1.5.5 Build MAIN-5969. However on both Version 2.1.0.62 Build MAIN-62.61 and Version 2.1.0.63 Build MAIN-63.73 it justn't work no matter what settings I use.
    I have run both the builds from \sqldeveloper\bin\sqldeveloper.exe and no exceptions are reported.
    This is the console output from 2.1.0.63
    Finished parsing = 16
    UsersCache.fillIn() time = 2015 ret==null?: false
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    *...?aux t2?, parse time = 172
    Finished parsing = 0
    Finished parsing = 0
    InsightableOracleDatabase.fetch() time = 2609
    select 'TABLE' type, user owner, name object_name, null column_name, null column
    id, null datatype FROM sys.obj$ o
    where o.owner# = 173
    and o.name not like 'BIN%'
    and o.type# = 2
    and rownum <=50
    union all
    select 'VIEW' type, user owner, name object_name, null column_name, null column_
    id, null data_type FROM sys.obj$ o
    where o.owner# = 173
    and o.name not like 'BIN%'
    and o.type# = 4
    and rownum <=50
    Code completion time = 3516
    Finished parsing = 0
    *...?aux tok2?, parse time = 31
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    InsightableOracleDatabase.fetch() time = 38828
    select 'TABLE' type, ''||o.owner# owner, name object_name, null column_name, nul
    l column_id, null data_type FROM sys.obj$ o
    where o.name not like 'BIN%'
    and o.type# = 2
    and rownum <=50
    and name like ?
    union all
    select 'VIEW' type, ''||o.owner# owner, name object_name, null column_name, null
    column_id, null data_type FROM sys.obj$ o
    where o.name not like 'BIN%'
    and o.type# = 4
    and rownum <=50
    and name like ?
    union all
    select 'TABLE' type, user owner, synonym_name object_name, null column_name, nul
    l column_id, null data_type
    from all_synonyms
    where synonym_name like ?
    and rownum <=50
    and owner in (user,'PUBLIC')
    AP_I%
    AP_I%
    AP_I%
    Code completion time = 38984
    Any help to get this working would be much appreciated.
    Thanks

    This console output says that the completion insight queries are executing - the first example took ~ 3.5 seconds and the second example took ~ 39 seconds. Unfortunately, it doesn't tell you how many records it returned.
    If you copy the queries out of the console output and run them manually, do you get any results? For example, the second query would be:
    select 'TABLE' type, ''||o.owner# owner, name object_name, null column_name, null column_id, null data_type
    FROM sys.obj$ o
    where o.name not like 'BIN%'
    and o.type# = 2
    and rownum <=50
    and name like 'AP_I%'
    union all
    select 'VIEW' type, ''||o.owner# owner, name object_name, null column_name, null column_id, null data_type
    FROM sys.obj$ o
    where o.name not like 'BIN%'
    and o.type# = 4
    and rownum <=50
    and name like 'AP_I%'
    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 'AP_I%'
    and rownum <=50
    and owner in (user,'PUBLIC')theFurryOne

  • Completion Insight not working

    A customer is using the same version of SQL Developer on the same workstation platform as myself.  My Completion Insight works, his does not.
    SQL Developer version 3.1.07 on Windows 7 Professional.
    Completion Insight is enabled under Tools->Preferences->Completion Insight.  Regardless of this setting the ctl + <space> shortcut works instantly for me, but under no circumstances for the customer.
    I made a test account on the DB that mirrors customer's privileges - my Completion Insight using the test account still works, so the problem must be with local to his install.
    I verified his SQL Developer files came from the same zip file I used for my own installation.
    Any ideas what is preventing his Completion from working?

    You might consider upgrading your customer to the latest release, v3.2.20.09
    In the meantime, I've noticed completion insight NOT working when there's a syntax/parsing issue. For example, what's in the worksheet code wise when they try it?
    With an empty worksheet, if they type select * from <ctrl><space>, does nothing come back?

  • Code completion(insight) not working in SQL Developer Version 2.1.1.64

    I recently downloaded SQL developer Version 2.1.1.64. However the code completion feature is not working automatically. I have checked the Automatically complete code in SQL worsheet checkbox under Tools->Preferences-> Code Editor-> Completion Insight.
    Strangely, I get the code completion pop up window when I explicitly press the completion insight shortcut(Ctrl + Space).
    Please help.
    Thanks and Regards.

    Hi, I am getting the following logs :
    Code completion time = 1015
    *...?aux tok2?, parse time = 63
    InsightableOracleDatabase.fetch() time = 360
    Code completion time = 844
    Finished parsing = 0
    *...?aux tok2?, parse time = 62
    InsightableOracleDatabase.fetch() time = 344
    Code completion time = 812
    Finished parsing = 0
    *...?aux tok2?, parse time = 63
    InsightableOracleDatabase.fetch() time = 359
    Code completion time = 891
    Finished parsing = 0
    Thanks

  • Completion Insight not working correctly when using Enterprise User Security (EUS) logon

    This is a pre existing issue we've experienced with SQL Developer, though I've only just worked out what is causing the issue it is present in previous versions of the tool, up to the current 4.0.EA2.
    We experience issues with the Completion Insight functionality of SQL Developer.
    When we log into a database using Enterprise User Security i,e authenticating against OID, the schema of the database account is prefixed to any reference to public synonyms, ie all user_%, all_%, dba_% and v$% views.
    When I change the authentication of the database account back to normal database authentication the schema prefix correctly isn't shown. It simply suggests the synonym name of the views.
    An example of this is as follows when attempting to query the DBA_TABLES view:
    The database account is ORADBA and has DBA privs.
    The EUS user that is mapped to the ORADBA schema is dbutler.
    The ORADBA user is configured to authenticate externally (against OID).
    I login with my dbutler directory credentials:
    If I start typing:
    select * from dba_tabl
    The object name is suggested as ORADBA.dba_tables
    If I change the authentication of the ORADBA account back to database authentication, the prefix is no longer present.
    i.e If I start typing:
    select * from dba_tabl
    The object name is suggested as dba_tables

    If you're not using DB 10.2 this is the "expected" behavior for the DB. See also metalink note 351170.1 "Enterprise Users Can Connect to a Database when the OID Account is Disabled"
    regards,
    --Olaf                                                                                                                                                                                                                                                                                                                                                                                                                   

  • "completion insight" and "change case as you type" won't work for sql file

    Hi there,
    Just updated to 3.1 on my Mac Lion. It's very likely a bug since it used the work with 3.0.
    I have a "temp.sql" file where I store several queries. I start SQL Developer, open "temp.sql", connect to a DB but "completion insight" and "change case as you type" won't work anymore.
    If I click in "Unshared SQL Worksheet", the new worksheet tab will work fine with completion and change case, but I want to use my temp.sql and save things there when closing the application.
    To reproduce yourself the issue:
    Open SQL Dev, connect to a DB (it will open a worksheet), do some queries and check that change case and completion are working, quit SQL Dev, but save the worksheet in a sql file before. Re-open SQL Dev and open the sql file. Connect to the same DB and try to change the queries or create another. Completion and change case won't work anymore.
    About
    Oracle SQL Developer 3.1.07
    Version 3.1.07
    Build MAIN-07.42
    Copyright © 2005, 2011 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.4.37.59.48
    Product ID: oracle.sqldeveloper
    Product Version: 11.2.0.07.42
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.6.0_31
    Oracle IDE     3.1.07.42
    Versioning Support     3.1.07.42

    Well, it's partially working, if your sql file is big (like mine), say with more than 1000 lines, then, maybe because of memory usage, the automatic completion won't work as expected, though, sometimes, after a while, crtl-space would stil work.
    So, the problem may have been addressed, but I believe this feature can be definitely improved.

  • BUG: EA 2.1 code editor: completion insight doesn't work in opened files

    I just migrated from SQLDEV 1.5.5 to EA 2.1. It's nice that I colud find so many of my suggestions implemented in this new version. THANKX :-)
    code editor:
    When I'm working in SQL Worksheet the "completion insight" feature is working well, but when I try to use it in an opened file, it doesn't work.
    Is there a special preference to turn on for use with files?
    Edited by: @chris on 12.11.2009 10:57

    Correct it did work in 1.5. on .sql files, when connected, so I have updated the ER to bug. We also need to expand this to support PL/SQL files.
    Sue

  • Completion Insight Won't Work After Changing Worksheet's Connection.

    I've noticed that with 3.1.07.42 completion insight seems unreliable and managed to track it down to being caused by switching a worksheet's connection. The completion insight functionality seems to remain stuck in the first connection.
    Steps to recreate:
    1. Open a worksheet to connection1.
    2. Paste in two incomplete queries. One for a table only present in connection1, and another with the same for connection2.
    3. Verify that completion insight works for the query for connection1.
    4. Switch worksheet's connection to connection2
    5. Try to bring up the completion insight for the connection2 query. Fails for me.
    6. Try to bring up the completion insight for the connection1 query. Still works.

    I don't know how to verify this but maybe there was a bad batch of ink out there.  My ink was low, changed the cartidge, still not joy.  I did the clean heads so many times i ran out of another color.  I changed the print head assembly and still no joy.  I gave up at this point, but does anyone know if HP has any advisaries about bad ink (up till now I have always used HP Ink).  Or maybe they wouldn't want to admit it because of all of the repairs they would be resposible for.

  • Jdeveloper11gR2 Cannot get code Completion Insight in *.jsp files

    I am not getting code completion insight when pressing Ctrl + Space in *.jsp files. But it works in *.java files. My version of Jdeveloper is Jdeveloper 11g Release 2 version 11.1.2.2.0 .
    Edited by: Smitha Bhatt on Jun 7, 2012 5:40 PM

    I filed bug 14169588 for this.

  • Completion Insight Problem for SQL Developer 3.0.04.34 ?

    Hello,
    I am observing that for a SQL Worksheet which has more than 270 lines of different SQL queries, the Completion Insight doesn't work.
    I am using Oracle SQL Developer 3.0.04.34 on a Windows 7 (32 bit machine).
    Is there anything else which needs to be checked?
    Edited by: 922015 on Mar 19, 2012 11:02 PM

    Can't reproduce. Need a test case.
    select * from emp; -- repeated 500 times
    then
    select * from e<ctrl-space> -- line #501
    works.

  • 3.1EA1: Completion insight

    Hello,
    Im using SQL Developer on Windows 7 32-bit, Java 1.6.0_27, Oracle 10gR2
    Completion insight is not working when writing a query in an *.sql file. Eventough the database connection is opened and selected in the sql-worksheet.
    Kind regards,
    D.

    Hi Vadim,
    Thanks for picking up this thread. A quick update on my research for this matter...
    1) In 3.0.04.34, I have no trouble getting Code Insight to work on an opened SQL file once a connection is selected from the drop-down list.
    2) In 3.1.06.44, it does not work after selecting the first connection, but will after switching to another connection, e.g.,
    Test case:
    a. Open a SQL file containing "select deptno from emp"
    b. Select a "local_scott" connection from the drop-down list.
    c. Change text to "select deptno, e from emp" and ctrl-space with cursor immediately after the ", e". No result.
    d. Select another connection, say "remote_scott", from the drop-down list.
    e. Repeat (c), highlighting "empno" and "ename" in the list.  Enter to add to the SQL text.    3) In 3.1.06.44, running from the command line, I got the following exception while adding ", j" followed by ctrl-space:
    Registered TimesTen
    Parser.forest(): AssertionErrorunwind labeled_nonblock_stmt: unlabeled_nonblock_stmt!; @[0,11)
    Exception in thread "InsightThread" java.lang.NullPointerException
            at oracle.dbtools.raptor.insight.CompletionInsight.complete(CompletionInsight.java:740)
            at oracle.dbtools.raptor.insight.CompletionInsight$InsightThread.run(CompletionInsight.java:507)
    but it seemed to work fine anyway.
    It's great that a workaround exists. I leave any bug raising up to you.
    -Gary

  • [1.1.1.25.14] Completion insights don't pop up in SQL Worksheet

    On my system, with win xp pro and jdk 1.5.0_09, completion insights don't work in SQL Worksheet.
    I've forced debug mode in sqldeveloper.conf en started up SQL Developer 1.1.1.25.14 via the command prompt, which means stack traces are now dumped to system out.
    This is what happens when I type ctrl-space in SQL Worksheet:
    13-Feb-2007 15:21:15 oracle.dbtools.raptor.insight.CompletionInsight getDefaultInsightContext
    INFO: context = fr
    13-Feb-2007 15:21:15 oracle.dbtools.raptor.insight.CompletionInsight getInsightData
    INFO: getInsightData: fr
    13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil executeOracleQuery
    INFO: Prepared:select object_type,owner,object_name,rank from ( select object_type,owner,object_name,0 rank from all_objects where object_name = :NAME
    and UPPER(owner) = nvl(:OWNER,UPPER(sys_context('USERENV', 'CURRENT_SCHEMA'))) and object_type not in ( 'SYNONYM' ) union all select ao.object_typ
    ,ao.owner,ao.object_name,decode(UPPER(syn.owner), nvl(:OWNER,UPPER(sys_context('USERENV', 'CURRENT_SCHEMA'))),10,20) from all_objects ao,all_synonyms syn
    where ao.owner = syn.table_owner and ao.object_name = syn.table_name and syn.synonym_name = :NAME ) where object_type not in ('PACKAGE BODY') order
    by rank
    13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil bind
    INFO: Bind:NAME:FR
    13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil bind
    INFO: Bind:OWNER:null
    13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil executeOracleQuery
    INFO: Prepared:select 'SCHEMA' object_type , :OWNER owner , :OWNER object_name from all_users where username = :OWNER
    13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil bind
    INFO: Bind:OWNER:FR
    13-Feb-2007 15:21:15 oracle.dbtools.raptor.insight.CompletionInsight getInsightData
    INFO: Found base Object
    13-Feb-2007 15:21:15 oracle.dbtools.raptor.insight.CompletionInsight findAliasedName
    INFO: Checking:select * fr
    Exception invoking action: completion-insight
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1768)
    at oracle.dbtools.raptor.insight.CompletionInsight.getInsightData(CompletionInsight.java:247)
    at oracle.javatools.editor.insight.AbstractInsight.showInsight(AbstractInsight.java:777)
    at oracle.javatools.editor.insight.AbstractInsight.invokeCompletionTypeAction(AbstractInsight.java:395)
    at oracle.javatools.editor.insight.AbstractInsight.invokeAction(AbstractInsight.java:368)
    at oracle.javatools.editor.BasicEditorPane.invokeAction(BasicEditorPane.java:1983)
    at oracle.ide.ceditor.keymap.IdeKeymapHelper.invokeAction(IdeKeymapHelper.java:185)
    at oracle.javatools.editor.keys.MultiKeyHandler.keyPressed(MultiKeyHandler.java:334)
    at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:191)
    at java.awt.Component.processKeyEvent(Component.java:5446)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2713)
    at java.awt.Component.processEvent(Component.java:5265)
    at java.awt.Container.processEvent(Container.java:1966)
    at java.awt.Component.dispatchEventImpl(Component.java:3955)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:672)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636)
    at java.awt.Component.dispatchEventImpl(Component.java:3841)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Window.dispatchEventImpl(Window.java:1778)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Hope this helps...

    On my system, with win xp pro and jdk 1.5.0_09,
    completion insights don't work in SQL Worksheet.
    I've forced debug mode in sqldeveloper.conf en
    started up SQL Developer 1.1.1.25.14 via the command
    prompt, which means stack traces are now dumped to
    system out.
    This is what happens when I type ctrl-space in SQL
    Worksheet:
    13-Feb-2007 15:21:15
    oracle.dbtools.raptor.insight.CompletionInsight
    getDefaultInsightContext
    INFO: context = fr
    13-Feb-2007 15:21:15
    oracle.dbtools.raptor.insight.CompletionInsight
    getInsightData
    INFO: getInsightData: fr
    13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil
    executeOracleQuery
    INFO: Prepared:select
    object_type,owner,object_name,rank from ( select
    object_type,owner,object_name,0 rank from all_objects
    where object_name = :NAME
    and UPPER(owner) =
    nvl(:OWNER,UPPER(sys_context('USERENV',
    'CURRENT_SCHEMA'))) and object_type not in (
    'SYNONYM' ) union all select ao.object_typ
    ,ao.owner,ao.object_name,decode(UPPER(syn.owner),
    nvl(:OWNER,UPPER(sys_context('USERENV',
    'CURRENT_SCHEMA'))),10,20) from all_objects
    ao,all_synonyms syn
    where ao.owner = syn.table_owner and ao.object_name =
    syn.table_name and syn.synonym_name = :NAME ) where
    object_type not in ('PACKAGE BODY') order
    by rank
    13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil bind
    INFO: Bind:NAME:FR
    13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil bind
    INFO: Bind:OWNER:null
    13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil
    executeOracleQuery
    INFO: Prepared:select 'SCHEMA' object_type , :OWNER
    owner , :OWNER object_name from all_users where
    username = :OWNER
    13-Feb-2007 15:21:15 oracle.dbtools.db.DBUtil bind
    INFO: Bind:OWNER:FR
    13-Feb-2007 15:21:15
    oracle.dbtools.raptor.insight.CompletionInsight
    getInsightData
    INFO: Found base Object
    13-Feb-2007 15:21:15
    oracle.dbtools.raptor.insight.CompletionInsight
    findAliasedName
    INFO: Checking:select * fr
    Exception invoking action: completion-insight
    java.lang.StringIndexOutOfBoundsException: String
    index out of range: -1
    at java.lang.String.substring(String.java:1768)
    at
    oracle.dbtools.raptor.insight.CompletionInsight.getIns
    ightData(CompletionInsight.java:247)
    at
    oracle.javatools.editor.insight.AbstractInsight.showIn
    sight(AbstractInsight.java:777)
    at
    oracle.javatools.editor.insight.AbstractInsight.invoke
    CompletionTypeAction(AbstractInsight.java:395)
    at
    oracle.javatools.editor.insight.AbstractInsight.invoke
    Action(AbstractInsight.java:368)
    at
    oracle.javatools.editor.BasicEditorPane.invokeAction(B
    asicEditorPane.java:1983)
    at
    oracle.ide.ceditor.keymap.IdeKeymapHelper.invokeAction
    (IdeKeymapHelper.java:185)
    at
    oracle.javatools.editor.keys.MultiKeyHandler.keyPresse
    d(MultiKeyHandler.java:334)
    at
    java.awt.AWTEventMulticaster.keyPressed(AWTEventMultic
    aster.java:191)
    at
    java.awt.Component.processKeyEvent(Component.java:5446
    at
    javax.swing.JComponent.processKeyEvent(JComponent.java
    :2713)
    at
    java.awt.Component.processEvent(Component.java:5265)
    at
    java.awt.Container.processEvent(Container.java:1966)
    at
    java.awt.Component.dispatchEventImpl(Component.java:39
    55)
    at
    java.awt.Container.dispatchEventImpl(Container.java:20
    24)
    at
    java.awt.Component.dispatchEvent(Component.java:3803)
    at
    java.awt.KeyboardFocusManager.redispatchEvent(Keyboard
    FocusManager.java:1810)
    at
    java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(
    DefaultKeyboardFocusManager.java:672)
    at
    java.awt.DefaultKeyboardFocusManager.preDispatchKeyEve
    nt(DefaultKeyboardFocusManager.java:920)
    at
    java.awt.DefaultKeyboardFocusManager.typeAheadAssertio
    ns(DefaultKeyboardFocusManager.java:798)
    at
    java.awt.DefaultKeyboardFocusManager.dispatchEvent(Def
    aultKeyboardFocusManager.java:636)
    at
    java.awt.Component.dispatchEventImpl(Component.java:38
    41)
    at
    java.awt.Container.dispatchEventImpl(Container.java:20
    24)
    at
    java.awt.Window.dispatchEventImpl(Window.java:1778)
    at
    java.awt.Component.dispatchEvent(Component.java:3803)
    at
    java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(
    EventDispatchThread.java:242)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Ev
    entDispatchThread.java:163)
    at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchT
    hread.java:157)
    at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchT
    hread.java:149)
    at
    java.awt.EventDispatchThread.run(EventDispatchThread.j
    ava:110)
    Hope this helps...The Oracle instance I'm connecting to:
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
    PL/SQL Release 9.2.0.7.0 - Production
    CORE 9.2.0.7.0 Production
    TNS for Solaris: Version 9.2.0.7.0 - Production
    NLSRTL Version 9.2.0.7.0 - Production

  • Code Templates/Completion Insight SQL Developer 3.2.2

    Hello, today I got the version 3.2.2. During the first start all setting from my previous version were imported and all work perfect, except the completion insight.
    If I write
    ssf +[CTRL + Space]
    the result in the previous version is
    select * from
    In the new version, for the same input is:
    ssfselect * from
    For other code template it is the same, the id for the code template will not be delete while setting the code template.
    Is this a bug or is there somethin wrong with my enviroment?

    It's a bug that's been fixed for version 4.0.

  • Group By Completion Insight Bug

    1. Open a connection and type the following:
    select d.dummy, count(d.dummy) from dual d group by d.dummy;
    2. Now modify the select list as follows:
    select d.dummy, count(d.dummy), count(d.dummy) sum from dual d group by d.dummy;
    3. Completion insight changes the code to:
    select d.dummy, count(d.dummy), count(d.dummy) from dual d group by d.dummy, count;
    ORA-00904: "COUNT": invalid identifier
    Version 2.1.1.64
    Java(TM) Platform     1.6.0_15
    Oracle IDE     2.1.1.64.45
    Versioning Support     2.1.1.64.45
    Mac OSX Leopard

    Hi Vadim,
    I agree with you about the order of the SQL clauses. They must have been pretty keen on it 'making sense' in English. Meh! ;)
    Autocomplete is cool, but as someone who can touch type (albeit at only ~70 wpm!), I usually find waiting for it to kick in a bit tiresome given that I can finish "select * from" in not much more than a second. I don't turn it off because it hardly ever gets a chance to fire.
    I do use autocomplete in some other tools; in VB, it gives you a canonical map of the object model you are working with (often there seem to be things missing in SQL Developer). In TextMate, on the other hand, it isn't so 'smart', but its wicked fast, which it does by simply relying on text in the current file. Both work well. I do understand there is a different set of challenges in a DBMS client, though.
    Incidentally, when I just tried selecting two tables simultaneously, the tool generated invalid SQL:
    select * from V_TN_SPAN_GRPS _, V_TNS_WITH_DEFAULT_CONTRACTS S
    (i.e. it supplied an underscore as the alias for the first view.)
    Also, Ctrl+Space doesn't work for me (I'm on a Mac). Actually, there appear to be several default keymappings that don't work on a Mac. Here is my version info...
    About
    Oracle SQL Developer 3.0.02
    Version 3.0.02
    Build MAIN-02.83
    Copyright © 2005,2010 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.4.37.58.80
    Product ID: oracle.sqldeveloper
    Product Version: 11.1.2.02.83
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.6.0_20
    Oracle IDE     3.0.02.83
    Versioning Support     3.0.02.83
    Properties
    Name     Value
    ====     =====
    apple.awt.graphics.UseOpenGL     false
    apple.awt.graphics.UseQuartz     false
    apple.laf.useScreenMenuBar     true
    awt.nativeDoubleBuffering     true
    awt.toolkit     apple.awt.CToolkit
    class.load.environment     oracle.ide.boot.IdeClassLoadEnvironment
    class.load.log.level     CONFIG
    class.transfer     delegate
    com.apple.macos.smallTabs     true
    com.apple.mrj.application.apple.menu.about.name     SQL_Developer
    com.apple.mrj.application.growbox.intrudes     false
    file.encoding     MacRoman
    file.encoding.pkg     sun.io
    file.separator     /
    gopherProxySet     false
    http.agent     Mozilla/5.0 (Java 1.6.0_20; Mac OS X 10.5.8 x86_64; en_US) ICEbrowser/v6_1_3
    ice.browser.forcegc     false
    ice.pilots.html4.ignoreNonGenericFonts     true
    ice.pilots.html4.tileOptThreshold     0
    ide.AssertTracingDisabled     true
    ide.bootstrap.start     1292186226787790000
    ide.build     MAIN-02.83
    ide.conf     /Users/henrycollingridge/software/oracle_sql_developer/3.0 EA2/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
    ide.config_pathname     /Users/henrycollingridge/software/oracle_sql_developer/3.0 EA2/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
    ide.debugbuild     false
    ide.devbuild     false
    ide.extension.search.path     sqldeveloper/extensions:jdev/extensions:ide/extensions
    ide.firstrun     true
    ide.java.minversion     1.6.0_04
    ide.main.class     oracle.ide.boot.IdeLauncher
    ide.patches.dir     ide/lib/patches
    ide.pref.dir     /Users/henrycollingridge/.sqldeveloper
    ide.product     oracle.sqldeveloper
    ide.splash.screen     splash.gif
    ide.startingcwd     "/Users/henrycollingridge/software/oracle_sql_developer/3.0 EA2/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin"
    ide.user.dir     /Users/henrycollingridge/.sqldeveloper
    ide.user.dir.var     IDE_USER_DIR
    ide.vcs.noapplications     true
    ide.work.dir     /Users/henrycollingridge/sqldeveloper
    java.awt.graphicsenv     apple.awt.CGraphicsEnvironment
    java.awt.printerjob     apple.awt.CPrinterJob
    java.class.path     ../../ide/lib/ide-boot.jar
    java.class.version     50.0
    java.endorsed.dirs     /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/endorsed
    java.ext.dirs     /Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext
    java.home     /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
    java.io.tmpdir     /var/folders/Z7/Z7MY8LDOGtWDoXjXAewXxk++0Wk/-Tmp-/
    java.library.path     .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
    java.naming.factory.initial     oracle.javatools.jndi.LocalInitialContextFactory
    java.protocol.handler.pkgs     oracle.jdevimpl.handler
    java.runtime.name     Java(TM) SE Runtime Environment
    java.runtime.version     1.6.0_20-b02-279-9M3165
    java.specification.name     Java Platform API Specification
    java.specification.vendor     Sun Microsystems Inc.
    java.specification.version     1.6
    java.util.logging.config.file     logging.conf
    java.vendor     Apple Inc.
    java.vendor.url     http://www.apple.com/
    java.vendor.url.bug     http://bugreport.apple.com/
    java.version     1.6.0_20
    java.vm.info     mixed mode
    java.vm.name     Java HotSpot(TM) 64-Bit Server VM
    java.vm.specification.name     Java Virtual Machine Specification
    java.vm.specification.vendor     Sun Microsystems Inc.
    java.vm.specification.version     1.0
    java.vm.vendor     Apple Inc.
    java.vm.version     16.3-b01-279
    jdbc.library     /Users/henrycollingridge/software/oracle_sql_developer/3.0 EA2/SQLDeveloper.app/Contents/Resources/sqldeveloper/jdbc/lib/ojdbc5.jar
    line.separator     \n
    log.file.name     ../\log\datamodeler.log
    mrj.build     9M3165
    mrj.version     1050.1.6.0_20-279
    oracle.home     /Users/henrycollingridge/software/oracle_sql_developer/3.0 EA2/SQLDeveloper.app/Contents/Resources/sqldeveloper
    oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG     true
    oracle.jdbc.mapDateToTimestamp     false
    oracle.translated.locales     de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
    oracle.xdkjava.compatibility.version     9.0.4
    orai18n.library     /Users/henrycollingridge/software/oracle_sql_developer/3.0 EA2/SQLDeveloper.app/Contents/Resources/sqldeveloper/jlib/orai18n.jar
    os.arch     x86_64
    os.name     Mac OS X
    os.version     10.5.8
    path.separator     :
    reserved_filenames     con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
    sqldev.debug     false
    sun.arch.data.model     64
    sun.awt.exception.handler     apple.awt.CToolkit$EventQueueExceptionHandler
    sun.boot.class.path     ../../rdbms/jlib/ojdi.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jsfd.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/charsets.jar
    sun.boot.library.path     /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Libraries
    sun.cpu.endian     little
    sun.cpu.isalist     
    sun.io.unicode.encoding     UnicodeLittle
    sun.java.launcher     SUN_STANDARD
    sun.java2d.ddoffscreen     false
    sun.jnu.encoding     MacRoman
    sun.management.compiler     HotSpot 64-Bit Server Compiler
    sun.os.patch.level     unknown
    svnkit.sax.useDefault     true
    user.country     US
    user.dir     /Users/henrycollingridge/software/oracle_sql_developer/3.0 EA2/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin
    user.home     /Users/henrycollingridge
    user.language     en
    user.name     henrycollingridge
    user.timezone     Pacific/Auckland
    windows.shell.font.languages     
    Extensions
    Name     Identifier     Version     Status
    ====     ==========     =======     ======
    Check For Updates     oracle.ide.webupdate     11.1.1.4.37.58.80     Loaded
    Code Editor     oracle.ide.ceditor     11.1.1.4.37.58.80     Loaded
    Component Palette     oracle.ide.palette1     11.1.1.4.37.58.80     Loaded
    Database Connection Support     oracle.jdeveloper.db.connection     11.1.1.4.37.58.80     Loaded
    Database Object Explorers     oracle.ide.db.explorer     11.1.1.4.37.58.80     Loaded
    Database UI     oracle.ide.db     11.1.1.4.37.58.80     Loaded
    Diff/Merge     oracle.ide.diffmerge     11.1.1.4.37.58.80     Loaded
    Extended IDE Platform     oracle.javacore     11.1.1.4.37.58.80     Loaded
    External Tools     oracle.ide.externaltools     11.1.1.4.37.58.80     Loaded
    File Support     oracle.ide.files     11.1.1.4.37.58.80     Loaded
    Help System     oracle.ide.help     11.1.1.4.37.58.80     Loaded
    History Support     oracle.jdeveloper.history     11.1.1.4.37.58.80     Loaded
    Import/Export Support     oracle.ide.importexport     11.1.1.4.37.58.80     Loaded
    Index Migrator support     oracle.ideimpl.indexing-migrator     11.1.1.4.37.58.80     Loaded
    JDeveloper Runner     oracle.jdeveloper.runner     11.1.1.4.37.58.80     Loaded
    Log Window     oracle.ide.log     11.1.1.4.37.58.80     Loaded
    Mac OS X Adapter     oracle.ideimpl.apple     11.1.1.4.37.58.80     Loaded
    Navigator     oracle.ide.navigator     11.1.1.4.37.58.80     Loaded
    Object Gallery     oracle.ide.gallery     11.1.1.4.37.58.80     Loaded
    Oracle IDE     oracle.ide     11.1.1.4.37.58.80     Loaded
    Oracle SQL Developer     oracle.sqldeveloper     11.1.2.02.83     Loaded
    Oracle SQL Developer - 3rd Party Database Browsers     oracle.sqldeveloper.thirdparty.browsers     11.1.1.02.83     Loaded
    Oracle SQL Developer - DBA Navigator     oracle.sqldeveloper.dbanavigator     11.1.1.02.83     Loaded
    Oracle SQL Developer - Extras     oracle.sqldeveloper.extras     1.1.1.02.83     Loaded
    Oracle SQL Developer - File Navigator     oracle.sqldeveloper.filenavigator     11.1.1.02.83     Loaded
    Oracle SQL Developer - Migrations Antlr3 Translator     oracle.sqldeveloper.migration.translation.core_antlr3     11.1.1.02.83     Loaded
    Oracle SQL Developer - Migrations Application Migration     oracle.sqldeveloper.migration.application     11.1.1.02.83     Loaded
    Oracle SQL Developer - Migrations Core     oracle.sqldeveloper.migration     11.1.1.02.83     Loaded
    Oracle SQL Developer - Migrations DB2     oracle.sqldeveloper.migration.db2     11.1.1.02.83     Loaded
    Oracle SQL Developer - Migrations DB2 Translator     oracle.sqldeveloper.migration.translation.db2     11.1.1.02.83     Loaded
    Oracle SQL Developer - Migrations Microsoft Access     oracle.sqldeveloper.migration.msaccess     11.1.1.02.83     Loaded
    Oracle SQL Developer - Migrations Microsoft SQL Server     oracle.sqldeveloper.migration.sqlserver     11.1.1.02.83     Loaded
    Oracle SQL Developer - Migrations MySQL     oracle.sqldeveloper.migration.mysql     11.1.1.02.83     Loaded
    Oracle SQL Developer - Migrations Sybase Adaptive Server     oracle.sqldeveloper.migration.sybase     11.1.1.02.83     Loaded
    Oracle SQL Developer - Migrations T-SQL Translator     oracle.sqldeveloper.migration.translation.core     11.1.1.02.83     Loaded
    Oracle SQL Developer - Migrations Teradata     oracle.sqldeveloper.migration.teradata     11.1.1.02.83     Loaded
    Oracle SQL Developer - Migrations Translation UI     oracle.sqldeveloper.migration.translation.gui     11.1.1.02.83     Loaded
    Oracle SQL Developer - Object Viewer     oracle.sqldeveloper.oviewer     11.1.1.02.83     Loaded
    Oracle SQL Developer - Real Time SQL Monitoring     oracle.sqldeveloper.sqlmonitor     11.1.1.02.83     Loaded
    Oracle SQL Developer - Reports     oracle.sqldeveloper.report     11.1.1.02.83     Loaded
    Oracle SQL Developer - Scheduler     oracle.sqldeveloper.scheduler     11.1.1.02.83     Loaded
    Oracle SQL Developer - Schema Browser     oracle.sqldeveloper.schemabrowser     11.1.1.02.83     Loaded
    Oracle SQL Developer - SearchBar     oracle.sqldeveloper.searchbar     11.1.1.02.83     Loaded
    Oracle SQL Developer - Snippet     oracle.sqldeveloper.snippet     11.1.1.02.83     Loaded
    Oracle SQL Developer - Spatial     oracle.sqldeveloper.spatial     11.1.1.02.83     Loaded
    Oracle SQL Developer - TimesTen     oracle.sqldeveloper.timesten     2.0.0.02.83     Loaded
    Oracle SQL Developer - Tuning     oracle.sqldeveloper.tuning     11.1.1.02.83     Loaded
    Oracle SQL Developer - Unit Test     oracle.sqldeveloper.unit_test     11.1.1.02.83     Loaded
    Oracle SQL Developer - User Extensions Support     oracle.sqldeveloper.userextensions     11.1.1.02.83     Loaded
    Oracle SQL Developer - Worksheet v2     oracle.sqldeveloper.worksheet     11.1.1.02.83     Loaded
    Oracle SQL Developer - XML Schema     oracle.sqldeveloper.xmlschema     11.1.1.02.83     Loaded
    Oracle SQL Developer Data Modeler     oracle.datamodeler.viewer     3.0.0.654     Loaded
    Oracle SQL Developer Data Modeler - Reports     oracle.sqldeveloper.datamodeler_reports     11.1.1.02.83     Loaded
    PROBE Debugger     oracle.jdeveloper.db.debug.probe     11.1.1.4.37.58.80     Loaded
    Peek     oracle.ide.peek     11.1.1.4.37.58.80     Loaded
    Persistent Storage     oracle.ide.persistence     11.1.1.4.37.58.80     Loaded
    Property Inspector     oracle.ide.inspector     11.1.1.4.37.58.80     Loaded
    QuickDiff     oracle.ide.quickdiff     11.1.1.4.37.58.80     Loaded
    Replace With     oracle.ide.replace     11.1.1.4.37.58.80     Loaded
    Runner     oracle.ide.runner     11.1.1.4.37.58.80     Loaded
    VHV     oracle.ide.vhv     11.1.1.4.37.58.80     Loaded
    Versioning Support     oracle.jdeveloper.vcs     11.1.1.4.37.58.80     Loaded
    Versioning Support for Subversion     oracle.jdeveloper.subversion     11.1.1.4.37.58.80     Loaded
    Virtual File System     oracle.ide.vfs     11.1.1.4.37.58.80     Loaded
    Web Browser and Proxy     oracle.ide.webbrowser     11.1.1.4.37.58.80     Loaded
    XML Editing Framework IDE Extension     oracle.ide.xmlef     11.1.1.4.37.58.80     Loaded
    audit     oracle.ide.audit     11.1.1.4.37.58.80     Loaded
    classpath: protocol handler extension     oracle.jdeveloper.classpath     11.1.1.0.0     Loaded
    jdukshare     oracle.bm.jdukshare     11.1.1.4.37.58.80     Loaded
    mof-xmi     oracle.mof.xmi     11.1.1.4.37.58.80     Loaded
    oracle.ide.dependency     oracle.ide.dependency     11.1.1.4.37.58.80     Loaded
    oracle.ide.indexing     oracle.ide.indexing     11.1.1.4.37.58.80     Loaded
    palette2     oracle.ide.palette2     11.1.1.4.37.58.80     Loaded
    status     oracle.ide.status     11.1.1.4.37.58.80     Loaded

  • Completion Insight in 4.0

    Hi,
    I ask about that some time ago.
    From version 2.1 Completion Insight won't work with packages/functions.
    In my company database there are configured functions that I can type/ask like normal tables in format:
    select * from table(schema_name/package.function_name) - function_name should be listed.
    In version 1.5 everything was fine but in next version something was wrong.
    I see that in V 4.0 issue still exists.
    I wonder i that this issue could be caused by version of Java or JDBC driver, but the trial with couple of java versions and drivers have not been successful.
    Thanks for any advice.
    Michal

    Bugged as 17191521:
    select * from table(dbms_output.  );
    --------------------------------^ctrl-space
    works, while
    select * from table(sys.dbms_output.  );
    -------------------------------------^ctrl-space
    doesn't

Maybe you are looking for

  • Install Just Adobe Pdf Printer 9.0. I already have acrobat 9 pro configured

    I just installed acrobat 9 pro but declined to install the adobe Pdf printer 9 when the installer asked. I now find I will need Adobe Pdf printer 9.0. How can I install just this Adobe printer from the DVD? I cannot access any custom install features

  • LOOKUP TABLES

    should both the source and lookup tables be in the same schema??? i choose the source table from one schema and the lookup tabel from another schema,so when i try to save it, i get an error saying *"In order to create a lookup ,you must be sure that

  • Tab control page label change color programmatically

    Hi everybody! I have a question about a tab control. I'm trying to figure out a way to programmatically change the  properties of the tab labels so the selected tab's label looks different to the others. I'd like to do this by changing aspects of it'

  • My computer can`t compile

    When I tried to compile my source code, command prompt showed following massage : " `javac` is not recognised as an internal or external command, operable program or batch file." Please anyone, tell me whats going on.

  • Picture thumb nails not showing up?

    i have i photo version 4 a nd i was running out of space on the harddrive, so i purchased an external hard drive to store photos on and free up space on my main drive. i copied some photos from my root photo directory and now when i go to my iphoto l