[JAVA] Defeating Android Studio Part 3-6

Introduction

The know-how for using Android Studio (hereinafter AS) provided by Google is added as a memorandum. This time, let's take a look at the AS settings.

Premise

Part 3: What kind of items are there in the settings?

Select File → Settings,

AS-018.jpg

Click ▶ to pull down the lower menu.

AS-019.jpg

Setting list (2018/08/21 Android Studio Vesion 3.1.4)

plantUML (Please copy and use)


@startuml
salt
{
  {T
	+Setting
	++appearance&Behavior
	+++appearance
	+++Customize
	+++System setting
	++++password
	++++HTTP proxy
	++++update
	++++Usage statistics
	++++Android SDK
	+++File color
	+++scope
	+++notification
	+++Quick list
	+++Path variable
	++Keymap
	++Editor
	+++General
	++++Automatic import
	++++Editor tab
	++++Garter icon
	++++console
	++++Cord folding
	++++Code completion
	++++Smart key
	++++Breadcrumb trail
	++++appearance
	++++Post-complement
	+++font
	+++Color scheme switching
	++++General
	++++Language default
	++++Color scheme font
	++++Console font
	++++Diff & Merge
	++++VCS
	++++custom
	++++Console color
	++++Debugger
	++++C/C++
	++++Java
	++++Android Logcat
	++++Groovy
	++++HTML
	++++JSON
	++++Kotlin
	++++Regular expressions
	++++XML
	++++YAML
	++++Properties
	++++Scope base
	+++Code style
	++++C/C++
	++++Groovy
	++++HTML
	++++Java
	++++JSON
	++++Kotln
	++++Properties
	++++XML
	++++YAML
	++++Other file types
	+++inspection
	+++Files and code templates
	+++File encoding
	+++Live template
	+++File type
	+++Layout editor
	+++Copyright
	++++Copyright profile
	++++format
	+++++Groovy
	+++++HTML
	+++++Java
	+++++Kotlin
	+++++Properties
	+++++SPI
	+++++XML
	+++Emmet
	+++TODO
	+++image
	+++Intention
	+++spell
	+++Data binding
	+++Language injection
	++++Expansion
	++Plugin
	++version control
	+++Background
	+++Changelist conflict
	+++Commit dialog
	+++Verification
	+++GitHub
	+++Ignored files
	+++Problem navigation
	+++Shelf
	+++File state color
	+++CVS
	+++Git
	+++Mercurial
	+++Subversion
	++++display
	++++network
	++++SSH
	++Build, run, deploy
	+++Gradle
	++++Android Studio
	++++experimental
	+++Debugger
	++++Data view
	+++++Java
	+++++Java type renderer
	+++++Kotlin
	++++Step
	++++Hot swap
	++++Asynchronous stack trace
	+++Remote jar repository
	+++Espresso test recorder
	+++Instant run
	+++coverage
	+++compiler
	+++Required plugin
	++Languages & frameworks
	+++Schema and DTD
	++++Default XML schema
	++++XML catalog
	++++JSON schema
	+++Kotlin Updates
	+++Template data language
	++tool
	+++Web browser
	+++External tools
	+++Terminal
	+++Server certificate
	+++task
	++++server
	+++Diff & Merge
	++++External diff tool
	+++Configuration repository
	+++Start task
	++kotlin compiler
  }
}

@enduml

Setting list tree

AndroidStudioSetting.png There are many setting items. For the time being, let's narrow down to the minimum setting items necessary to create a program!

Part 4: Display the line number in the editor

Select Project Window → feature → Java → com.google.android.instanapps.samples.hello.feature → HelloActivity

AS-020.jpg I displayed the Java source in the editor. The line number is not yet displayed in the editor.

File-> Settings-> Editor-> General-> Appearance-> Check line number display-> OK button

AS-021.jpg

The line number is displayed in the editor.

AS-022.jpg

Part 5: Where are the settings?

The setting directory of Android Studio is as follows.

C:\Users\User name\.AndroidStudio3.1\config

If you want to tinker with the settings, we recommend backing up this config folder. If you want to restore it, you can overwrite it completely.

Part 6: Where is the definition of the settings directory?

The following files in the bin of the installation directory.

C:\Program Files\Android\Android Studio\bin\idea.properties

Describes the default value. It is designed so that you can specify a directory by removing # from the line commented with #. AS-023.jpg

Continue to the next section ...

That's all, Osomatsu

Recommended Posts

Defeating Android Studio Part 3-6
Defeating Android Studio Part 1 & Part 2
Beginners try using android studio Part 2 (event processing)
Beginners try using android studio Part 1 (Hello World)
Notes in Android studio
[Android studio (version 4.0)] Until project creation
Android Studio data binding study summary
Automatically insert `@SuppressWarnings` in Android Studio
OkHttp3 (GET, POST) in Android Studio
[Android Studio] [Java] Learning memos & links
Problems with android studio development series
Reintroducing Java 8 available from Android Studio 2.4
Android Studio JRE cannot be changed
Make an executable jar using Android Studio
Android Studio Shortcut Keys (Mac OS X 10.5+)
Face recognition app with OpenCV + Android Studio
Android Studio bulk comment out method memo
Screen transition by [Android Studio] [Java] button
Make Log of Android Studio / Xcode convenient
Java to C and C to Java in Android Studio
I have a question about Android studio.
How to use ExpandableListView in Android Studio