In the directory
samples\NRefactoryExample you can find a new demo of our VB.NET/C# parser library.
It converts a code snippet into it's abstract syntax tree represntation (AST) which you can see and modify in the treeview below. The other way (AST to code) supported as well as running a visitor on the tree.
Supposed you want to call a method and don't know the return type you can use this handy completion feature:
int getSomeObscureType()
{
return 1;
}
void test()
{
? x = getSomeObscureType();
}
After you typed the semicolon (highlighted in red), the placeholder "?" is replaced by the return type of the called method:
void test()
{
int x = getSomeObscureType();
}
Once again we are sitting in Bad Ischl discussing and working on SharpDevelop.

Chris showing off his brand new machine.

Daniel, after optimizing the folding speed.