Bug #18461 2011-12-28 09:23
gryllida
smartIdent not customisable; conflicts with sourcefmt rules
The smart identation seems to conflict with the source formatter options that I set, which is irritating. Otherwise I have to set identation manually. both are not a very pleasant experience.
example:
I have set the source formatter (and I want to write the code like this, too) this:
if()
{
// ...
}
But the Editor -> General settings contain a "smart ident" option
which doesn't work exactly the way it should - I type the first line
and hit Enter, the newly added line is not indented one more space to
the right:
if()
|_ (blinking cursor here)
I want it to
1) automatically add the extra space, and add the {}s instead just
after I type first line and hit Enter:
if()
{
|_ (blinking cursor here)
}
OR
2) automatically ident when I hit Enter
if()
|_ (blinking cursor here)
So I can type { and type the block inside:
if()
{
|_ (blinking cursor here)
}
---
- Category
- Application::Editor
- Group
- Platform:All
- Status
- Open
- Close date
- Assigned to