We have a proprietary macro language in one of our products, edited through our Windows software. I would like to add intellisense, but I have no idea how to go about this (at least not without completely reinventing the wheel). Is there any sample code or 3rd party package that can at least get me started? It doesn't have to be free.
The application uses .NET, written in C#.
You can enable or disable particular IntelliSense features in the Options dialog box, under Text Editor > C/C++ > Advanced. To configure IntelliSense for single files that aren't part of a project, look for the IntelliSense and browsing for non-project files section.
To access this options page, choose Tools > Options, and then choose Text Editor > C# > IntelliSense.
IntelliSense is a code-completion aid that includes a number of features: List Members, Parameter Info, Quick Info, and Complete Word. These features help you to learn more about the code you're using, keep track of the parameters you're typing, and add calls to properties and methods with only a few keystrokes.
There is a CodeProject article about adding intellisense to your own applications: DIY Intellisense
It should give you a good start.
There are also open source packages that you can dig into if you really want dig deep into an implementation: #develop (short for SharpDevelop) is a free IDE for C#, VB.NET and Boo projects
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With