Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse - I'm looking for View. Show me files modified today

Tags:

java

eclipse

I'm looking for some View in eclipse, which show me modified files by me today. I have many projects, and naturally i can use SVN but I would like somethin easy. Any view can do this requirments ?

like image 799
chris Avatar asked Nov 07 '10 18:11

chris


People also ask

How do I find modified files in Eclipse?

In the Pending Changes view, right-click a component or workspace that includes the file or folder and click Show Repository Files to open a Repository Files view that lists all of the projects in the selected component or workspace. Right-click a file or folder in the project and click Show History.

How do I fix an Eclipse error?

From the main menu, select Window > Show view > Other. Then select General > Error Log. The error log is displayed, showing the following information for each error: The status of the error (for example, error or warning)

Why suggestions are not showing in Eclipse?

Step 1: Open your Eclipse or Spring Tool Suite, then go to the Window > Preferences as shown in the below image. Step 2: In the next screen go to the Java > Editor > Content Assist > Auto activation triggers for Java as shown in the below image.


2 Answers

AFAIK, there is no specific view that does that, but, you can use an external tool for that matter. If you are on a Unix box (Linux/OS X), the following command will look for files under the current directory which were modified in the last 24 hours:

find . -mtime -1 -print

On Windows, you might want to use cygwin or find an alternative command.

To define the command:

  1. Go to Run menu → External Tools → External Tools Configuration
  2. Create a new program execution configuration.
  3. In location enter the find command path (/usr/bin/find) and in arguments enter: ${selected_resource_loc} -mtime -1 -print
  4. Save your configuration.

In the arguments, you are telling Eclipse to enter the selected resource location as the search directory. Now, you can select a folder or file, and run the configuration from the External Tools button in the toolbar (green arrow with red toolbox icon).

like image 76
zvikico Avatar answered Sep 19 '22 11:09

zvikico


Right Click on Project-> Restore from Local History.. this is closer answer to your question, I can not think anything that answers your question.

like image 27
Adisesha Avatar answered Sep 19 '22 11:09

Adisesha