settings
Visual Studio 2022 how to turn off the new Git experience
According to Git for Visual Studio 2019, “The new Git experience is the default version control system in Visual Studio 2019 from version 16.8 onwards. However, if you want to turn it off, you can. Go to Tools > Options > Environment > Preview Features and then toggle the New Git user experience checkbox, which … Read more
How to programatically open Settings/Preferences window in a macOS SwiftUI App
By inspecting the app menu, I found this solution: NSApp.sendAction(Selector((“showPreferencesWindow:”)), to: nil, from: nil) I assume that it may not pass App Review for using a private API, though, so less shady alternatives are still welcome. Update: This has actually passed App Review, so I had marked it as the answer. Update 2: For a … Read more
ConfigObj/ConfigParser vs. using YAML for Python settings file
It depends on what you want to store in your config files and how you use them If you do round tripping (yaml→code→yaml) and want comments preserved you cannot use PyYAML or ConfigParser. If you want to preserve the order of your keys (e.g. when you check in your config files), PyYAML doesn’t do that … Read more
Visual Studio: Set default startup project
From Arian Kulp’s site, the way to change the default startup project for a solution is to edit the .sln file. You’ll see some Project and EndProject lines. The first Project listed will be the default startup project, so just move the one you want to the top.
Visual Studio open files question
Simply delete the .suo file. It contains the list of open files.
Visual Studio Code – Can “OPEN EDITORS” panel be sorted?
Update 2020-12-16 With release v1.52.0 being shipped you can sort open editors. From the release notes: There is a new setting explorer.openEditors.sortOrder to control the sort order in the OPEN EDITORS list. The values are: editorOrder – Editors are listed in the same order as editor tabs are shown (default). alphabetical – Editors are listed … Read more