Git Product home page Git Product logo

Comments (6)

dubreuia avatar dubreuia commented on June 8, 2024

WNF

from intellij-plugin-save-actions.

Robrowski avatar Robrowski commented on June 8, 2024

Can this be reconsidered? The inclusions/exclusions is going to help me get by for a while, but ultimately I will have to stop using the plugin altogether without a feature like this. The inspections end up being far too disruptive for my team's code review process.

from intellij-plugin-save-actions.

dubreuia avatar dubreuia commented on June 8, 2024

Sure! I'm reopening.

I'll be honest thought this is a big development and it's not priority since it's very specific (lot's of bugs to correct before that). I'm not seing this done anytime soon without help from a PR.

from intellij-plugin-save-actions.

aalosious avatar aalosious commented on June 8, 2024

+1 on the enhancement.. The Eclipse "Save Actions" already supports this.

Below is why this would be a big enhancement for my use case:
I often keep manual formatting to enhance readability and uncluttering (like adding newlines where the auto-formatter wouldn't). Right now, I have to worry about the plugin undoing my uncommitted formatting changes. So, I have to either untick the "Reformat file" option in the plugin or commit my changes to git before continuing. This limits the use of the plugin for me. So, if the plugin could diff with the last saved state of the file (rather than the last git committed version of the file) before formatting, it would be great.

Thanks for the effort, dubreuia.

from intellij-plugin-save-actions.

dubreuia avatar dubreuia commented on June 8, 2024

Hello @aalosious, I'm not sure this plugin fits your use case: you either have a formatter that fits your usage and save-actions applies it automatically, or you don't use auto-something at all and do everything by hand.

For some files you might want to temporarily stop auto-formatting (like: "don't reformat this file on next save") and that development is in #59

from intellij-plugin-save-actions.

dubreuia avatar dubreuia commented on June 8, 2024

Moved to "ideas"

from intellij-plugin-save-actions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.