Alvaro

Avatar
  • Total activity 124
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 17
  • Subscriptions 34
  • Created

    Ignore files from specific context root

    I like to have my own scripts and utilities for a given git based project, so I have this: Clone project at ~/project Set up a personal git repository and clone in it ~/extras Open ~/project in Php...
    • 1 follower
    • 1 comment
    • 0 votes
  • Created

    Make IDE aware of Carbon macros

    The Carbon library allows creating custom methods:Carbon::macro( 'isDayOff', static fn (WorkingWeek $workingWeek) => $workingWeek->isWeekend(self::this()) );Is there a way to make PhpStorm ...
    • 1 follower
    • 3 comments
    • 0 votes
  • Edited

    Escape values for application/x-www-form-urlencoded requests

    I'm using the HTTP client to make a POST request with application/x-www-form-urlencoded, but I get an error because a variable seemingly contains an invalid character:POST http://localhost:8080/aut...
    • 1 follower
    • 1 comment
    • 1 vote
  • Created

    Gutter icon to run HTTP requests runs wrong request

    If you have an HTTP file with two requests and you attempt to run the second request by clicking on the green gutter arrow icon while the cursor is on the first request, there's this annoying bug t...
    • 4 followers
    • 8 comments
    • 0 votes
  • Created

    Congrats for revamped HTTP pane

    I just wanted to share huge kudos with the people that made the new structure pane for HTTP requests possible.It's an amazing improvement, and the kind of quality of life hacks that make everybody ...
    • 2 followers
    • 1 comment
    • 0 votes
  • Edited

    phpcs: Could not open input file

    When I open my project, I get a toast message about PHP_CodeSniffer not being able to find input file. I'm unable to figure out the exact settings I need to use. My project root has a phpcs.xml fil...
    • 2 followers
    • 3 comments
    • 0 votes
  • Edited

    Remove redundant docblock tags

    I was very excited about the feature to remove redundant docblock tags in 2023.2, but it isn't as smart as I had anticipated. /** * This is just some example I made up for the forum post. * * ...
    • 2 followers
    • 5 comments
    • 0 votes
  • Edited

    Block comments get misaligned on copy+paste

    PhpStorm has recently started to mess code comments when I copy and paste, and "Reformat Code" doesn't seem to fix it. I haven't changed any code style setting and, if I had, I've no idea which one...
    • 2 followers
    • 5 comments
    • 0 votes
  • Created

    Inspect function return value

    Xdebug/3.2 allows to inspect function return value, but I'm not sure I fully understand how it works. According to the information I found (which unfortunately seems to be all videos), you seemingl...
    • 3 followers
    • 3 comments
    • 0 votes
  • Created

    Open Excel file from Services pane

    I have an HTTP Request where I save response to a file: ### DownloadGET {{url}}>>! /home/alvaro/files/{{filename}} The Services panel generates a link. When I click on it for the first time, I ge...
    • 3 followers
    • 21 comments
    • 0 votes