Solved

Eclipse, format multiple files

Posted on 2008-06-26
2
826 Views
Last Modified: 2013-12-15
According to this website, Eclipse can format multiple files at once:
http://mirror.calvin.edu/eclipse/downloads/drops/R-3.0-200406251208/eclipse-news-part4-R3.html
>Format multiple files
>The Format command is also enabled on Java projects, source folders, and packages.
>When invoked, all contained source files will be formatted according to the currently configured formatter settings.

However, when I select my Java project, Source -> Format,
nothing happens.

(If I open a Java file from this this file, and select Source -> Format,  it works)

What can be the problem?


Many thanks,
DAvid

0
Comment
Question by:dportabella
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 9

Accepted Solution

by:
mbodewes earned 500 total points
ID: 21903900
Not a solution, but I would recommend posting this question in one of the newsgroups of the eclipse community.

news server: news.eclipse.org
group: eclipse.tools.jdt
0
 
LVL 9

Expert Comment

by:mbodewes
ID: 21936786
I've checked my installation and source -> format works like a charm. It does seem that it does automatically save the changes though. Are you sure this is not the reason why you don't see any changes?

Try changing a file so the formatting is "broken" and reformatting everything. If it has changed, everything worked fine.

PS reposted because I saw you're answer was not fully answered in the eclipse.tools.jdt newsgroup (looking in another forum to see how the question fares - me pats myself on the back :).
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Notepad++ search not working 6 1,707
How to debug CodeIgniter (PHP) 7 755
Android studio getdrawable(int) is deprecated 4 213
Online file editor, manager 6 118
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question