Take the 2-minute tour ×

How to implement a code editor with features like syntax highlighting,code completion,code snippets to an extent like in Visual studio. Iam using visual studio 2010 to create the editor.I found a syntax rich text box which does the syntax highlighting but i want to add much more features to the code editor. plz suggest.

share|improve this question
You've already listed enough features that will take some time implemeting from scratch. Do you need more feature suggestion? Or you have some other quiestion? –  Alexei Levenkov Mar 30 '12 at 7:13
I suggest you read the FAQ –  Carsten König Mar 30 '12 at 7:15
No Code completion is mainly what im looking for if you could help me in that regard. –  sahil ajay Mar 30 '12 at 7:32

2 Answers 2

Visual studio shell is your choice. Below links might be of your interest:

share|improve this answer

You may want to look at this MSDN Walkthrough on Displaying Statement Completion

From above Link:

Statement completion is typically triggered by typing certain characters, for example, by typing the beginning of an identifier such as "using". It is typically dismissed by pressing the SPACEBAR, TAB, or ENTER to commit a selection. IntelliSense features that are triggered by typing a character can be implemented by using a command handler for the keystrokes (the IOleCommandTarget interface) and a handler provider that implements the IVsTextViewCreationListener interface. To create the completion source, which is the list of identifiers that participate in completion, implement the ICompletionSource interface and a completion source provider (the ICompletionSourceProvider interface).

share|improve this answer

Your Answer


