CB 8.02 windows 7.
on a large number of text editors when you open a new brace '{' bracket '(' '[' an enclosing one is put directly after the cursor. or in case of the curly brace is put 2 lines below and the cursor jumps the to the next line with -> 1 indent. less frequent editors also have this inclusion for inverted commas. so when you type one, a second one(closing comma) is placed directly after the cursor.
eg _ = cursor
// i type {
{
_
}
// i type (
int main(_)
// i type [
int [_]
// i type "
string str1="_"
This is still kind of buggy, sometimes this doesn't work at all, for instance in non cpp file types.
Sometimes it doesn't work in cpp files either if I'm outside of a class block or something... But then other times it does.
Would love to see auto comment completion as well. :shock:
/* enter :
and for javadocs, /**
/**
* _
*
* @param argc
* @param argv
* @return
*
**/
int main(int argc,char *argv[])
{
...