# CODE EDITOR VBSCRIPT HIGHLIGHTING AND INTELLISENSE

**URL:** https://forum.alternetsoft.com/t/code-editor-vbscript-highlighting-and-intellisense/178
**Category:** AlterNET Studio Support
**Tags:** editor
**Created:** [November 9, 2017, 12:00am UTC](https://forum.alternetsoft.com/t/code-editor-vbscript-highlighting-and-intellisense/178 "2017-11-09T00:00:00Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![abhi.singhal](https://forum.alternetsoft.com/letter_avatar_proxy/v4/letter/a/606060/32.png) [@abhi.singhal](https://forum.alternetsoft.com/u/abhi.singhal)
#### Post date: [November 9, 2017, 12:00am UTC](https://forum.alternetsoft.com/t/code-editor-vbscript-highlighting-and-intellisense/178/1 "2017-11-09T00:00:00Z")

</div>

Hello  
We are looking to use Code Editor in our application.  
We'd like to start with the VBScript language, strip it of all its internal functions and add our own functions.  
We have a list of functions with its signatures, ie parameter names and descriptions. We need functionality at two levels:  
- Editor Text Display: The function name should be highlighted in bold.  
- Intellisense: During editing, the function names would be presented as a list. Once a function is chosen, its signature would be shown with parameter highlighting in bold.  
Kindly advise whether above is possible and if yes, pl provide a code sample.  
Thanks

---

<div class="post-metadata">

### Author: ![andrew.medvedev](https://forum.alternetsoft.com/user_avatar/forum.alternetsoft.com/andrew.medvedev/32/28_2.png) [@andrew.medvedev](https://forum.alternetsoft.com/u/andrew.medvedev)
#### Post date: [November 10, 2017, 12:00am UTC](https://forum.alternetsoft.com/t/code-editor-vbscript-highlighting-and-intellisense/178/2 "2017-11-10T00:00:00Z")

</div>

Hi,  
yes this is possible.  
Please try our demo using this link:  
[http://www.alternetsoft.com/projects/VbScriptDemo.zip](http://www.alternetsoft.com/projects/VbScriptDemo.zip)  
regards,  
Andrew

---

<div class="post-metadata">

### Author: ![abhi.singhal](https://forum.alternetsoft.com/letter_avatar_proxy/v4/letter/a/606060/32.png) [@abhi.singhal](https://forum.alternetsoft.com/u/abhi.singhal)
#### Post date: [November 10, 2017, 12:00am UTC](https://forum.alternetsoft.com/t/code-editor-vbscript-highlighting-and-intellisense/178/3 "2017-11-10T00:00:00Z")

</div>

Looking good.  
Currently Intellisense is being enabled by using the following line of code:  
repository.RegisterType("", typeof(VbScriptOwnFunctions), true);  
  
What are the other ways to register function signatures ? We have a list of function signatures but they are not contained in a class/type.  
  
Thanks

---

<div class="post-metadata">

### Author: ![andrew.medvedev](https://forum.alternetsoft.com/user_avatar/forum.alternetsoft.com/andrew.medvedev/32/28_2.png) [@andrew.medvedev](https://forum.alternetsoft.com/u/andrew.medvedev)
#### Post date: [November 14, 2017, 12:00am UTC](https://forum.alternetsoft.com/t/code-editor-vbscript-highlighting-and-intellisense/178/4 "2017-11-14T00:00:00Z")

</div>

Hi,  
yes this is possible. Another way is load function descriptions from xml file like it done in this demo:  
[http://www.alternetsoft.com/projects/VbScriptDemo.zip](http://www.alternetsoft.com/projects/VbScriptDemo.zip)  
regards,  
Andrew

---

<div class="post-metadata">

### Author: ![abhi.singhal](https://forum.alternetsoft.com/letter_avatar_proxy/v4/letter/a/606060/32.png) [@abhi.singhal](https://forum.alternetsoft.com/u/abhi.singhal)
#### Post date: [November 15, 2017, 12:00am UTC](https://forum.alternetsoft.com/t/code-editor-vbscript-highlighting-and-intellisense/178/5 "2017-11-15T00:00:00Z")

</div>

Looks good - will try to incorporate and test.

---

<div class="post-metadata">

### Author: ![jojo.kurniawan](https://forum.alternetsoft.com/letter_avatar_proxy/v4/letter/j/606060/32.png) [@jojo.kurniawan](https://forum.alternetsoft.com/u/jojo.kurniawan)
#### Post date: [February 21, 2018, 12:00am UTC](https://forum.alternetsoft.com/t/code-editor-vbscript-highlighting-and-intellisense/178/6 "2018-02-21T00:00:00Z")

</div>

Hi, I am evaluating the codeeditor to fix our old qwhale 1.56 version.  
The issue I am trying to fix is the intellisense description feature. Consider the following  
public class A {  
 ///#  
 /// This is a test  
 ///  
 public void TestMethod()  
}  
public class B: A {}  
  
Okay, using Qwhale 1.56 code editor, when I do:   
B.TestMethod(), I don't see the description "This is a test".  
  
After upgrading to Alternet 2.1 code editor, now I see the "This is a test" descripiton. which is great.  
  
However, when I do the following,  
B.ToString(), I don't see the description.  
So it seems that the intellisense cannot find the description in Microsoft .NET assemblies.  
I have checked your CodeCompletion demo and it works just fine.  
I have been comparing your code and my code and I can't seem to nail down the root cause of the issue.  
Do you have any idea what could possibly misconfigured on my application?  
Thanks.  
Jojo  
  
  
  
Using qwhale1.56, base classes method doesn't show its description.   
Upgrading to alternet 2.1 fixes the issue partially. I can see the base

---

<div class="post-metadata">

### Author: ![nvargas](https://forum.alternetsoft.com/letter_avatar_proxy/v4/letter/n/606060/32.png) [@nvargas](https://forum.alternetsoft.com/u/nvargas)
#### Post date: [February 26, 2025, 7:42pm UTC](https://forum.alternetsoft.com/t/code-editor-vbscript-highlighting-and-intellisense/178/7 "2025-02-26T19:42:14Z")

</div>

Is there an updated link for [http://www.alternetsoft.com/projects/VbScriptDemo.zip](http://www.alternetsoft.com/projects/VbScriptDemo.zip)  
Or is there a current new way on how to accomplish adding external modules to be accessible via intellisense?

---

<div class="post-metadata">

### Author: ![dmitry.medvedev](https://forum.alternetsoft.com/user_avatar/forum.alternetsoft.com/dmitry.medvedev/32/27_2.png) [@dmitry.medvedev](https://forum.alternetsoft.com/u/dmitry.medvedev)
#### Post date: [February 27, 2025, 8:06am UTC](https://forum.alternetsoft.com/t/code-editor-vbscript-highlighting-and-intellisense/178/8 "2025-02-27T08:06:51Z")

</div>

Hi Noel,

I’ve uploaded a modified version of this project here:

> **[VbScriptDemo.zip](https://drive.google.com/file/d/1lPnJ0RvG87vCHqhuxxQRnBv8e9brnluo/view?usp=sharing)**
>
> Google Drive file.

Kind regards,  
Dmitry
