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

No support for aliassed namespace names

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes