Completion Insight on Mac
Hi -
Version 3.2.20.09.
Code Editor>Completion Insight All check boxes checked.
Does this functionality work on a Mac (Os X 10.8.2) connection to Sql Server using the 3rd party tools as referenced in the documentation.
I would love to use SD but not having the auto complete makes it unusable.
It never works. Ever. Not automatically, not by trying to invoke it using ctr+spacebar or any other shortcuts I've created and tried.
Doesn't work for table/view population or sql functions.
Is there something additional I need to do or am I barking up the wrong tree?
thanks
For Oracle, yes.
For SQL Server, no.
SQL Server support is primarily for migrations to Oracle. I know many folks like to run SQL Developer for SQL Server b/c it will run on a Mac, but it's not intended to be a fully featured IDE for any database platform other than Oracle database.
Similar Messages
-
"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.42Well, 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. -
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 LeopardHi 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 -
How do you uninstall creative cloud completely from your mac?
ok so i seriously need help. so i was playing with photoshop about a month ago and i messed up all the settings so i got rid of it. (i didnt even have it for a whole day.) then, i wanted it again, so somehow i got it. but then smart me deleted it again because i made the same mistake. but i really want it back to use "a full 30 day trial" because i only had a chance to try it out for 8 hours before messing it up. so today, i made a new adobe account. and i cant get it back because that creative cloud is still on my mac. i tried everything to get rid of it and it literally wont work and i really want it back. PLEASE help
Hi
You can try below steps to remove Creative Cloud completely from your MAC.
1: Navigate to : Application/Utility/Adobe Installer
2: Double-click an Adobe CC product to uninstall one by one.
3: Follow on-screen instructions.
4: Download and run Adobe Cleaner tool using below link.
Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
5: If you don't have any Adobe product installed on your computer, you can manually remove Adobe folders from below location.
* Library/Application Support/Adobe
* Mac HD/Users/<user account>/Library/Application Support/Adobe
6: Restart the computer once. -
I am out of space on my Macbook Air and have a Time Machine Backup. I want to complete reset my mac, but wonder if I can pick and choose what I restore to my computer? Can I also use my time machine backup as external storage as well for the files I don't need everyday?
If you are using "Restore from Time Machine Backup" option from OS X Recovery, you can only choose from the broad categories presented.
... Can I also use my time machine backup as external storage as well for the files I don't need everyday?
To be clear, if you are asking if you can use the volume containing your Time Machine backup to store additional, non-Time Machine files, the short answer is yes.
It's not a good idea though, since the Time Machine backup will eventually fill all available space, after which it begins to remove old, "expired" backups to make room for newer ones. The presence of additional files doesn't change that fact, and Time Machine will not erase them, but you will encounter a dilemma should you want to store additional files on that volume when there is no remaining space. You will have to make room for them on your own, by deleting existing files. Furthermore, since Time Machine cannot back up its own volume, those additional files will not be backed up by Time Machine.
The easy solution for what you describe is to purchase additional external storage. External USB hard disk drives have become very inexpensive; about $55 will buy a perfectly suitable 1 TB drive.
You can also choose to replace your MacBook Air's internal storage with a larger capacity one. Look for a suitable replacement from OWC / MacSales:
http://eshop.macsales.com/shop/SSD/OWC/Air-Retina
That gets a little more expensive but it is the optimum solution. -
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 -
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.
ThanksThis 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 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_tablesIf 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 -
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:57Correct 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 -
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 PMI 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 PMCan'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 -
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.
-
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?
Maybe you are looking for
-
We have some entries posted to this vendor X at the time of initial upload (2006), which are showing as open item in the vendor line item details. The accounting entry is passed as follows: Dr Initial Bal-creditors A/C Cr Vendor A/C We want to clear
-
Retina display for office mac 2011
I recently purchased a Mac Book Pro with Retina Display. When I hook up an external montitor Microsoft Office Excel is blurry as is Word. Mac Book Pro screen, same thing. Does Office Mac 2011 upgrade really fix the problem?
-
To Do's Not Showing Up on Published Page
I use iCal to publish a class calendar for the classes I teach. When I publish their calendar to MobileMe it gives me a URL to view the calendar. This is the URL I give to my students. Viewing my calendar through me.com, the calendar comes out great.
-
Moving Power Query from Excel to SSAS
We are using Excel 2013 Power Query and PowerPivot to build data models that will be moved to SSAS Tabular. Are there any gotchas that will not import? I have seen in testing that we have to be careful about importing files. Excel likes drive letters
-
Updating dialog instance after upgrade to EHP5.
Hi, We have finished the upgrade of our ERP 6.0 system from EHP3 to EHP5 on the central instance. Our systems are on HP-UX 11.31 / Oracle 11.2.0.2 THe guide mentions that for application servers we need to re-install the dialog instance with same SID