SlickEdit Product Discussion > SlickEdit®

How to disable jumping back of {

(1/1)

gstavi:
I am new to slickedit. I work on C++ project on Linux.
When I try to type something like:

--- Code: ---int foo()
    {
--- End code ---
The parenthesis is pulled automatically to the left

--- Code: ---int foo()
{
--- End code ---
I scanned the options for 2 hours trying to disable this behavior but couldn't find anything that helps.

Please help.


dunkers:
On the Tools menu, select the "Beautify..." item and you'll be plonked into a dialog where you can set your preference (which includes not messing with braces if you don't want it to do anything at all).

Also, you can go via the File Extension Setup, make sure you're looking at the C parser, then hit the Options... button.

gstavi:
I tried in the "Beautify..." to mark the option "Do not change brace style", it seems to have no effect on my problem. Is there any other related option in this dialog?

I changed in the "C Options" dialog (File Extensions setup... -> Options...) in the "Begin-End style" tab the style to 3 which is the style I am looking for. That helped me but now if I put a brace in the beginning of the line it will be pushed forward.

What I really want is to be able to put the brace on the cursor without any auto styling and than use simple auto indenting.

Any way do do just that?

dunkers:
Sorry, that was about the limit of my SlickEdit config skillz  :-[

Lee:
From File Extensions Setup > Options...Make sure to enable "Apply to functions braces" as well as setting the brace style to style 3.

Navigation

[0] Message Index

Go to full version