Click here to Skip to main content
Click here to Skip to main content

How to Effortlessly become a Historian, Archaeologist, and Forensic Technician (with your Android code)

, 9 Apr 2014 CPOL
Rate this:
Please Sign up or sign in to vote.
How to View Every Change You've Ever Made to a File in Droidio With No Setup

Droidio to the Rescue!

This is a very short and simple tip, but it is valuable enough to deserve a place in CodeProject's illustrious archives.

When using Droidio (Android Studio), you can see every change you've ever made to the file with which you're currently working by clicking in that file (such as MainActivity.java) and selecting "Local History > Show History" from the context menu.

You will be rewarded with a window showing every change you've made, and color-coded to boot, to indicate whether you deleted (grey), or changed (blue), or inserted (green) the code in question, with the previous version of the code on the left, and the current version of the code on the right:

You can, of course, do all this with fancy-pants version control systems, but these usually require setup and lots of hand-wringing and mind-numbing arcana (IOW, they can be a pain in the Dapple). Droidio makes this "poor man's version control" as easy as pie. It's not really version control per se, but it is "code change examination" that is accomplished with absolutely no effort, or need to remember, anything, or even explicitly save the code - it just happens; it just works!

Hats off to the cats behind Droidio for this!

But this is not all - if you just want to quickly see recent changes of your work, take note of this tip (tips are shown when you start Droidio, until (and if) you opt out of them displaying:

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

B. Clay Shannon
Founder "Across Time & Space"
United States United States
Ideaman and Coder at Across Time & Space, creator of the Windows Store App "Photrax", which can be downloaded as a trial (7 days) from http://apps.microsoft.com/windows/en-us/app/photrax/75c18e6c-96bd-4607-ac43-531aab098ab4
 
Peripatetic and picaresque, I have lived in eight states; specifically, besides my native California (where I was born and where I now again reside) in chronological order: New York, Montana, Alaska, Oklahoma, Wisconsin, Idaho, and Missouri.
 
I am also a writer of both fiction (for which I use a nom de plume, "Blackbird Crow Raven", as a nod to my Native American heritage - I am "½ Cowboy, ½ Indian") and nonfiction: http://www.lulu.com/spotlight/blackbirdcraven
Follow on   Twitter   Google+   LinkedIn

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150224.1 | Last Updated 9 Apr 2014
Article Copyright 2014 by B. Clay Shannon
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid