User forums > Help

Indenting 8 spaces

<< < (3/3)

oBFusCATed:

--- Quote from: rtty21 on December 28, 2012, 09:23:41 pm ---I have searched google to no avail. :(

--- End quote ---
You've searched the wrong place... you'd have to search the code for this:)

Do you have brace-completion enabled?
Does it happen every time?

rtty21:

--- Quote from: oBFusCATed on December 28, 2012, 09:26:30 pm --- wrong place... you'd have to search the code for this:)

Do you have brace-completion enabled?
Does it happen every time?

--- End quote ---

I don't really like brace completion.
nevertheless, i tried it.

it fixes the problem with if/switch-case/while/do-while/for statements, but it then screw up smart indentation for function definitions  :(
function definitions will not have any indents when i enable brace-completion. it looks like this:

--- Code: ---void my_function(int x, int y){
|
}
--- End code ---
where the pipe is where my cursor is placed by default.

Thanks for the suggestion. I guess I would rather manually fix a function each time rather than a control statement each time seeing as how i'll definitely be writing a lot more of the latter.

that being said, it would be nice for this to function as I am describing it. Or, to be a little narcissistic, it would be nice to be able to fully configure this.

oBFusCATed:

--- Quote from: rtty21 on December 28, 2012, 09:46:53 pm ---
--- Quote from: oBFusCATed on December 28, 2012, 09:26:30 pm ---Do you have brace-completion enabled?
Does it happen every time?

--- End quote ---

I don't really like brace completion.
nevertheless, i tried it.

--- End quote ---
You've not answered my questions...

rtty21:

--- Quote from: oBFusCATed on December 28, 2012, 10:19:01 pm ---
--- Quote from: rtty21 on December 28, 2012, 09:46:53 pm ---
--- Quote from: oBFusCATed on December 28, 2012, 09:26:30 pm ---Do you have brace-completion enabled?
Does it happen every time?

--- End quote ---

I don't really like brace completion.
nevertheless, i tried it.

--- End quote ---
You've not answered my questions...

--- End quote ---

oops! It does happen every time consistently.

oBFusCATed:

--- Quote from: rtty21 on December 28, 2012, 10:50:49 pm ---oops! It does happen every time consistently.

--- End quote ---
OK, I can reproduce it consistently, too.

Navigation

[0] Message Index

[*] Previous page

Go to full version