Tags: php-sage/sage
Tags
Lots of stuff. * cli view and simple html share same-ish colors * cli view shows color indicators of current level * plain view readability enhancements * datetime of dump in rich view * phpstorm-plugin renamed to phpstorm-remote, doesn't work either way, thanks, jetbrains * improvements to enum and alternatives displays * switched functionalities of ! and + modifiers as it makes more intuitive sense * improvements to classname, color, splfileinfo variables * finally fixed footer [+] keyboard navigation * TAB button now jumps out of sage keyboard navigation * removed more useless tests, sigh this needs work * more obvious indication that direct, non-variable parameters were passed * streamlined output simplification, just makes sense now Known issues: since PHP8.2 the debug_backtrace output changed what line is indicated, effectively breaking current variable name detection for multiline sage calls, not too difficult to fix.
New features: `print s()`, `s(2)`, many QOL improvements * `Sage::$outputFile` to write to instead of echo * `print sage();` modifier as shorthand for the above to write to `sage.html` in __DIR__ * `sage(2)` shortcut to print just the files of the backtrace * `sage()` now prints the same info as `microtime()` * Documentation and visual improvements
Replaced default IDE link provider. Still PHPStorm, just another means. * The good old remote call plugin was replaced by IDE remote control. * The new plugin is not as liberal for what the file path is prefixed, so improved app-root detection, removing Sage::$appRootDirs in the process. Breaking change but no one used it, fact :) * Updated fonts to be a more modern selection. Bolder, nicer, readabler :) * Random inspections fixed
PreviousNext