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.

Similar Messages

  • 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

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

  • 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

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

  • 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

  • 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

  • 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

  • Facelets and code insight for XHTML

    Hi,
    what about support for facelets and code insight for xhtml?
    Thanks,
    Uros.

    Hi,
    actually the templating mechanism is deployable in shared libraries, which means you should be able to reuse this outside of JDeveloper with the right libraries in place. The issue we found with Facelets is with the required binding references that we need for ADF to work in templates (though this is an Oracle specific problem for as long as JSR 227 isn't turned into a J2EE standard) .
    Also, templates in JDeveloper 11 are referenced at runtime, which means they can be changed on the fly even after deployment and all pages will reflect them. Plus, you don't need to configure a new extension and filter to your JSF files/configuration making it more straight forward.
    And yes, it can be deployed to other J2EE containers than Oracle- Not sure what the open source plans are, but I'll point someone from our Trinidad supporters to this thread to shed some light on what the Trinidad community has in the plans.
    Your point for a common templating support is well taken (though I wished there would be something better than Facelets ;-) )
    Frank

  • Code insight

    hi there
    can anyone tell me why in all java IDEs it is impossible to let the Code editor to invoke the code insight list whenever any char is typed.
    this disability exist in all java IDEs. I use netbeans and eclipse and they both never allow you to extend this property(invoking the list of suggested code with more characters than the (.)) which is more essential than the whole IDE and I wait for every new plugin or new version to see if they have implemented it. but it seems like they have never used visual studio and seen how powerful it is.
    can any one please write some plugin to fix this.
    thanks,

    Hi ,
    still, how would you handle the case where a user types 2 letters and then pauses. The IDE would query the full classpath stack and find say 1000 hits. Because no user wants to see 1000 options to continue I assume you wouoldn't want to see the list of possible options and instead like to only code complete if the search returns a unique result. This means that the code complete check is a waste of resources to this time. So what's wrong with the option to press ctrl+enter whenever you please ?
    Frank

Maybe you are looking for

  • Window.open opens new Firefox page, not a windows exploer window

    I have a javascript code within Dynamics CRM to open a windows explorer window if a field is double clicked with the folder location in that field. For example, if our local server name was COMPANYSERVER If the field contained \\COMPANYSERVER\Account

  • Deleting songs from Nano

    Even though I have the boxes "Open I Tunes when this iPod is connected" and "Manually Manage music" ticked, itunes does not launch when My Ipod is mounted. I open iTunes from the dock. Although The summary page is indicating that the ipod is full, I

  • Can't see my iPad pdf files on iTunes

    Since the new update I have a problem. I can see the PDF's in my iPad, but when I connect the iPad to my Mac I cannot see them in iTunes. I can see my old books and PDF's just fine, but when I tried to drop a new PDF file into the book category of my

  • On Windows 7 safari quits working right away

    I open up Safari and Windows show up saying that Safari has stopped working. No error messages show up and I have installed and uninstalled it twice already.

  • Java package - money

    good evening guys, i am finding a piece of work extremely tough going at the moment and wondered if i could get any hints/help on where im going wrong. i am aiming to produce a package (money.java) which could be used in order to produce arithmetic c