#14 Intellisense exception for MyForm members (MyGeneration 1.3)

closed-fixed
5
2007-11-06
2007-11-05
tibh
No

In MyGeneration 1.3 beta 8 when trying to use intellisense for the members of MyForm class two things could happen:
- intellisense does not work if the member variable is prefixed by this (ex. this.zeusInput.)
- an exception occurs if the member variable is typed without this prefix (ex. zeusInput.). The exception is: ArgumentException, Explicit assembly name must be specified when loading a type as ReflectionOnly

Stack trace:

at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.ReflectionOnlyGetType(String typeName, Boolean throwIfNotFound, Boolean ignoreCase)
at MyGeneration.AutoCompletion.AutoCompleteHelper.SearchForType(String type)
at MyGeneration.AutoCompletion.CSharpAutoCompleteHelper.ScanCodeForVariable(ZeusScintillaControl scintilla, String varname, AutoCompleteNodeInfo& node)
at MyGeneration.AutoCompletion.AutoCompleteHelper.HandleCharAdded(ZeusScintillaControl scintilla, Boolean isTagged, Char ch)
at MyGeneration.AutoCompletion.AutoCompleteHelper.CharAdded(ZeusScintillaControl scintilla, Char ch)
at MyGeneration.ZeusScintillaControl.ZeusScintillaControl_CharAdded(Object sender, CharAddedEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at Scintilla.ScintillaControl.DispatchScintillaEvent(SCNotification notification)
at Scintilla.ScintillaControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Discussion

  • Anonymous - 2007-11-05

    Logged In: YES
    user_id=1817065
    Originator: NO

    the intellisense will be limited - but I will definitely fix this and support "this" in C#. I will add jscript VB.Net later. Thanks for the help! I just noticed that blank ctrl-space stopped working in my last build. I will get that too.

     
  • Anonymous - 2007-11-05
    • assigned_to: nobody --> komma8komma1
     
  • Anonymous - 2007-11-06
    • status: open --> closed-fixed
     
  • Anonymous - 2007-11-06

    Logged In: YES
    user_id=1817065
    Originator: NO

    Fixed. Thanks for helping!

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks