mail_321
mail_321

Reputation:

Mimic Intellisense

I want to find C# in a string of c# code, with its parameters. Like in Visual C# as you type, in the intellisense you can find methods you've written inside the text area, I want to accomplish this basically. As the user is typing, and my intellisense pops up, I want to populate my intellisense with the new/edited methods that are in the textarea where the user is typing. Please suggest a good way to approach it, thanks!

Upvotes: 2

Views: 930

Answers (3)

apiguy
apiguy

Reputation: 5362

Sounds like what you want is a C# parser - you can try to use Irony, a parser builder:

http://www.codeplex.com/irony

Or you can use F# with fslex and fslex:

http://stepheneasey.wordpress.com/2009/02/11/fslex-and-fsyacc-tutorial-parsing-sql/

These may not do exactly what you want but could at least get you in the right direction.

Upvotes: 0

Beatles1692
Beatles1692

Reputation: 5330

Take a look at SharpDevelop . it's an open source IDE for C# and VB.Net and it has intellisence.

Upvotes: 1

Mitch Wheat
Mitch Wheat

Reputation: 300817

Commercial: Actipro SyntaxEditor - Windows Forms .NET Control

Free (quite basic): DIY Intellisense

Upvotes: 4

Related Questions