Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-81233

Include .phpstorm.meta.php

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.4
    • 4.4
    • General
    • MOODLE_404_STABLE
    • MOODLE_404_STABLE
    • MDL-81233-main
    • Hide
      1. Open vscode or phpstorm
      2. Open /index.php
      3. Enter a command like:

        \core\di::get(\core\formatting::class)->format_string();
        

      4. Hold the Ctrl key and mouse-over the format_string method
        1. Confirm you are shown docs for the method
      5. Ctrl + Click on format_string
        1. Confirm you are taken into the method definition
      Show
      Open vscode or phpstorm Open /index.php Enter a command like: \core\di::get(\core\formatting::class)->format_string(); Hold the Ctrl key and mouse-over the format_string method Confirm you are shown docs for the method Ctrl + Click on format_string Confirm you are taken into the method definition

      We should consider including a .phpstorm.meta.php to Moodle to help us to describe use of DI and other similar features.

      It's supported by phpstorm, and vscode, and probably others.

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Marina Glancy Marina Glancy
            Jun Pataleta Jun Pataleta
            Jun Pataleta Jun Pataleta
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 35 minutes
                3h 35m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.