Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(576)

Unified Diff: docs/android_studio.md

Issue 2871963002: Update android studio doc about formatting commits. (Closed)
Patch Set: Update android studio doc about formatting commits. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/android_studio.md
diff --git a/docs/android_studio.md b/docs/android_studio.md
index 818287983f35a99e970cd11738aa8ea5f45c0f1d..753779c38bc729691cc8b9c1c2e56fb73a110bb9 100644
--- a/docs/android_studio.md
+++ b/docs/android_studio.md
@@ -101,6 +101,13 @@ includes `R.java`).
* Help -> Find Action -> "Show quick documentation on mouse move"
* Turn on line numbers:
* Help -> Find Action -> "Show line numbers"
+* Format changed files (Useful for changes made by running code inspection):
+ * Set up version control
+ * File -> Settings -> Version Control
+ * Add src directories
+ * Commit changes and reformat
+ * Help -> Find Action -> "Commit Changes"
+ * Check "Reformat code" & "Optimize imports" and commit
### Useful Shortcuts
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698