GithubHelp home page GithubHelp logo

Comments (15)

igyorgyi avatar igyorgyi commented on July 24, 2024 2

not sounds good

from eclipsecodeformatter.

mstachniuk avatar mstachniuk commented on July 24, 2024

+1. Yes, please Implement Clean Up Settings from Eclipse

from eclipsecodeformatter.

krasa avatar krasa commented on July 24, 2024

Yes, someone pls implement it :-)

from eclipsecodeformatter.

Potherca avatar Potherca commented on July 24, 2024

👍

from eclipsecodeformatter.

mbykovskyy avatar mbykovskyy commented on July 24, 2024

+1

from eclipsecodeformatter.

igyorgyi avatar igyorgyi commented on July 24, 2024

+1

from eclipsecodeformatter.

igyorgyi avatar igyorgyi commented on July 24, 2024

It would be nice to use the clean up xml file also.
We need exactly this setting: setting id="cleanup.use_blocks" value="true"

from eclipsecodeformatter.

krasa avatar krasa commented on July 24, 2024

Pull request welcomed, something like that is implemented in https://plugins.jetbrains.com/idea/plugin/7642-save-actions

from eclipsecodeformatter.

igyorgyi avatar igyorgyi commented on July 24, 2024

I miss only adding {} to the blocks. Because this is set in Eclipse in the Clean Up settings.
"Yes, please Implement Clean Up Settings from Eclipse"
As without code cleanup Eclipse formatting cannot be applied to IDEA as it is.
Any plans on this? Maybe only this setting from the cleanup?

For example, without this you will receive formatting like this:
if (true)
return;
else
return;

instead of:

if (true) {
return;
}
else {
return;
}

We are using Member Accesses and Missing Code tab also from the clean up. It's a pretty cool stuff in Eclipse.

from eclipsecodeformatter.

igyorgyi avatar igyorgyi commented on July 24, 2024

You've got such differences:
image

from eclipsecodeformatter.

krasa avatar krasa commented on July 24, 2024

I have no use for this or plans to implement it. But I am willing to click on Merge pull request button...

from eclipsecodeformatter.

markiewb avatar markiewb commented on July 24, 2024

FYI This plugin only provides formatting features. Cleanups in Eclipse are refactoring actions, not formatting actions. Different API, different engine.

So file feature requests at https://github.com/dubreuia/intellij-plugin-save-actions like @krasa said.

from eclipsecodeformatter.

krasa avatar krasa commented on July 24, 2024

It probably wouldn't be a problem to add such features here, you could just copypaste it from the Save Actions plugin.

from eclipsecodeformatter.

jebeaudet avatar jebeaudet commented on July 24, 2024

This works great with the save-actions plugins, IMO we could close this issue.

from eclipsecodeformatter.

delanym avatar delanym commented on July 24, 2024

https://github.com/dubreuia/intellij-plugin-save-actions is archived, forked here https://github.com/MarvelousAnything/intellij-plugin-save-actions
Another fork seems to have been added to Intellij plugin marketplace.

Wouldn't it make sense to add it as another goal to this plugin?

from eclipsecodeformatter.

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.