Author Topic: Incorrect brace insertion inside namespaces  (Read 3843 times)

evanratt

  • Senior Community Member
  • Posts: 300
  • Hero Points: 23
Incorrect brace insertion inside namespaces
« on: April 24, 2008, 09:46:10 pm »
I'm noticing an incorrect behavior from SE regarding automatically inserting braces after function and class definitions inside namespaces. If I define a namespace and then try to add a function or class inside the namespace, but not indented, the closing brace is not automatically added for me. I go from this:

Code: [Select]
namespace {

}

to this:

Code: [Select]
namespace {
class a {
}

Not a major bug, but enough to give me a hiccup in my workflow, now that I'm so used to SE autoinserting my closing braces.

-Evan