How Does Ctrl-K work in Stackoverflow

Posted by harigm on Stack Overflow See other posts from Stack Overflow or by harigm
Published on 2010-04-23T12:58:35Z Indexed on 2010/04/23 14:13 UTC
Read the original article Hit count: 358

I am very curious to know how to implement the Ctrl-K feature against code, For sample

  public static void main(Stirng args[]){

    System.out.println.out("welcome");

    }

That will be nicely formatted?

1)Do we require any package to implement this? 2) Any ready made code avaialble to do this?

Can any one help me with this, I am planning to develop a site where this feature would be a real helpful.

© Stack Overflow or respective owner

Related posts about metaprogramming

Related posts about stackoverflow