VS 2010: How can I change the order of the Project Properties>Settings? - vb.net

I have dozens of application settings and I'd like to view them in a different order than they were entered. Is it possible to change the order?
I found the entries in the app.config file, but changing the order there does not make a difference within Visual Studio.

I see what you're trying to do....
Follow these steps.
1). Right click on the Settings.settings file located in the Properties folder of your application.
2). Click "Properties"
3). When the Properties window pops up, select the text for the "full path" of the Settings file, and copy it.
4). Open Notepad.
5). Go to File -> Open in Notepad
6). Paste the previously copied full path to the settings file.
7). The file should look something like this:
8). Re-order the nodes marked "Setting" to put them in the order you wish them to be in. For instance, if you want "Setting" to appear before "Jeremy", change the file to look like this:
9). Save the file. Next time you reopen it, it should be in the order you want.
Alternatively, I would create a prefix for your commonly changed settings, and you can actually sort the list alphabetically by setting key name.

Related

Shortcut for opening the definition file in a split vertical group in vscode

Are there any shortcuts to open the definition (e.g.: a method definition) in a split vertical group? By ctrl + click on the usage of method, it opens in a new tab. It bothers me, because I have to leave my own tab.
(I know that after opening in a new tab, by pressing ctrl + \ it will be open it in a new group, but this also has the same problem: I lose my own tab, and a second problem: when I want to close the definition file, I have to close it from both the 2nd group and the 1st group.)
Are there any shortcuts to open the definition file directly in a new group?
Ctrl+Alt+Click seems to open the definiton file in a split editor.
It'll open to whatever you have this setting:
Workbench > Editor: Open Side By Side Direction // options are right and down
Note that it'll directly open the definiton file in a split editor only if there is a single possible defintion file. For example, you may have both a source and a dist folder with the same files in them (after some task runner commands perhaps). If there is more than one option, vscode will instead open a peek window with the multiple references listed to the right side. You can Ctrl+Click on whichever of those you want to open to the side.

How to sort files by date created in netbeans?

The files right now are arranged alphabetically? How to arrange them by date created?
Unfortunately you cannot sort the files in a directory by date created, but you can sort the files within a directory by several other criteria. To do this:
Click the Files tab.
Expand your project and select the directory to be given a specific sort order.
Right click the directory, and from the context menu select Properties.
In the Properties window click the dropdown list for the Sort Mode property.
Select the criterion to be used from the drop down list. The order in which the files in that directory are to be listed will be immediately updated accordingly.
Click the Close button of the Properties window.
Here is a sample screen shot for the src directory of a simple Java application:
Notes:
You cannot set the sort order for all files globally at the project level. So if you wanted to list all the files in your project in (say) file size order, then you would have to individually set the Sort Mode to By File Size for every directory in the project.
The description for Sort Mode on the Properties screen (as shown in the screen shot above) states "Determines how the objects in the package should be sorted", but that is only meaningful if the directory selected is a package. However, you can still select and sort non-package directories such as nbproject.

Intellij vcs plugin, view changed files AND file changes in the same window

I normally do git diff for this but want to leverage the intellij gui.
The Version Control tab just shows me all the files that changed:
To view the actual changes I have to select a file and choose "Show Diff".
This opens another window. Now from this other window if I want to see changes for another file I have to click this button then open the other file:
I don't like that. Is there a way to have this in the same pane? Where on the left I see a list of the changed files and I just have to select the file to see its changes? Otherwise its very clunky and unusable for being able to see a tree of changed files and selecting the one's changes I want to see
Just found it, I wanted "preview diff"

How can I move up one of the settings in my.settings?

I wanted to move up one of the settings inside my.settings so I can easily view them, for example I wanted to make all database related settings close to one another.
You have two options:
Delete the higher settings to make space and then recreate them.
Hand-edit your *.vbproj project file. It's just a text xml file. You should be able to find where the settings are listed and put them in whatever order you want. I would expect Visual Studio to list them in that order.

How to create a file in a specific directory in Rubymine/PHPStorm/other JetBrains IDEs without leaving the home row

Currently, I am doing the following:
cmd-1 to go to the project structure view
Move to the arrow keys (not on the home row - I want to avoid this step), or, (horrors!) the mouse to navigate to the folder I want to create the file in
ctrl-alt-n to open the new file dialogue, which always created the file in the selected directory
Is there a better way to specify/move to the directory without having to use the arrow keys/mouse so that I can stay on the home row?
I have tried:
Moving to the root of the project structure pane using pageupand typing the name of the directory - this is good, but pageup is way off the home row. Also it often selects the wrong folder (e.g. the one in /spec, not the one in /app) and I can only get to the right one with the arrow keys again. There seems to be no way to type app/controllers as it doesn't process the slash as a directory separator for some reason.
Using the navigation bar via option-pageup, moving all the way left with the left arrow, then either navigating to the right directory with other arrow keys, or using ctrl-alt-n from the roor and typing the full path, but this is also way off the home row and no faster.
Type ⌘+SHIFT+O (or CTRL+SHIFT+N if you are using Linux/Windows keymap) to open the Navigate to file dialog (or hit SHIFT+SHIFT to open the Search Everywhere dialog).
Type the name of the directory you want to create the file in. Note that the directory name must end with / in order for IntelliJ to know that you want to open a directory not a file.
You can type just part of the path, such as webapp/resources/
Hit Enter and the selected directory will be opened in Project view.
Then you can use ⌘+N (ALT+Insert) to create new file as usual.