umm... but eclipse already do this...
Walkmod: Open-source tool to automatically apply code conventions
11–20 of 28 posts
Re: Walkmod: Open-source tool to automatically apply code conventions
#12Weird name. See also: http://astyle.sourceforge.net/
Re: Walkmod: Open-source tool to automatically apply code conventions
#13I find it frustrating that it's not made clear upfront that Walkmod is only for Java. In fact, it's not really made clear anywhere I can see so I'm not 100% sure that's correct but it seems to be the case.
From their GitHub README [1] (I'm not affiliated): "Walkmod can support with any programing language if a set of interfaces are implemented as a third party plugin. The first (and current) supported language is Java." [1] https://github.com/rpau/walkmod-core
Re: Walkmod: Open-source tool to automatically apply code conventions
#14Re: Walkmod: Open-source tool to automatically apply code conventions
#15umm... but eclipse already do this...
Yes, but this could be used as a hook after a push on the git, so that code would always follow a certain convention, whatever editor the developper that pushed used.
Re: Walkmod: Open-source tool to automatically apply code conventions
#16Earlier quoted context omitted.
Not called so delete I guess. What that has to do with style or conventions I don't know.
Yes, what I wanted to show in this example is that those elements that are "dead" can be removed (there is a plugin for it)
Re: Walkmod: Open-source tool to automatically apply code conventions
#17I like tools like this, but why not just write good code in the first place and make people fix code they write poorly?
Re: Walkmod: Open-source tool to automatically apply code conventions
#18Let users check out a repo formatted using whatever indentation they like, then commit back in a standardised format. Then we can all stop talking about this utter nonsense and do some real work.
Re: Walkmod: Open-source tool to automatically apply code conventions
#19I find it frustrating that it's not made clear upfront that Walkmod is only for Java. In fact, it's not really made clear anywhere I can see so I'm not 100% sure that's correct but it seems to be the case.
From their GitHub README [1] (I'm not affiliated): "Walkmod can support with any programing language if a set of interfaces are implemented as a third party plugin. The first (and current) supported language is Java." [1] https://github.com/rpau/walkmod-core
Re: Walkmod: Open-source tool to automatically apply code conventions
#20Earlier quoted context omitted.
Yes, what I wanted to show in this example is that those elements that are "dead" can be removed (there is a plugin for it)
Ok, so the commented out for loop in the example is also considered "dead". Walkmod detects that it is in fact commented out code and only then removes it. Correct?