Visual Studio, Application Settings... rearrange
Silly questions... purely aesthetic... given the picture above. How do you move the values up/down? For example, State belongs grouped with Height/Width/Top/Left (Window Position + state).
Not the only project wher开发者_如何学JAVAe I later add stuff and it slowly gets out of order. Can delete/re-add, but that gets tedious and error prone. Can just leave it as is, but it's a minor annoyance.
Am I totally not seeting the setting somewhere to move the stuff around, because I've looked and I just don't see it.
Close the solution. Open the project's Properties\Settings.settings file and re-arrange the <Setting>
items. You'll get them back listed in the Settings Designer in the order in which they are listed in that file.
As the other answers indicate you need to edit the sequence of the entries in the Properties\Settings.settings file. You do not need to close VS, just close the Properties tab if it is open.
Also this will not re-arrange the XML entries in you .config file. For that you need to re-arrange the entries in your app.config file, that is created in your root project folder.
Both files are simple XML based files.
You can't move things around in that screen. It's loaded and saved by the "natural" order. Meaning that new things are placed at the bottom.
精彩评论