Expand all entries in tree with one click - android-studio

Everytime reopen my android studio project all entries of the left tree get closed.How to avoid that / or open them with one click instead of open one by one?
Directly show:
Instead of:

Open the selected file and Use "Scroll from Source" to directly navigate to the required file

Another way to expand entire directory structure is to click/select any folder from where you want to expand the sub directories and click-hold right arrow button, this will do the job.

You can click on the item you want to expand and press number pad's * button. This will expand all the folders in that level of the tree. Any sub folders will need to be expanded though. Answer from here.

Best way is to go to Android Studio Preferences and search for Fully Expand Tree Node. There you can either add abbreviation specific to you or new shortcut. Usually you select package you want to expand and search with double pressing Shift then you hit it or use that shortcut and every sub directory or package will get expanded. There is no delay its instant.

Related

Is it possible to split windows without showing tabs in the middle?

If I split the IDE into 2 sides, the tab list is duplicated. Is there any way to hide the one in the middle of the screen, to save space and make it easier to compare the 2 files?
Sure. I can see a few possible options actually.
1. Use more appropriate Compare Files functionality: look for Compare with... action in the context menu.
For example:
Locate and select 2 files in the Project View, use context menu and choose Compare Files action.
... or select one file and use Compare with... -- now point to the 2nd file via file chooser dialog.
... or copy contents of one of the files into the Clipboard and then use Compare with Clipboard... in your Editor context menu (currently opened file).
NOTE: You can edit/merge files in Differences Viewer screen; when you exit it the changes will remain until auto-save or manual Save is called.
2. Do not display list of the opened tabs on the right side: put it at the top/bottom or temporarily hide it completely (until you are done with your comparing task).
You can change the tabs position quickly at any time via Help | Find Action... (or Search Everywhere via Shift + Shift) and search for tab placement -- it can then be changed right from there without the need to go into the Settings/Preferences screen (use the appropriate ON/OFF toggle).

Sublime Text 3 Project

I am trying to use sublime for editing and making rainmeter skins, I have installed a plugin that recognizes rainmeter code nice.
In my code I have an #include=\somelocation...
at that location the file has things like colour=something
In the actual file being loaded fontColor=#colour#
How do I get it so that if I change the name of colour inside the location file it would update everywhere else?
You can use the Find in Files... functionality, located in the Find menu. In the Find: box, enter what you'd like to look for (the buttons to the left allow you to search by regex, respect capitalization, and other options - just mouse over for a description). In the Where: box, enter where you'd like to search. If nothing is entered, the search will run in all open files and folders. Click on the ... button for some extra options. Finally, enter what you'd like to replace the found values with (if anything, you can also use this dialog to simply search files).
Clicking Find will first perform the search for you, so you can verify its results. Clicking Replace will do all the replacements.

VS2012: Ctrl+F now synchronizes with Ctrl+Shft+F

In Visual Studio 2012, I want different context for Ctrl+F and Ctrl+Shift+F. However, when I enter data in the Ctrl+F dialog (in the upper right corner of the text editor), it synchronizes that information to the dialog shown by Ctrl+Shift+F. I don't want that. I want Ctrl+Shift+F to do a search in the Entire Solution for now and forever. How can I disconnect these dialogs? I'm using Resharper 7.1 and VSCommands11, if that changes things.
(And why does Ctrl+F take three seconds to show the dialog in the upper right corner? It bugs me when I press Ctrl+F and start typing only to find that it changes my source file.)
Open the options-window. (Tools->Options). In the tree on the left side select Environmend->Keyboard. There are two entries relevant for you:
Edit.Find is for the Search-Box at the right upper corner (Ctrl+F)
Edit.FindinFiles is for the SearchDialog (Ctrl+Shift+F)
Maybe any of your VisualStudio-Extension has set these Commands to other commands.
In my studio both searches are separated from each other. If I set Entire Solution in the Ctrl+Shif+F-Dialog, that does not affect the Ctrl+F-Dialog
Please try this: Tools/Options/Environment/Keyboard > click reset button

How to force IntelliJ to always search in "Whole Project"

I like to use the Find in Path function CTRL+SHIFT+F, that searches for text strings in several files.
One thing I often run into though, is that I search for something that I know exists in at least one file, I get zero results or I find just some of the files that contain the search term.
Then I realise that the Scope setting in the Find Dialog box has been set to Module or Directory for some reason rather that "Whole project" which is what I almost always want.
What fools me here is that this only seems to happen occasionally - often I'll have the scope set to Whole project like I want to, but sometimes it will be something else.
How does IntelliJ decide which scope to use?
Also, is there some setting that can be used to force IntelliJ to always select "Whole project" as the default?
Just collapse the project tab before: Command + 1 or Alt + 1
The default selection depends on the context which launched the search. If you have the project tab open with a folder/file selected it will search in that folder or the parent of that file.
To search by default just close that panel (this will make the context be the whole project) and press the search shortcut and it will be scope properly.
Not really a solution, but how to avoid using the mouse for this:
When the dialog is open, press Alth before pressing enter. This will cause the scope to be set to Whole project.

How do I open a new tab when searching in Aptana Studio 3?

Kind of a newbie question.
Sometimes I use the project-wide search feature, and my search results appear listed in the window below, along with the related hierarchy placement.
Let's say I double click a file. It opens. Fine.
However, if I double-click again on another file in the search results window, it will replace the file I just opened. It's impossible for me to open multiple search results, short of manually opening them from the project view.
It wasn't always this way - it worked when I first installed the program, but something changed about three days in and I can't do it anymore.
Thanks!
Go to Preferences > General > Search and uncheck Reuse editors to show matches.

Resources