Check Only Action - similar to Force Save

Issue #1969 resolved
Piotr Kożuchowski created an issue

There is Force Save action that deploys file to server - I currently have that assigned to Ctrl+Shift+S shortcut and it’s my main shortcut that I use for every day deployments.
I’d like to request similar action that does Check Only deployment instead that I can assign to another shortcut.

Comments (8)

  1. Scott Wells repo owner

    Thanks for filing. So basically you just want a VERY fast way to validate the current file against the server, correct?

  2. Piotr Kożuchowski reporter

    Exactly. As my role shifted towards dev ops recently, I find it more important to be able to validate file quickly without deploying it.

  3. Scott Wells repo owner

    I just added a new Force Validate action that is behaviorally identical to Force Save except that it performs a check-only deployment of the selected files. This new action has been added to the Illuminated Cloud drop-down and context menus, but it is not bound to a keyboard shortcut by default. You can certainly add a keyboard shortcut of your choice if desired. This change will be included in the next official build, likely Thursday of this week.

  4. Scott Wells repo owner

    It's also worth mentioning that Ctrl+S/Cmd+S does pretty much the exact same thing as Force Save when Override Save All action is enabled. There may be a reason you're not doing that, but just in case I thought I'd mention it as I recommend that as the standard behavior, but because JetBrains doesn't want core IDE action like that changed by a plugin without user approval, I can't (or at least don't) enable it out-of-the-box.

  5. Piotr Kożuchowski reporter

    Thanks a ton Scott 🙂 this will be definitely helpful for me.
    I’m not using Override Save because I have a habit of saving files after every change I do 🙂 but I don’t want to spam server so often 😃

  6. Scott Wells repo owner

    Makes total sense. I have decades of muscle memory for typing Ctrl+S every time I stop to think as well. Luckily the API requests limit is very high now, and most single file deployments are quite quick, though there's always that stretch where things get slow...

    Anyway, I'll get this out on Thursday (barring unforeseen events).

  7. Scott Wells repo owner

    Delivered in 2.1.9.4. As mentioned, the action is available in IC menus but is not bound to a keyboard shortcut by default.

  8. Log in to comment