workshop/06_Todo/01_Todo.php (2 lines of code) (raw):

<?php /** * Todo * * Alt+6 (Windows/Linux) * Command+6 (macOS) */ namespace Todo1\JetBrains; // 1. Using the keyboard shortcut, show all todo's in the project. // 2. Switch the scope of todo's to just display todo's in the current file. // 3. Double-click or use the F4 shortcut to go to the first todo comment. // 4. Find the TODO comment in index.html. TODO works in every language supported by the IDE. // 5. Add a new todo item by creating a comment followed by fixme or todo, for example: // todo: create a new comment below this line // 6. Add a multiline todo by indenting the comment lines that follow the initial line: // TODO: this is a longer todo comment. // It spans over several lines // but is treated as a single item.