Coder Social home page Coder Social logo

Comments (7)

dubreuia avatar dubreuia commented on May 25, 2024

Thanks for the issue. I'll check out if I can support both (1) reformat only the focus document (2) reformat all modified documents.

tl;dr: It's a side effect of #13

Long explanation: to fix #1, I need to make sure to reformat only the file that is opened in the current intellij (there can be multiple instances), but I can't check on file path since it breaks #13, so I'm using the current file focus to see if I need to reformat or not. It might work better if I use the current project focus instead.

from intellij-plugin-save-actions.

dubreuia avatar dubreuia commented on May 25, 2024

I might just add an option "Reformat only focus document" so I'm marking that as an enhancement since 0.7 is working as I want it to work.

from intellij-plugin-save-actions.

myoss avatar myoss commented on May 25, 2024

I'm looking forward to it.

from intellij-plugin-save-actions.

sbmpost avatar sbmpost commented on May 25, 2024

@dubreuia: hi there, you may want to take a look at some code I posted here: http://stackoverflow.com/a/35727193
It solves some problems (locked files, not being able to undo, and handling multiple files).

from intellij-plugin-save-actions.

dubreuia avatar dubreuia commented on May 25, 2024

I like the make project / compile file options, I might steal your idea. Not sure I can use the multiple files handling part but I'll try. I'll certainly use the part on the undo and the locked files. Thanks a lot I'll keep you posted!

from intellij-plugin-save-actions.

sbmpost avatar sbmpost commented on May 25, 2024

You are welcome to steal ;-), thanks for working on this

from intellij-plugin-save-actions.

dubreuia avatar dubreuia commented on May 25, 2024

Corrected that behavior in 0.8. It should work as in 0.4, but works with multiple open instances too

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.