30EA4 : Code Completion issues
1.
Code Completion got better in 30EA4, still I need to do 3 retries with 5 second gap in between. (both explicit and implicit)
See log below.
And where is preference for code completion log and deadline thresholds, Vadim promised
30EA2 : Code Completion not working . Are they in 30EA4 ?
2.
Another issue in Code Completion is when I continue typing code completion list just get cleared then get repopulated with filtered value. We need to see new list with filtered value, but I wish the list not get cleared completely, instead just hide those items in the list not matching new filter.
3.
I want the Code Completion to fill in at lower case, do I have option to do that?
(or you can also automatically decide case of Code Completion, if I started typing with lowercase fill in with lower case)
Vadim asked for output log, here is the one I got, first one explicit call using ctrl+space, second on implicit call
Exception in thread "InsightThread" java.lang.NullPointerException
at oracle.dbtools.raptor.insight.CompletionInsight.colNamesMatch(CompletionInsight.java:1189)
at oracle.dbtools.raptor.insight.CompletionInsight.joinConditions(CompletionInsight.java:1170)
at oracle.dbtools.raptor.insight.CompletionInsight.complete(CompletionInsight.java:809)
at oracle.dbtools.raptor.insight.CompletionInsight$InsightThread.run(CompletionInsight.java:399)
Exception in thread "InsightThread" java.lang.NullPointerException
at oracle.dbtools.raptor.insight.CompletionInsight.colNamesMatch(CompletionInsight.java:1189)
at oracle.dbtools.raptor.insight.CompletionInsight.joinConditions(CompletionInsight.java:1170)
at oracle.dbtools.raptor.insight.CompletionInsight.complete(CompletionInsight.java:809)
at oracle.dbtools.raptor.insight.CompletionInsight$InsightThread.run(CompletionInsight.java:399)
Hi,
When I press ctrl+space after typing partial name of table (while doing select * from X___) the context menu appears, and when I select select the table name (by hitting Enter key) it doesnt replace what I had typed with what I have selected form list.
e.g.
If table name is customer
select * from cust (hit ctrl+space here and select 'customer' from list)
Now the statement appears like this
select * from custcustomer
Where I expect is code completion should replace what I have typed once I select the right name from list.
Am I missing some basic settings here
My SQL Developer version is 3.0.04
Regards,
Bhupendra
Similar Messages
-
3.1EA2/EA1 : Code completion issues
Hi,
OS Win 7, JDK 1.6_11 shipped with SQL Dev, againts Oracle 9iR2.
I find lots of improvement on the new code completion feature.
However I also find lots of defects on it, here are they :
1. Code completion often offers long exhaustive list of possibility that cause the list to scroll pass the bottom part of SQL Dev instead of giving us a small window with vertical scroll bar in it.
2. Code completion does not offer field list on the following :
select *
from mytable1 t
inner join mytable2 x on x. -- does not show field list
select *
from mytable1 t
inner join mytable2 x on x.fi -- does not show field list starting with 'fi'
select *
from tmp_bow_data_aloy1 x
inner join
select *
from tmp_bow_data_aloy2 y
where y. <Ctrl + Space> -- does not show field list
select *
from tmp_bow_data_aloy1 x
inner join
select *
from tmp_bow_data_aloy2 y
where y.acct_card_no = x. -- does not show field list
update mytable1 t
set t. -- does not show field list
delete from mytable1 t
where t. -- does not show field list
3. Code completion mix between statement although has been delimited with ';'
select *
from mytable1 x;
select *
from mytable2 y
where <Ctrl + Space> -- shows all mytable1's fields as well as mytable2's fields
Hope these would be fixed on next EA.
Regards,
Buntoro
Edited by: Buntoro on Nov 18, 2011 3:52 AM
Add EA2 to titleHi Vadim,
I can confirm most of the issues have been fixed on 3.1EA2.
Thank you for that.
As for now, this 'challenging case' is the one that I work with most of the time.
select *
from departments x
inner join
select *
from locations l
where l.location_id = x.
)I am still hoping for the fixed.
Btw, the 3rd problem on which code completion mix between statement although has been delimited with ';' is the one that bothers me a lot.
It certainly a showstopper for using the code completion.
You cannot hope anymore from the unreliable code completion since it will mess up with the query.
I would like to give a more straightforward case just by adding another query on top of it :
select *
from employees x
inner join employees y on y.manager_id = x.employee_id;
select *
from departments x -- here I put the same alias as employees
inner join
select *
from locations l
where l.location_id = x. -- <Ctrl + Space>, hm... why department table showing these field list ???
)From the above example, you will notice that the 'challenging case' is displaying the fields from wrong tables.
It suppose to be from departments table, instead of the employees one above it.
Another problem also arise from above case.
4. Code completion does not work if there is 'failed to be parsed' statement above the current within the same worksheet.
select *
from employees
where department_id = ; -- hm.... I forget what's id that department is. Okay, let me leave it here first, and query the department tables
select *
from dep -- <Ctrl + Space>, wait.... why is it not working??FYI, 3.0 seems working nicely.
Hopefully this will be fixed too.
Regards,
Buntoro -
Is there any way to fix the slow code completion in Netbeans 5.5+
Netbeans 5.5 or Netbeans 5.5.1
Is there any possible fix for the slow code completion within the editor? I've googled this issue and haven't found much of anything relevant.
While, not used all the time - a faster than what it is now code completion would be helpful.
Thanks,
--ToddhelloWorld
Thanks for the response and useful response.
:P
I'm not a decent machine now and I guess I'll just keep on typing.
--Todd -
Flash builder 4.5 code completion doesn't show public function
Hi,
I am migrating from flex3 to flash builder 4.5 and it shows a question mark at one of my lines.
No errors, and the code works fine when i run it.. only there is no code completion in flash builder.
My code:
//i use a custom component like this:
<generalmenu:menu x="59" y="58" id="mymenu"/>
//this component loads its functions from a separate as(no class just simple as code) file (so i don't have all code in the file with visual components)
<fx:Script source="menusource.as"/>
//inside menusource.as there is a function that takes care of closing my app.
public function closeprogram():void
//closing window goes here
my problem..
when i type inside my function at application level:
mymenu.closeprogram();
i get a question mark in front of it: Call to a possibly undefined method closeprogram
code completion doesn't recognize my public functions inside the mymenu component, it does see mymenu but when i hit .(dot) it doesn't give me a list of functions.
How can i get code completion to work? Are there changes in the way you call as files in flash builder 4.5? Please some help.. code completion makes life much better.I found why the nasty behavior above was happening ::- D.
I usually design my classes in Enterprise Architect. Since this is a rather large project, started from of about 30 classes, I did the entire architecture in EA, then, generated the code.
But, EA has poor AS3 support. And as a consequence, it has a few issues, such as the way it generates CONSTRUCTORS:
public function G3Widget (name: String, parent: IG3Parent = null): void
Spot the mistake ::- D. -
Hi All,
I upgraded my 3.3 framework to 3.5 today, and for some strange and inexplicable reason, I've lost all code completion in Flex Builder 3 for flash.utils.* classes. I am thus missing Dictionary Timer and a few other important classes.
I'm hoping that someone out there might have come across this before, or be able to give me a bit of a clue as to how to fix this issue. This is a tooling problem with Flex Builder rather than the code itself, so anyone with any insight, I would really greatly appreciate the help.
BayaniHi Sudheer,
Its a Unicode problem.. Check this..
unicode problem: the data object cannot be converted to character type
cheers,
Prashanth
P.S Please mark helpful answers -
Hi,
I have downloaded version 1.2.5 of the LCCS SDK. I am using Flash Builder 4 (4.1 SDK) and attempting to create a spark LCCS application.
I have copied script into the project and can get the tutorial web app to run okay. However I am not getting code generation when I type rtc specific components.
I have added the Flash Player 10 swc and source in the project library.
I am using the new xmlns:rtc="http://ns.adobe.com/rtc".
I am missing something obvious, but can't see it.
Anyone got any ideas why code completion is not working?
Thanks,
NiallThanks Hironmay,
Code hinting works fine for all Flex components (Halo and Spark). So starting off with any of the following worked before loading the LCCS swc and continue to work after loading the LCCS swc:
<fx:
<s:
<vg(roup)
<lab(el)
In addition code hinting continues to work fine for other swc libraries that I use: Flexicious, AlivePDF, Yahoo Astra, etc.
So, hinting is working for all other components, just not LCCS components. The following do not give hinting:
<rtc
<conn(ectSessionContainer)
<aut(henticator)
I don't think it is a FB4 issue, but I will post to the forum in case anyone has a similar issue.
Thanks,
Niall -
30EA2/30EA1 : Code Completion
Hi,
I found the following problems on Code Completion since 30EA1, but the fumbled code completion problem drew me back to post this.
I have not played enough on 30EA1 Code Completion and now here are the lists :
1. INNER
SELECT *
FROM mytable
INNER JOIN <ctrl-space> -- no popup listBut this works
SELECT *
FROM mytable
JOIN <ctrl-space> -- shows popup list2. OUTER
SELECT *
FROM mytable
LEFT JOIN <ctrl-space> -- no popup listBut this works
SELECT *
FROM mytable
LEFT OUTER JOIN <ctrl-space> -- shows popup list3. IS identifier
SELECT *
FROM mytable
WHERE field1 IS N<ctrl-space> -- suddenly completed with : NULL ;On 2.1.1 it was showing popup list of NAN, NOT, and NULL
SELECT *
FROM mytable
WHERE field1 IS NOT N<ctrl-space> -- suddenly completed with : NULL ;On 2.1.1 it was showing popup list of NAN and NULL
4. sysdate
SELECT sys<ctrl-space> On 2.1.1 it showed popup list sysdate and systimestamp which are not there on 30EA
5. FROM
SELECT *
FR<ctrl-space>On 2.1.1 it showed popup list FROM, but on 30EA shows nothing
I post another findings once I found it.
Regards,
BuntoroHi Buntoro,
I was able to reproduce your issues and have logged a bug for this.
Thanks.
Ashley
SQL Developer Team -
CF8 Code Completion problem on Vista
Here’s this issue.
Work Box: Running XP Pro, CF8 & DW8: New tags for CF8
(i.e. cflayout, etc...) are showing up fine in the code completion
list menus when coding.
Laptop: Running Vista Home Premium, CF8, DW CS3. CF8
installed and runs just fine but when I am coding in DW CS3 the NEW
CF8 tags do not show up in the code completion (code hints?) list
menu, all the CF7 tags are still there. Not a show stopper but it
is annoying. Even when I type the full tag in (i.e. cflayout) it
doesn't even color code it as a CF tag.
Does anyone have any ideas as to why this is and how I can
fix the problem? Are there some files that might not have installed
properly when I installed CF8 on my Vista box? If so can I just
copy them from my XP box and put them on the Vista box?
Any help here would be greatly appreciated.no, they are actually on the adobe cf8 downloads page:
http://www.adobe.com/support/coldfusion/downloads.html
and i do not think DW8 come with cf8 extensions...
i know it did come with cf7 extensions built-in, but
definitely not cf8
ones... cf8 was not anywhere near out at that time yet...
so if yours version has cf8 tags/function completion/hints
and cf8 help,
it probably has cf8 extensions installed - you can check it
by going to
Help -> Manage Extensions...
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com -
hi j_landers,
i'm creating a simple editor with a syntax highlighting features.
now, i want to insert "code completion" facility(which is seen generally on VC++)(i.e, when a user type a dot(.) after an object, i want to display a popup menu containing relevant methods).
any suggestion'll be highly aprreciated.
THANX,
SUSHILd/olu_javaman,
yeah..i got ur concept and is almost same to what i've implemented so far.
see the logic i've done:
1) i parse every line i've inserted to map out the identifier and their data types.
i.e, whenever i wrote any declaration statement (like JList list ; ) i record "list" is and identifer of JList etc
that means, i can accomplish what u've said in ur statement no.3) and 4).
2) i create a JList and load the relevant methods of the identifier(before dot) and inserted in an appropriate JScrollPane and finaally inserted it on JpopupMenu. That accomplish ur statement no. 6) and 7)
3) and finally i inserted relevant Listeners to append the text after the dot on my document.
yeah..it's done but there's one problem
when i insert the selected text from the JList, my caret needs to blink on the last offset.right???
(the caret is visble on the last offset of the line, but it's not blinking)
but it's not blinking. i think i got nervous in transfering the focus to the textArea. just give me some hint on this issue.
And I'm really thankful for ur good suggestion.
regards,
sushil -
Re: bug in html:link code completion
You are right, code completion does not work in this case. But, the
html:link Smart Editor (in the Link Parameter group) allows you to select a
bean name/property for the paramName/paramProperty attributes.
M7 Support
"Michael Mok" <[email protected]> wrote in message
news:418d8f37$[email protected]..
Hi thereI have a form containing an object eg
StudentForm
Student student;
public Student getStudent();
public void setStudent();
In the JSP page, I type in
html:link action="/editStudent" paramName="" paramProperty=""
Edit
/html:link
Nitrox does not display any thing when I "Cntrl-Space" on paramName=""
neither on paramProperty=""
Hoepe this bug can be fixed in 2.0.
Regards
Michael MokPlease send a test case. I'm unable to reproduce this in a simple project in 9.0.3.1 or 9.0.3.2.
Is there entity inheritance involved?
Do your entity XML files mention _superAttr anywhere in them? If so, you might be hitting a known issue with 9.0.3 relating to entity inheritance at design time and the accessor attributes. -
Exception during code completion
Hi:
I am using sun one studio 4 CE. When editing java code in a specific project, I try to use code completion but get the following exceptions:
Wed Feb 12 15:45:32 EST 2003: java.lang.IllegalArgumentException: Incompatible implementation: org.netbeans.modules.java.parser.SourceImplProxy@b874d2
java.lang.IllegalArgumentException: Incompatible implementation: org.netbeans.modules.java.parser.SourceImplProxy@b874d2
at org.netbeans.modules.java.JavaParserGlue.getBinding(JavaParserGlue.java:263)
at org.netbeans.modules.java.JavaParserGlue.sourceToText(JavaParserGlue.java:650)
at org.netbeans.modules.java.JavaParserGlue.findElement(JavaParserGlue.java:618)
at org.netbeans.modules.editor.java.NbJavaSyntaxSupport.getMethodStartPosition(NbJavaSyntaxSupport.java:100)
at org.netbeans.editor.ext.ExtSyntaxSupport.buildLocalVariableMap(ExtSyntaxSupport.java:322)
at org.netbeans.editor.ext.ExtSyntaxSupport.getLocalVariableMap(ExtSyntaxSupport.java:315)
at org.netbeans.editor.ext.ExtSyntaxSupport.findType(ExtSyntaxSupport.java:296)
at org.netbeans.editor.ext.java.JavaCompletionQuery$Context.resolveItem(JavaCompletionQuery.java:404)
at org.netbeans.editor.ext.java.JavaCompletionQuery$Context.resolveExp(JavaCompletionQuery.java:264)
at org.netbeans.editor.ext.java.JavaCompletionQuery.query(JavaCompletionQuery.java:104)
at org.netbeans.editor.ext.java.JavaCompletionQuery.query(JavaCompletionQuery.java:52)
at org.netbeans.editor.ext.Completion.actionPerformed(Completion.java:382)
at org.netbeans.editor.ext.Completion.popup(Completion.java:337)
at org.netbeans.editor.ext.Completion.setPaneVisible(Completion.java:281)
at org.netbeans.editor.ext.ExtKit$CompletionShowAction.actionPerformed(ExtKit.java:1031)
at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:133)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1512)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2435)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2470)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2398)
at java.awt.Component.processEvent(Component.java:4902)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3598)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1688)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:593)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:765)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:698)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:559)
at java.awt.Component.dispatchEventImpl(Component.java:3468)
[catch] at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Window.dispatchEventImpl(Window.java:1585)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
However this DOES NOT happen in other projects!
Any help is resolving this would be appreciated.
Thanks.
vjktmTry posting to the Studio forum. This forum is for general Sun ONE issues.
-
Code completion particular not working
Hello,
in my program there are serveral internal classes. Each class has its own include file. Code completion seems not working for internal classes in other include files.
example:
lcl_class1 in includec01 (first included)
class-methods static1_1
methods method1_1
lcl_class2 in includec02 (second included)
class-methods static1_1
methods method1_1
problem:
While development in lcl_class2 there are no code completion for lcl_class1.
No code completation for lcl_class1=>static1_1
but if you declarate "data lo_myclass type ref to lcl_class1." code completion is working fine for public member methods and attributes in the same file.
In Functiongroups all working fine.
Best Regards
Markus Bauernschmitt
Und da hier eh die meisten deutschsprachig sind und mein Englisch grausam ist, nachfolgend die Erklärung nochmal auf deutsch.... ;-)
In meinen Programmen findet die Codevervollständigung keine interne Klassen aus vorangegangenen include Dateien. Dadurch werden weder die Klassen selbst noch die statischen Methoden angezeigt. Gebe ich eine statische Methode ein und möchte die Hilfe anzeigen (F2) erscheint die Fehlermeldung "Codeinformationen sind nicht verfügbar".
Dieses Problem tritt nicht auf, falls die Deklaration einer Variablen in der gleichen Include Datei erfolgt.
Deklaration einer Variablen in der aktuellen Include Datei -> Dokumentation der öffentlichen (nicht statische) Methoden und Attribute funktioniert
Zugriff auf öffentliche (statische oder nicht statische) Methoden und Attribute von globalen Variablen (deklariert in einer anderen Datei) funktioniert dagegen nicht.
Es sind nur anscheinend nur Programme betroffen. Bei Funktionsgruppen (getestet am Beispiel "ldemo_cr_car_rental_screen") trat der Fehler nicht auf.Hi Dominik,
thank you for your answer. The internal classes are already simple and lightweight. In my understanding of OO I keep classes private as possible and so I create this specific "one program helper classes" in the smallest reasonable scope.
However, this is a architektur decission. But the pivotal question is: Why working this kind of code completion in function groups but not in programs.
Some additional information.
- Code completion working in "START-OF-SELECTION."
- In Functiongroup includes (Testcase lcl_class1 show as public type and lcl_class2 show as local public class.
Best regards
Markus -
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 -
Auto code completion settings for new ABAP Editor
Dear all,
I am working in New ABAP editor but i am unable to set auto code completion,
please tell about customising of new ABAP editor for Auto code completion.
Thanks and regards,
Gaurav SoodHello,
1. Choose Utilities ® Settings.
The User-Specific Settings dialog box appears.
2. Choose ABAP Editor.
3. Set the new editor mode.
From:
http://help.sap.com/saphelp_nw04s/helpdata/en/43/29dee414483fe1e10000000a11466f/frameset.htm
Regards,
Jorge Diogo -
hi all, i'm trying to resolve a trouble... i use kdevelop for write c++ code and i cannot use code completion... in kdevelop faq there's wrote that i can activate code completion in the projects options' section named "Specific c++", i ativate it but i cannot use always the code completion. i've read that i must disable the abbreviation part, and i disable it, (in plugin settings) and i try to add the persistent class store on my projects dir, but i cannot use code completion. so, what can i do? anyone can help me?
thanksi'm sorry, now i can use code completion, i must activate the c++ parser.
thanks
Maybe you are looking for
-
ITunes crashes when processing purchases after restoring HD from Time Machine
Ever since I had to restore the HD on my MacBook Pro last weekend, iTunes crashes each time it tries to process downloaded files. Everything elses seems to work fine after restoring my HD. Any ideas? I've already tried re-setting my Apple ID password
-
How to display the output of report(9i) using Report Background Engine
Hi, We are converting the forms and reports from 6i to 9i. we could run the report in the browser from form using WEB.SHOW_DOCUMENT built-in, but we are not able to display the report output from form using the Report Background Engine.Let us know if
-
Is a 64GB SSD good enough for a primary boot drive on a Macbook Pro?
My hard drive just failed and I am thinking of going the SSD way - installing a 64GB SSD as my bootable drive and taking out my optical disc to install a 500GB HDD. Will the 64GB work for my purpose? Or do I need to go higher? Thanks!
-
My handycam to IMovie..few questions
Hey all, So I hook my handycam up to my iMac. it appears to DL the clips onto iMovie. Here are my questions... 1) How do I control what gets put into iMovie from the handycam? do I have the choice? 2) How do I speed up the DL to the iMac? It DLs at n
-
How can I generate fake AI channels for testing purposes?
In order to be able to test my VIs under several conditions, I'd like to test them by feeding pre-programmed data over regular virtual channels. Is something like this possible ? Edwin