Posted 16 years ago
by Stephen Curle
I've created a very simple project to test the new add-ons features but can't get most of them to work. In particular the member list doesn't appear when '.' is pressed after a variable name, there is no automatic outlining and there are some members missing from the member list that appears after ' as ' (a simple example being no inclusion of ArrayList after typing '... As System.Collections.'). For info here is the code I've written in the load event of my form -
SemanticParserService.Start()
editor.Document.SemanticParsingEnabled = True
editor.Document.Language = New ActiproSoftware.SyntaxEditor.Addons.VB.VBSyntaxLanguage
editor.Document.LanguageData = dotNetProjectResolver
editor.Document.Filename = "Hello"
editor.Document.AutoCaseCorrectEnabled = True
dotNetProjectResolver.CachePath = IO.Path.GetDirectoryName(Application.ExecutablePath) + "\Cache\"
dotNetProjectResolver.AddExternalReferenceForSystemAssembly("System")
dotNetProjectResolver.AddExternalReferenceForSystemAssembly("System.Collections")
editor.Document.Outlining.Mode = ActiproSoftware.SyntaxEditor.OutliningMode.Automatic
Any ideas as to what what is missing or what I'm doing wrong ?
SemanticParserService.Start()
editor.Document.SemanticParsingEnabled = True
editor.Document.Language = New ActiproSoftware.SyntaxEditor.Addons.VB.VBSyntaxLanguage
editor.Document.LanguageData = dotNetProjectResolver
editor.Document.Filename = "Hello"
editor.Document.AutoCaseCorrectEnabled = True
dotNetProjectResolver.CachePath = IO.Path.GetDirectoryName(Application.ExecutablePath) + "\Cache\"
dotNetProjectResolver.AddExternalReferenceForSystemAssembly("System")
dotNetProjectResolver.AddExternalReferenceForSystemAssembly("System.Collections")
editor.Document.Outlining.Mode = ActiproSoftware.SyntaxEditor.OutliningMode.Automatic
Any ideas as to what what is missing or what I'm doing wrong ?