How to hide structure view of files in JetBrain IDE? - jetbrains-ide

Sometimes I think the structure view of files messed up the view in the project explorer, especially when you have many classes or functions in each file. How to hide the structure view?

Right-click on the project button on the left, uncheck Show members.
It saves your eyes on big projects.

Related

how to create layout folder depending on api version?

i want to Create different layout depending api version as follows. Since the default folder layout is already available,when i create new layout as below screenshot it doesnt apppear in android studio folder list under res. but i right click on res and open with explorer those folder does shows. can any one please help me how to create those layout folder.
/res/layout/layout.xml (Default)
/res/layout-v14/layout.xml (Api 19)
/res/layout-v17/layout.xml (API 21)
I think the reason for not seeing the folders is due to the current viewing option you have selected in Android Studio. (please refer to the image below)
When Android is selected the folders are more compact, meaning it will focus on showing a single resource/folder regardless of qualifiers and I think that's what you experience. Switching to Project would solve it however.
This viewing option does have some great benefits by the way, for example I really love how gradle scripts are grouped together and it even shows the Global gradle.properties file (at least on MacOS) which it doesn't in Project view.

Sort project folders in alphabetical order in Sublime Text 3 sidebar?

In the Sublime Text sidebar is there a way to have project folders displayed in alphabetical order, instead of by the order that the folders were added.
This is driving me nuts. I've searched everywhere for this and have given up, but it's so painful.
The contents of side bar folders are displayed in a sorted (lexical) ordering, with all sub-folders brought to the top instead of being in their natural sort position. There is currently no setting available or internal API that allows for changing that.
That said, the ordering of top level folders that you have manually added to your project is entirely under your control and defaults (as you've noticed) to the order that they were added in.
The folders in the sidebar are listed in the order that they're listed in the folders section of the sublime-project file. You can use Project > Edit Project to open your project file and manually reorder the elements in the folders list.
Additionally you can also click and drag the top level folders to change their relative ordering. Doing so causes Sublime to automatically rewrite the project file for you.
If the Project > Edit Project setting is not enabled, you haven't saved the current session as a project yet. In that case there will be no project file until you create one, but you can still drag to reorder the folders.
You can use sublime plugins for this. One that I can think of is SortTabs
In Sublime Text 3, if you have "Project Manager" installed use it to CLEAR RECENT PROJECTS. Then when you look for a project to open with Ctrl-Alt-P, they will be in alphabetic order.
To install "Project Manager" on the menu go to Preferences-Package Control, then click on Install Package. Scroll to find "Project Manager". Click on it to install. Restart Sublime Text. It will be on menu at bottom of Projects.

Unreal development kit export textures

I am not familiar wit UDK tool, bot I have complete source code (Binaries directory, Development directory, Engine directory and UDKGame directory) from one game and I want to export all textures from this project. How is it possible?
In the UDKGame directory of the game should be a directory called Content. Copy all files in that directory to the directory of the same name of an installed version of UDK e.g. C:\UDK\UDK-2013-07\UDKGame\Content.
Start the UDK editor, the easiest way is to use the shortcut in the start menu called "UDK Editor". Open the Content Browser. If it is not already open, click on the black t symbol in the menu bar of the editor. The window of the content browser might be reduced to a little bar.
In the lower left of the Content Browser window, under "Packages", search for the name of the *.upk files you copied to the Content directory earlier. They are like zip files containing the textures among the assets of the game. But only the UDK Editor can view and interact with them.
When you are inspecting a upk/package look for icons with Texture2D written on them, these are textures. Right click on a Texture2d, choose "Export to File...".
If a package appears to be empty right click it and choose "fully load", the UDK Editor might not have it loaded yet.

Team Explorer displaying an incomplete shelveset

In Visual Studio VS2012, I am using Team Explorer to display shelveset details in a file tree form.
I am using the VS TFS source control plug-in.
For some mysterious reason it has a capacity limit on something like the number of files shown. On the screenshot below it just chose to hide two files from my eyes again:
This is easily missed during review if one is used to seeing the whole shelveset most of the time.
One can go to the "All Included Changes" page, but that page is no longer in the file tree form and is considerably more difficult to navigate (it is not possible to expand/collapse on folder level).
The resulting end user experience is quite absurd. Tiny shelvesets where the tree view is only complicating the control are displayed as trees, whereas shelvesets of any non-trivial size are unusable in the tree view.
What is the tool thinking it is doing?
Can I control the capacity limit, so that I can see a slightly larger shelveset in the file tree form somehow?
Can I prevent the incomplete display of shelvesets altogether?
Visual Studio 2013 (pre-release) is either fixed or significantly improved. It can display a shelveset containing 2254 files in the treeview as a charm (VS 2012 Update 3 only showed 156 files out of the same shelveset).

How to place todo reminders in Dreamweaver code

I am coding in Dreamweaver for a change. Is there a way to place reminders in your code, for example in the form of a "todo list"?
I know Eclipse has this option. You can place //TODO before the line of code and the marker is placed in a list. You can view this list at will and conveniently go back to the exact spot later.
After weeks of coding I sometimes forget to take care of certain things. A todo list in the code itself would really help out, anyone know of a method for this in Dreamweaver?
Dreamweaver doesn't have a dedicated interface for viewing TODO items. However, it does have what it calls Design Notes. These notes are stored in *.mno files that are within _notes folders within the folder of the file that has a design note attached to it. These files and folders are only viewable within Dreamweaver if you have Show Hidden files enabled, which you can do by accessing the Files panel options menu on the upper right by clicking on it, then selecting View -> Show hidden files.
You have to turn them on in the site definition, although by default, a Dreamweaver site will have them turned on. The following steps are for Dreamweaver CS4:
Site -> Manage Sites..., Select the site, click Edit, select the Design notes category, check maintain design notes. Next go to the File View Columns category and make sure that the Notes column is displayed. Click OK then Done.
You can also opt to share these design notes, which means the they will be uploaded when you FTP the files to the remote site, so that others that you work with when they download the file (and assuming they also have Design notes enabled and shared), then they will be able to see that a file has a design note associated with it. Note: These *.mno files are plain text and if you your server may be accessible by others, so be sure not to put anything confidential in them.
In the Files panel, right-click on a file that you want to add a TODO item to, select "Design Notes...". In the interface that opens, you can enter in a free form note for the document. Check the Show when file is opened to cause this interface to open when you open up the file you're applying the design note to.
If you switch to the All Info tab, you can add "keyed" notes, that is a note with a name, and an associated value. This open may be good for TODO items.
When you add a design note to a file and you have the Notes column displayed, you should see an icon in the Notes column for any files that have associated notes for. Double clicking this icon will open up the Design Notes UI. This will be a quick way to determine if you have any TODOs in the files that you can see. Note: you won't see this icon for files within folders that are closed.
If you would like to do some searches or listing of files with design notes associated with them, then you can take a look at the Site Reports Design Notes report. Go to Window -> Results -> Site Reports. In the upper right of this panel, click the green arrow. This brings up the Reports interface. Select the appropriate option under Report on, and then check "Design Notes" under Workflow. Don't bother with the report settings....it's supposed to allow for some search/filtering, but I can't get it not to display all files with notes associated with them, perhaps you'll have better luck. Click the Run button and the Site Reports panel should contain a list of files that have design notes associated with them, as well as the design note info for the file. If you double click the entry, then the file will open.
Well, i use to put a simply comment like this below, directly in the php code:
//TODO: something to do here.
When i need to check my todo list, just search in the site by "//TODO:", and voilá, this is my todo list! It works, it's free and well according with KISS requirements.
Try using doxygen to document your code.
anything marks with a #todo, will be put in a special page when you generate documentaion.
Not ideal but the best i can think of.
(I haven't had much experience with dream weaver - it might have the feature you are looking for IDK)

Resources