This project is mirrored from https://git.apache.org/repos/asf/netbeans.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 26 Oct, 2021 5 commits
  2. 25 Oct, 2021 1 commit
  3. 22 Oct, 2021 8 commits
  4. 21 Oct, 2021 7 commits
  5. 20 Oct, 2021 7 commits
  6. 19 Oct, 2021 3 commits
    • Jaroslav Tulach's avatar
    • Junichi Yamamoto's avatar
      [NETBEANS-3391] Support PSR-12 valid formatting rules · 16eab0af
      Junichi Yamamoto authored
      - Add new wrapping options for parentheses of "for/foreach" and Method Call Args, and Method Params
      - Wrap After '(' and Wrap ')': Wrap when there is a newline within ()
      - Keep ')' and '{' on the same line: Keep them when the Braces option
      for Method Declaration is "New Line" and wrap ()
      
      e.g.
      ```php
      //for ($index = 0;
      //$index < count($array);
      //$index++) {
      //    echo $index;
      //}
      for (
              $index = 0;
              $index < count($array);
              $index++
      ) {
          echo $index;
      }
      
      //test($param1,
      //        $param2,
      // $param3);
      test(
              $param1,
              $param2,
              $param3
      );
      
      //function test(
      //$param1,
      //$param2,
      //$param3,): void {
      //
      //}
      function test(
              $param1,
              $param2,
              $param3,
      ): void {
      
      }
      
      // Keep ')' and '{' on the same line
      // the Braces option for Method Declaration is "New Line"
      //function test($param1, int $param2): void{
      //}
      function test($param1, int $param2): void
      {
      
      }
      
      // Keep ')' and '{' on the same line
      // the Braces option for Method Declaration is "New Line"
      //function test(int $param1,
      //        Test &$param2,
      //): void{
      //}
      function test(
              int $param1,
              Test &$param2,
      ): void {
      
      }
      
      ```
      - Note: It doesn't work correctly with new options yet when the wrapping
      option of Method Parameters/Method Call Arguments/For is "If Long"
      16eab0af
    • Junichi Yamamoto's avatar
      Don't generate full class names · 98c3d0f4
      Junichi Yamamoto authored
      98c3d0f4
  7. 18 Oct, 2021 3 commits
  8. 17 Oct, 2021 5 commits
  9. 16 Oct, 2021 1 commit