|Re: Engage Source -> Format [message #690566 is a reply to message #690565]
||Wed, 29 June 2011 17:38
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
In my case, it's code I wanted quick, but "unproject"-like access to. It |
was syntactically and semantically complete, but not without the
addition of numerous JARs. I shamelessly wanted to use the formatter in
Eclipse, something I don't have access to from Vim. Should probably look
around for one.
On 29-Jun-11 11:18, Ed Merks wrote:
> I'm able to format Java files with semantic errors but not ones with
> syntactic errors. It makes sense that something that's not well formed
> syntactically simply can't be formatted syntactically given that the
> formatter is likely driven by a structural representation...
> On 29/06/2011 9:30 AM, Russell Bateman wrote:
>> Is there a way to force Eclipse to allow me to engage Source -> Format
>> regardless of the file I'm working in to have compiled cleanly?
>> I'm unable to reformat the code (except by hand) before getting it all
>> compiled cleanly. I don't see why this must be the case, but someone
>> put this semantic into Eclipse and maybe there's a way to turn it off?
Powered by FUDForum
. Page generated in 0.03214 seconds