Click here to Skip to main content
15,886,597 members
Articles / Mobile Apps / Android
Tip/Trick

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

Rate me:
Please Sign up or sign in to vote.
4.75/5 (5 votes)
9 Apr 2014CPOL1 min read 10.2K   7   1
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:

Image 1

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:

Image 2

License

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


Written By
Founder Across Time & Space
United States United States
I am in the process of morphing from a software developer into a portrayer of Mark Twain. My monologue (or one-man play, entitled "The Adventures of Mark Twain: As Told By Himself" and set in 1896) features Twain giving an overview of his life up till then. The performance includes the relating of interesting experiences and humorous anecdotes from Twain's boyhood and youth, his time as a riverboat pilot, his wild and woolly adventures in the Territory of Nevada and California, and experiences as a writer and world traveler, including recollections of meetings with many of the famous and powerful of the 19th century - royalty, business magnates, fellow authors, as well as intimate glimpses into his home life (his parents, siblings, wife, and children).

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, including a two-volume social and cultural history of the U.S. which covers important events from 1620-2006: http://www.lulu.com/spotlight/blackbirdcraven

Comments and Discussions

 
PraiseThanks Pin
Member 1094654815-Oct-19 3:40
Member 1094654815-Oct-19 3:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.