- Visual Studio: Reset Window Layout
- Reset VS Windows to Default
- Reset VS Windows to Presets
- You Might Also Like
- Reader Interactions
- Comments
- Did this help? Let us know! Cancel reply
- Primary Sidebar
- Recent Posts
- Who’s Behind Technipages?
- /ResetSettings (devenv.exe) /ResetSettings (devenv.exe)
- Синтаксис Syntax
- Аргументы Arguments
- Комментарии Remarks
- Пример Example
- Как сбросить настройки в Visual Studio Code?
- Visual studio reset windows
- Asked by:
- Question
- All replies
- Visual studio reset windows
- Asked by:
- Question
- All replies
Visual Studio: Reset Window Layout
Posted on January 23, 2020 by Mitch Bartlett 1 Comment
Throughout the development process we move windows in Visual Studio, delete them, and add them. Sometimes it can get messy to the point where it’s best to just reset the window layout. You can do so with these steps.
Reset VS Windows to Default
Select the “Window” menu and choose “Reset Windows Layout“.
Reset VS Windows to Presets
If you have saved a window layout and wish to revert back to that layout, select the “Window” menu, choose “Apply Window Layout“, then select the layout you wish to revert to.
You Might Also Like
Reader Interactions
Comments
VS 2019 – How do I set a windows DEFAULT layout which will always appear when I start VS? Some suggest naming it My Default, but that does not work.
Did this help? Let us know! Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Primary Sidebar
Recent Posts
Who’s Behind Technipages?
My name is Mitch Bartlett. I’ve been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.
Follow me on Twitter, or visit my personal blog.
/ResetSettings (devenv.exe) /ResetSettings (devenv.exe)
Восстанавливает параметры по умолчанию Visual Studio и автоматически запускает интегрированную среду разработки Visual Studio. Restores Visual Studio default settings and automatically launches the Visual Studio IDE. При необходимости выполняет сброс параметров в соответствии с указанным файлом параметров. This switch optionally resets the settings to a specified settings file.
Параметры определяются профилем, который был выбран при первом запуске Visual Studio. The default settings come from the profile that was selected when Visual Studio was first launched.
Дополнительные сведения о сбросе параметров с помощью интегрированной среды разработки (IDE) см. в разделе Сброс параметров. To learn how to reset settings using the integrated development environment (IDE), see Reset settings.
Синтаксис Syntax
Аргументы Arguments
Необязательный параметр. Optional. Полный путь и имя файла параметров, применяемого к Visual Studio. The full path and name of the settings file to apply to Visual Studio.
Необязательный параметр. Optional. Описатель, представляющий коллекцию параметров для восстановления по умолчанию. A specifier representing a default collection of settings to restore. Выберите один из перечисленных в таблице описателей коллекции по умолчанию. Choose one of the default collection specifiers listed in the table.
Имя коллекции по умолчанию Default collection name | Описатель коллекции Collection specifier |
---|---|
ОбщиеGeneral | General |
JavaScriptJavaScript | JavaScript |
Visual BasicVisual Basic | VB |
Visual C#Visual C# | CSharp |
Visual C++Visual C++ | VC |
Веб-разработкаWeb Development | Web |
Веб-разработка (только код)Web Development (Code Only) | WebCode |
Комментарии Remarks
Если файл SettingsFile не указан, интегрированная среда разработки открывается с использованием существующих параметров. If no SettingsFile is specified, the IDE opens using the existing settings.
Пример Example
Первый пример применяет параметры, сохраненные в файле MySettings.vssettings . The first example applies the settings stored in the file MySettings.vssettings .
Второй пример восстанавливает профиль Visual C# по умолчанию. The second example restores the Visual C# default profile.
Как сбросить настройки в Visual Studio Code?
Это простая вещь, и я был уверен, что она хорошо описана, но, на удивление, это не так очевидно.
Здесь я нашел подробное описание файла настроек. Как говорится, это должен быть setting.json файл %APPDATA%\Code\User\settings.json , но в моем случае его там нет.
Может ли кто-нибудь помочь мне с восстановлением настроек по умолчанию в Visual Studio Code? Я случайно спрятал панель меню и не могу найти способ ее вернуть.
Вы можете вернуться в свое меню, нажав / удерживая alt , затем вы можете снова включить меню через меню «Просмотр».
Что касается ваших настроек, вы можете открыть свои пользовательские настройки через палитру команд:
- Нажмите F1
- Тип user settings
- Нажмите enter
Щелкните значок «лист», чтобы открыть файл settings.json:
Оттуда вы можете удалить содержимое файла и сохранить его, чтобы сбросить настройки.
Для более ручного маршрута файлы настроек находятся в следующих местах :
- Windows %APPDATA%\Code\User\settings.json
- macOS $HOME/Library/Application Support/Code/User/settings.json
- Linux $HOME/.config/Code/User/settings.json
Расширения расположены в следующих местах :
- Windows %USERPROFILE%\.vscode\extensions
- macOS
Если вы хотите все сбросить, перейдите %userprofile%\AppData\Roaming\Code и удалите всю папку после удаления кода VS, а затем установите его снова.
Также в %userprofile%\.vscode папке удаления расширений, если вы хотите удалить все расширения.
Если вы хотите начать все сначала, удаление settings.json файла из профиля вашего пользователя поможет.
Но если вы не хотите все сбрасывать, это все еще возможно через меню настроек.
Вы можете найти настройку, которую хотите вернуть, с помощью окна поиска.
Вы увидите некоторые настройки с левой синей линией , это означает, что вы изменили их.
Если навести курсор на эту настройку, появится кнопка с шестеренкой. Вы можете щелкнуть по нему, чтобы восстановить эту настройку.
Вы также можете использовать раскрывающийся список под этим параметром и изменить его на значение по умолчанию.
Visual studio reset windows
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Asked by:
Question
I’ve tweaked lots of settings in my installment of Visual Studio. I’ve tried reinstalling, repairing and resetting my settings at the Tools->Import Export Settings Visual Studio 2017 and it still has my settings. An example would be the Dark Theme or the capital letters at the top. I guess that my settings haven’t been completely overwritten and reseted . Although, I remember that when I reinstalled Visual Studio and opened it for the 1st time it showed the default Visual Studio settings (white theme, no recent files, everything clean) but after 3 to 4 seconds everything went back as I had before reinstalling Visual Studio (dark theme, recent files list full, etc). Is there any way of actually resetting every setting?
This is how I want my Visual Studio installment to be: https://i.imgur.com/nyfdJOK.png
This is how it actually is: https://i.imgur.com/vD2KQC0.png
All replies
Welcome to the MSDN forum.
According to your description, you want to clear the recent project and restore the color theme, right?
After I execute Reset all settings (click Tools ->Import and Export Settings…), the color theme and the recent project was not affected. Based on my understanding, “Reset all settings” is reset all environment settings of the default collection of settings, maybe the color theme and recent project is not included in the default collection of settings. So, it’s not revert.
For the color theme, please manually to change it.
For the recent project, please click Start->Developer Command Prompt for VS-> type “devenv.exe /Resetuserdata”, clear the data of the user.
And, you could install Clear Recent extension, click File -> Recent Projects and Solutions -> Clear all, clear the recent project.
In addition, if you want to report this issue, you could post the feedback in the following link:
Microsoft engineers will evaluate them seriously.
Visual studio reset windows
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Asked by:
Question
I’ve tweaked lots of settings in my installment of Visual Studio. I’ve tried reinstalling, repairing and resetting my settings at the Tools->Import Export Settings Visual Studio 2017 and it still has my settings. An example would be the Dark Theme or the capital letters at the top. I guess that my settings haven’t been completely overwritten and reseted . Although, I remember that when I reinstalled Visual Studio and opened it for the 1st time it showed the default Visual Studio settings (white theme, no recent files, everything clean) but after 3 to 4 seconds everything went back as I had before reinstalling Visual Studio (dark theme, recent files list full, etc). Is there any way of actually resetting every setting?
This is how I want my Visual Studio installment to be: https://i.imgur.com/nyfdJOK.png
This is how it actually is: https://i.imgur.com/vD2KQC0.png
All replies
Welcome to the MSDN forum.
According to your description, you want to clear the recent project and restore the color theme, right?
After I execute Reset all settings (click Tools ->Import and Export Settings…), the color theme and the recent project was not affected. Based on my understanding, “Reset all settings” is reset all environment settings of the default collection of settings, maybe the color theme and recent project is not included in the default collection of settings. So, it’s not revert.
For the color theme, please manually to change it.
For the recent project, please click Start->Developer Command Prompt for VS-> type “devenv.exe /Resetuserdata”, clear the data of the user.
And, you could install Clear Recent extension, click File -> Recent Projects and Solutions -> Clear all, clear the recent project.
In addition, if you want to report this issue, you could post the feedback in the following link:
Microsoft engineers will evaluate them seriously.