Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: magnified on March 06, 2020, 05:23:42 pm
-
Hi,
When i tried to type "((" (double parentheses), the editor automatically add two parentheses "))".
But when i type "[[" (double brackets), the editor only add one closing bracket "]"
(())
[[]
I expect that the editor treat brackets as parentheses
Any help would be appreciated.
-
What version are you using? What are your editor settings? This seems to work fine in my trunk version.
-
What version are you using? What are your editor settings? This seems to work fine in my trunk version.
I'm using C::B 17.12
-
Can you try a night build?
-
Can you try a night build?
I just installed build 11979 but the problem still exist.
-
Ok, I was able to reproduce this. It seems the smartindent plugin is causing this. I don't have time to fix it now, so it will be good if you can log this issue in the tracker on sf.net page. And ping me/us in some time in the future, if there is no progress...
-
Ok, I was able to reproduce this. It seems the smartindent plugin is causing this. I don't have time to fix it now, so it will be good if you can log this issue in the tracker on sf.net page. And ping me/us in some time in the future, if there is no progress...
Thank you!
-
Stupid question and I didn't try, but isn't this becasue brace completion" in the editor settings is active?
-
Brace completion works for all types of braces. Without the smartindent plugin enabled it works as expected.