Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-587

No support for aliassed namespace names

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 1.3.0
    • None

      Currently the code completion and the syntax checker don't support aliased namespaces. This results in code like:

      namespace myVeryLongNamedNameSpace 
      {
        void myMethod();
      }
      
      namespace ns = myVeryLongNamedNameSpace;
      
      ns::myMethod();
      

      where the last line is green underlined, and specifying that "ns is not a namespace or classname" if you hover over it. Also, pressing ctrl-space after "ns::" doesn't result in "myMethod()" popping up.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            raggi Roberto Raggi
            john.smits@skf.com John Smits
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes