Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3103

Formatting is broken with class constant code completion(self::)

    XMLWordPrintableJSON

Details

    Description

      Example code

      <?php
      class ClassName {
      
           // ^ is the caret position
          // select "self::" or "parent::" in CC list
          private const CONSTANT = ^;
      
      }
      

      Expected result

      <?php
      class ClassName {
      
          private const CONSTANT = self::;
      
      }
      

      Actual result

      <?php
      class ClassName {
      
          private const CONSTANT = self
      
          ::;
      
      }
      

      Attachments

        Issue Links

          Activity

            People

              junichi11 Junichi Yamamoto
              junichi11 Junichi Yamamoto
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m