Code completion problem in netbeans 5.0

Hi-
I just recently switched from using ConTEXT to using netbeans 5.0. However, I cannot seem to get code compeletion to work properly (the main reason I switched).
It doesn't work at all if I open a .java file on its own even though it's enabled.
However, if I copy and paste the code into a <new project> then code completion works.
Is there a way to get code completion to work without generating an entire new project? I just want a simple editor that has code completion. Is this possible with netbeans?
Thanks!

Never mind it took a while to find but I figured it out...
<Ctrl>space or <Ctrl>\ opens up the code completion window
and as an added bonus Alt+P pops up that ultra cool yellow window that tells you the formal parameters of the function as you enter arguments.
Me loves the netbeans. Still though I have to have it in a project for it to work so the question still stands...can you use this without creating a project as to use it in a glorified editor fashion?

Similar Messages

  • 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

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

    Hi Buntoro,
    I was able to reproduce your issues and have logged a bug for this.
    Thanks.
    Ashley
    SQL Developer Team

  • Netbeans 6.0 - code completion of method parameters

    I just updated to NetBeans 6.0 and I find the code completion of method parameters very annoying and counter productive.
    It inserts the parameters as keywords when choosing a method from the list after pressing CTRL+SPACE.
    How can I switch this off?
    I searched the options and also the forum but didn't find a solution.

    I know that pressing space or whatever replaces the selected parameter. For a method with a single parameter is not a big problem but this is a poor workaround if a method has more parameters, like eg
    public static String formatDate(Date myDate, String myFormat)
    When typing
    Str.form<CTRL+SPACE,choose method, ENTER>
    it looks like
    Str.formatDate(myDate, errorMessage)
    Although myDate is selected and I can overwrite it, I have to proceed to the next parameter with CTRL+M instead of simply typing a comma. This is very annoying if a method has more parameters and as this annoyance occurs approx. every 5 lines that accumulates.

  • CND problem with code-completion

    Hi,
    First of all I don't really know where to put this post about C++ Pack in NetBeans. I've read one post in which someone suggests that this section will be pretty close...
    Maybe someone here would be so kind and try to help me...
    I'm using Ubuntu 7.04 and I have a problem with code completion in NetBeans 5.5.1 CND and I'm a little bit frustrated right now....
    I installed Netbeans, then CND, Created new C++ Project. Added new source file, with #include <GL/glut.h> directive.
    Whole code was compiled without errors, and that's fine.
    There were some problems with linking but I've added "glut", "GL", "GLU" string to linker parameters in Project Properties.
    The main problem is the code assistant. When I'm hitting "glut" and press ctrl+space it shows functions from glut library but when I type "gl" (to type "glColor3ub...") and try to show the code completion pop-up it shows "No suggestions". The same thing is with GLU library.
    I've installed GL, GLU, glut libraries (they all sit calmly in /usr/include/GL).
    I've added the /usr/include and /usr/include/GL to C++ section.
    I think that the Netbeans is able to find those *.h files because, as I said before, the glut (and the glX) functions are shown properly but there is no sign of "gl" and "glu" FUNCTIONS in code completion (the #define values specified in gl.h and glu.h are on the list, but the functions aren't)...
    I don't have idea why glut and glX are working fine, and gl and glu aren't... If anyone have similar problem, know where to look for an answer or have some suggestions I would be much obliged...
    I've seen Eclipse CDT, Anjuta, kDevelop, Code::Blocks, VIM + icomplete... after checking them all there is only one decision - I want to use NetBeans CND. It's user-friendly, fast and I just like it. That's why I would really like to know why the code-completion isn't working in 100%...

    Vladimir,
    The glColor3ub function declaration is in gl.h file (which along with glu.h is included in glut.h).
    Thanks Maxim,
    In the matter of fact since yesterday I've been looking for the reason why the GL and GLU aren't indexed properly by the Netbeans CC and I've found something.
    The GLU library was indexed after deleting
    #include <GL/gl.h>directive. So it means that the gl.h library is messing up.
    I've checked whole file (gl.h) and noticed that the only part which is in conflict with NetBeans is this one:
    #elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303
    #  define GLAPI __attribute__((visibility("default")))
    #  define GLAPIENTRYI'm using GCC 4.1 so the expression value is 401, so the GLAPI define looks like the line above.
    gl.h is indexed properly by NetBeans when it is representing "extern", so it should look like
    #  define GLAPI externIt is working fine if you delete this part of gl.h or for example (which I've done) add predefined macro (or change the existing one)
    __GNUC_MINOR__=-200I know that it isn't very clean solution... I'm not happy with cheating NetBeans about the version of installed GCC but unfortunately I am not a specialist in GNU C so maybe someone would find more elegant solution.
    As far as I know the __attribute__ feature makes the GCC more verbose (warnings, errors) but I don't know how much functionality am I loosing in fact...
    Edit: Why the code tags aren't working? :/
    Message was edited by:
    Makula

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

    helloWorld
    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                                                                                                                                                                                                                                                                                       

  • NetBeans 6.0 code completion without old code

    Hi,
    I've simple question for code completion in NetBeans 6.0.
    for ex. if I've this simple code:
    int aaa = 0;
    int bbb = 1;
    int ccc = aaa;
    and now I want change ccc = bbb
    just I use code completion (Ctrl-SPACE)
    int ccc = Ctrl-SPACE-ENTERaaa;
    why reason's
    int ccc = bbbaaa;
    why isn't
    int ccc = bbb;
    Any simple idea how can I accomplish it?
    Thx. Paul

    Please post only Java language questions in these forums. They do not provide support for NetBeans (or other IDEs), you might try the NetBeans site mailing list.

  • Netbeans Code Completion

    I installed netbeans two days ago, and I'm really impressed! Since then, I have had to reinstall windows 2000 on my PC, and after reinstalling the J2SE 1.4.1 SDK and NetBeans 3.5, the javadoc part of the code completion doesn't work. I've tried everything I can think of, but it always says
    "JavaDoc not found. Either javadoc documentation for this item does not exist or you have not mounted a filesystem that contains the source for this class. The javadoc documentation that is displayed in this box is generated from source files, not from compiled javadoc documentation."
    Sounded simple enough, but I have tried mounting every set of source files I can find, to no avail. This is especially irritating as this worked automatically when I installed it the first time.
    Browsing through the help located the following information:
    "To see documentation for Java SDK classes, you must have the Java SDK sources mounted. If you are running version 1.4 of the J2SE platform, the IDE mounts the SDK sources automatically the first time you use code completion on a JDK class."
    Well, I am running a later version that 1.4, but this does not seem to have happened. I have tried following the instructions to manually mount the SDK, but this has also had no effect.
    Please can anyone offer any advise, as this is getting really frustrating.

    I have the docs in a docs folder in JAVA_HOME. I have just tried mounting this directory specifically but it didn't work. The part of the error message that says
    "The javadoc documentation that is displayed in this box is generated from source files, not from compiled javadoc documentation."
    indicates that this is not the right approach.
    The part that seems to be going wrong is the SDK mounting - this was supposed to be automatic, but although it worked the first time, does not appear to have happened.
    Does anyone know what might cause this to fail, or how the SDK should be set up for NetBeans to locate it?

  • HT203977 is there any way to restore factory settings on an Iphone 5s that will not connect to Itunes because the phone is locked with a pass code.  Problem is that the screen is completely shattered.

    is there any way to restore factory settings on an Iphone 5s that will not connect to Itunes because the phone is locked with a pass code.  Problem is that the screen is completely shattered.

    If the screen is completely shattered why bother to try and restore the phone?
    Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support

  • Problem starting NetBeans

    Hi, I am new to Java ... 1st Day ... which means Ive been trying to install it all. ... And I have not been succesfull.
    I've downloaded and installed jre-6u7-windows-i586-p and then netbeans-6.1-ml-windows ...
    After this I went to tutorials trying to follow the "Hello World"-instructions ... but the IDE is not running.
    1) I pressed on the desktop icon ... not running.
    2) I pressed on the menustart icon ... not running.
    3) I went to the directory where the .exe is ... not running.
    I checked if it was running in background but not executing. But there was no unneccesary process (or perhaps 3 at this time) running.
    When I did ^^(3) however ... I noticed an error-log was beeing made. And I have reported the bug as instructed in it. However I would prefer feedback here incase someone knows what the problem might be perhaps.
    So my problem is ... After first time installation and registration of Java and NetBeans... I cannot get NetBeans to work. I also tried it in savemode but that did not help either.
    Below the information as provided by the error-log: Filename hs_err_pid_2660
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d895268, pid=2660, tid=3188
    # Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode)
    # Problematic frame:
    # V [jvm.dll+0xd5268]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x284d9400): JavaThread "main" [_thread_in_vm, id=3188]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
    Registers:
    EAX=0x00000000, EBX=0x284bca5c, ECX=0x29040fe8, EDX=0x284bca64
    ESP=0x2958e93c, EBP=0x284d9400, ESI=0x6d172a04, EDI=0x284bca60
    EIP=0x6d895268, EFLAGS=0x00010206
    Top of Stack: (sp=0x2958e93c)
    0x2958e93c: 284d9400 284d94e8 2958e9b8 1a1b6cd8
    0x2958e94c: 2958e9b8 284bca60 6d89540a 00000000
    0x2958e95c: 6d172a04 00000000 284d9400 2958e9f0
    0x2958e96c: 284d94e8 2958e9b8 1a1b6cd8 284d9400
    0x2958e97c: 284bca58 0000016c 6d9a0448 6d1315b7
    0x2958e98c: 284d94e8 00000000 6d172a04 6d172a18
    0x2958e99c: 284d9400 1a1b6cd8 1a1b6cd8 2958e99c
    0x2958e9ac: 2958eadc 6d164ee0 00000000 2958e9e8
    Instructions: (pc=0x6d895268)
    0x6d895258: 11 01 00 00 85 db 0f 84 09 01 00 00 8b 44 24 1c
    0x6d895268: 8b 00 50 e8 60 b1 fe ff 83 c4 04 84 c0 74 12 8b
    Stack: [0x29390000,0x29590000), sp=0x2958e93c, free space=2042k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [jvm.dll+0xd5268]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j java.awt.Dialog.initIDs()V+0
    j java.awt.Dialog.<clinit>()V+9
    v ~StubRoutines::call_stub
    j sun.misc.Unsafe.ensureClassInitialized(Ljava/lang/Class;)V+0
    j sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(Ljava/lang/reflect/Field;Z)Lsun/reflect/FieldAccessor;+79
    j sun.reflect.ReflectionFactory.newFieldAccessor(Ljava/lang/reflect/Field;Z)Lsun/reflect/FieldAccessor;+5
    j java.lang.reflect.Field.acquireFieldAccessor(Z)Lsun/reflect/FieldAccessor;+47
    j java.lang.reflect.Field.getFieldAccessor(Ljava/lang/Object;)Lsun/reflect/FieldAccessor;+36
    j java.lang.reflect.Field.get(Ljava/lang/Object;)Ljava/lang/Object;+2
    j sun.awt.SunToolkit$6.run()Ljava/lang/Object;+20
    v ~StubRoutines::call_stub
    j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;+0
    j sun.awt.SunToolkit.<clinit>()V+96
    v ~StubRoutines::call_stub
    j sun.awt.Win32GraphicsEnvironment.<clinit>()V+0
    v ~StubRoutines::call_stub
    j java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;+0
    j java.lang.Class.forName(Ljava/lang/String;)Ljava/lang/Class;+5
    j java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment()Ljava/awt/GraphicsEnvironment;+24
    j org.netbeans.core.startup.Main.start([Ljava/lang/String;)V+177
    j org.netbeans.core.startup.TopThreadGroup.run()V+4
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x284aac00 JavaThread "Timer-0" daemon [_thread_blocked, id=3368]
    =>0x284d9400 JavaThread "main" [_thread_in_vm, id=3188]
    0x2836e800 JavaThread "Active Reference Queue Daemon" daemon [_thread_blocked, id=1352]
    0x282e8000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=844]
    0x282e3400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1496]
    0x282e2400 JavaThread "Attach Listener" daemon [_thread_blocked, id=620]
    0x282e1400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1884]
    0x282e0400 JavaThread "Surrogate Locker Thread (CMS)" daemon [_thread_blocked, id=3712]
    0x267e8c00 JavaThread "Finalizer" daemon [_thread_blocked, id=3720]
    0x267e4800 JavaThread "Reference Handler" daemon [_thread_blocked, id=1924]
    0x00398000 JavaThread "main" [_thread_blocked, id=2676]
    Other Threads:
    0x267e1800 VMThread [id=672]
    0x282eac00 WatcherThread [id=676]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    par new generation total 14784K, used 2907K [0x02be0000, 0x03be0000, 0x04850000)
    eden space 13184K, 22% used [0x02be0000, 0x02eb6e98, 0x038c0000)
    from space 1600K, 0% used [0x038c0000, 0x038c0000, 0x03a50000)
    to space 1600K, 0% used [0x03a50000, 0x03a50000, 0x03be0000)
    concurrent mark-sweep generation total 16384K, used 0K [0x04850000, 0x05850000, 0x19de0000)
    concurrent-mark-sweep perm gen total 32768K, used 4383K [0x19de0000, 0x1bde0000, 0x265e0000)
    Dynamic libraries:
    0x00400000 - 0x00423000      F:\Program Files\Java\jdk1.6.0_07\jre\bin\java.exe
    0x7c900000 - 0x7c9b5000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c900000      C:\WINDOWS\system32\kernel32.dll
    0x77f40000 - 0x77feb000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77da0000 - 0x77e32000      C:\WINDOWS\system32\RPCRT4.dll
    0x77f10000 - 0x77f21000      C:\WINDOWS\system32\Secur32.dll
    0x6d7c0000 - 0x6da07000      F:\Program Files\Java\jdk1.6.0_07\jre\bin\client\jvm.dll
    0x7e390000 - 0x7e421000      C:\WINDOWS\system32\USER32.dll
    0x77e40000 - 0x77e89000      C:\WINDOWS\system32\GDI32.dll
    0x76af0000 - 0x76b1e000      C:\WINDOWS\system32\WINMM.dll
    0x7c340000 - 0x7c396000      C:\WINDOWS\system32\MSVCR71.dll
    0x76330000 - 0x7634d000      C:\WINDOWS\system32\IMM32.DLL
    0x6d320000 - 0x6d328000      F:\Program Files\Java\jdk1.6.0_07\jre\bin\hpi.dll
    0x76bb0000 - 0x76bbb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d770000 - 0x6d77c000      F:\Program Files\Java\jdk1.6.0_07\jre\bin\verify.dll
    0x6d3b0000 - 0x6d3cf000      F:\Program Files\Java\jdk1.6.0_07\jre\bin\java.dll
    0x6d7b0000 - 0x6d7bf000      F:\Program Files\Java\jdk1.6.0_07\jre\bin\zip.dll
    0x6d0b0000 - 0x6d1de000      F:\Program Files\Java\jdk1.6.0_07\jre\bin\awt.dll
    0x72f70000 - 0x72f96000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x77be0000 - 0x77c38000      C:\WINDOWS\system32\msvcrt.dll
    0x774a0000 - 0x775dd000      C:\WINDOWS\system32\ole32.dll
    VM Arguments:
    jvm_args: -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade -Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense -Dcom.sun.aas.installRoot=C:\Program Files\glassfish-v2ur2 -Xss2m -Xms32m -XX:PermSize=32m -XX:MaxPermSize=200m -Xverify:none -Dapple.laf.useScreenMenuBar=true -Dsun.java2d.noddraw=true -Xmx369m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -Djdk.home=F:\Program Files\Java\jdk1.6.0_07 -Dnetbeans.home=F:\Program Files\NetBeans 6.1\platform8 -Dnetbeans.dirs=F:\Program Files\NetBeans 6.1\nb6.1;F:\Program Files\NetBeans 6.1\ide9;F:\Program Files\NetBeans 6.1\java2;F:\Program Files\NetBeans 6.1\xml2;F:\Program Files\NetBeans 6.1\apisupport1;F:\Program Files\NetBeans 6.1\enterprise5;F:\Program Files\NetBeans 6.1\mobility8;F:\Program Files\NetBeans 6.1\profiler3;F:\Program Files\NetBeans 6.1\gsf1;F:\Program Files\NetBeans 6.1\ruby2;F:\Program Files\NetBeans 6.1\visualweb2;F:\Program Files\NetBeans 6.1\soa2;F:\Program Files\NetBeans 6.1\identity2;F:\Program Files\NetBeans 6.1\uml5;F:\Program Files\NetBeans 6.1\harness;F:\Program Files\NetBeans 6.1\cnd2 -Dnetbeans.user=C:\Documents and Settings\snurker\.netbeans\6.1 -Dnetbeans.system_http_proxy=DIRECT -Dnetbeans.system_http_non_proxy_hosts= -Dsun.awt.keepWorkingSetOnMinimize=true
    java_command: org/netbeans/Main --branding nb
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Samsung\Samsung PC Studio 3\;;C:\FPC\2.2.0\bin\i386-Win32
    USERNAME=snurker
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 107 Stepping 1, AuthenticAMD
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 3
    CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, mmxext, 3dnowext, 3dnow, ht
    Memory: 4k page, physical 2096428k(1498664k free), swap 4034852k(3410316k free)
    vm_info: Java HotSpot(TM) Client VM (1.6.0-b105) for windows-x86, built on Nov 29 2006 00:48:48 by "java_re" with unknown MS VC++:1310

    Well I did run jdk-6u7-windows-i586-p first. However at installing I got an error-msg. One that seems to be known but they havent had a sollution for yet. So following the instructions, ... I installed the JDK by using the online-installement. After that I installed NetBeans. But like I said before ... NetbBeans just aint starting up.
    It might very well be that the error-log presented above has got nothing to do with the actual error. That it just occurs because there is another problem. But I cant find any information anywhere concerning the problem that NetBeans aint starting up and just sticks to desktop. The only help I could find where about NetBeans erors occuring when NetBeans is alrdy running.
    Edited by: JungleHyena on Oct 6, 2008 4:50 AM

  • 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

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

  • Missing flash.utils.* in code complete upgrade from 3.3 to 3.5 framework

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

    Hi 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

  • Word completion problem

    Hi folks.
    Not after code, as I am hoping to write this myself. I am after suggestions from anyone that has been there before or has a bit more experience with this problem and ideas for me.
    Many of you guys are probably using an IDE with code completion. I'm not trying to write a code completor just yet, but a simple word completor.
    My current plan is to use an embedded java database (derbyDB) in the application (lets just say a JTextArea in a frame). The database has heaps of words in it. As the person types, it sits there in the background with a thread that listens to the stuff being typed and queries for similar words (SQL) in the database and adds it to the text area in a highlight.
    I'm pretty fine with all the text area stuff, but does the above plan sound fine for what I am trying to do?
    Is there any problems people see with the above design? My biggest concern was using the key listener to figure out what they typed into the box... I am worried that if you have a fast typer, it will freeze the characters from coming on screen while the database is looking them up...
    I have looked all over google and through these forums, but cannot find anything (hell- im not even sure if word completion is the correct term for what I'm trying to do...). I just know that many programs do it, and wanted to know how.
    Interested to hear any suggestions about this problem.
    Jason.

    Aha... Queues... That would be a better approach. Thanks. I had no idea about using these!
    i noticed you also made reference to a database. So I'm guessing the database is the way to go.
    I wasn't particularly worried about the grammar side of things, but now that you mentioned it, it does seem like a big problem, ie which word to complete in which situation in a sentence. It almost sounds like a compiler but for english!!! lol Perhaps I should limit the completor to technical words (anatomical words is what I am mainly interested in),
    ie user types "stern"
    possible completions are sternum, sternomastoid, sternocleidomastoid
    when user types ctrl-space (as you say) these words appear in a drop down box.
    Thank you for your suggestion about queues. I will learn about these now.
    Jason.

  • Intellisense and code completion

    Hi all,
    this is maybe not WDA question, but I think all WDA developers have to deal with this problem and I want to know your opinions. The problem is something like intellisense and code completion in abap editor. I'm coming from .NET and Visual Studio world, where this features are implemented and they are very very useful.
    Now when I'm programming something in SE80 I type some_class_instance-> and I want to from editor to show me all methods with description, then I choose some method and editor fill in all method parameters. Now I have to memorize methods and parameters or search for them, which cost a lot of time.
    Example: http://www.fileguru.com/images/b/editor_net_development_microsoft_net-8526.gif
    Best regards Jiri

    Hi
    Check this video
    http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/90db53c4-812d-2c10-0789-dc18f6c9c725&overridelayout=true
    Regards
    Manas Dua

Maybe you are looking for