Is there a way to open a file in the current tab that is open, rather than opening it in a new tab every time? I'm essentially looking for navigation behavior more similar to Xcode, where the files opened are kept on a navigation stack so I can move backward/forward between files that were open in the same tab. The default in Android studio appears to be that every new file is opened in a new tab.
I only ask because I'm the type that prefers to explicitly manage what tabs are open, and not have to close tabs after a quick glance at a file.
Thanks!
Under File > Settings > Editor > General > Editor Tabs
set Tab Limit
to 1
Even though it's an old question I believe more accurate answer is:
File > Settings > Editor > General > Editor Tabs
Select checkbox at the bottom
Open declaration source in the same tab
This way the source file will replace the current tab while navigating through declarations. Besides you still get to keep other tabs open. No need to limit number of tabs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With