editor - Android Studio Collapse definitions and methods -


how can collapse definitions , methods within android studio editor?

visual studio has option on edit-->outlining, cannot find similar feature in android studio. sure feature exists.

how can access android studio's outlining feature?

it called folding in android studio.

first make sure enabled in config (it should default). go file -> settings, under ide settings area find editor -> code folding, check show code folding outline.

to collapse/expand items use code -> folding menu.

edit:
customize keyboard shortcuts these open settings (file -> settings) select keymap under ide settings. type folding search box (top right). setup keyboard shortcut various folding actions :)


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -