ren
ren

Reputation: 3993

how would you built intellisense for c#

I'd like to build simple code completion for c# for a simple tool. However this seems to be a bit of a challenge. Suppose all that would suffice are suggestions after dot delimiter and method parameters/overloads. In both cases it's necessary to determine the type of a variable which would require parsing and probably even more work (like checking all available members in the inheritance chain). So generally how should this task be approached? Perhaps there are some useful libraries out there (Roslyn maybe)?

EDIT https://stackoverflow.com/a/9556530/579026

Upvotes: 1

Views: 443

Answers (1)

Jake
Jake

Reputation: 302

Perhaps there are some useful libraries out there (Roslyn maybe)?

ActiproSoftware has an extensible editor control with intellisense support for C# and other languages. You can also define your own language. The editor works on WPF and Silverlight.

(I don't work for them).

http://www.actiprosoftware.com/products/controls/wpf/syntaxeditor

Upvotes: 1

Related Questions