microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.42k stars 29.33k forks source link

Add "Reload" option to File menu #179083

Closed balaji-sivasakthi closed 1 year ago

balaji-sivasakthi commented 1 year ago

I would like to request the addition of a "Reload" option to the Window menu in VS Code. Currently, the only way to reload the entire VS Code window is to use the keyboard shortcut "Ctrl/Cmd+Shift+P" and then search for "Reload Window". Adding a "Reload" option to the Window menu would make this action more discoverable and easier to access.

I believe this feature would be valuable because it would allow users to quickly reload the entire VS Code window without having to navigate to the command palette. This would save time and improve the overall user experience.

Kathund commented 1 year ago

Code_-_Insiders_2sZ0Ayawm6

This i think is what your talking about because it migth already be a thing

balaji-sivasakthi commented 1 year ago

@Kathund No, I'm talking about reload the entire application.

balaji-sivasakthi commented 1 year ago

I believe this feature would be valuable because it would allow users to quickly reload the entire VS Code window without having to navigate to the command palette. This would save time and improve the overall user experience.

Screenshot (65) Screenshot (66)

Kathund commented 1 year ago

@balaji-sivasakthi

@Kathund No, I'm talking about when we need to reload the entire application.

Ah thanks for confirming i was thinking off something different.

Theres currently no button to do it as you stated. I think that the best location will be a option when you select settings but untill then you can bind it to something in the keyboard shortcuts by binding @command:workbench.action.reloadWindow to something (see atached image) This is the only other way to reload it with out using the command pallet (CTRL/CMMD+Shift+P)

Code_-_Insiders_7AMeJj3FpU

Hope this helps you

balaji-sivasakthi commented 1 year ago

@Kathund Thank you for your suggestion! While creating a custom keyboard shortcut is a good option for experienced users who prefer using keyboard shortcuts, newcomers to VS Code might not know about this feature. Adding a 'Reload' option to a menu or toolbar could make the feature more discoverable for all users, regardless of their level of experience with VS Code. In the meantime, new users can learn about the keyboard shortcut by checking the keyboard shortcuts documentation in VS Code or by searching online. Thank you again for your contribution to the discussion!

Kathund commented 1 year ago

@Kathund Thank you for your suggestion! While creating a custom keyboard shortcut is a good option for experienced users who prefer using keyboard shortcuts, newcomers to VS Code might not know about this feature. Adding a 'Reload' option to a menu or toolbar could make the feature more discoverable for all users, regardless of their level of experience with VS Code. In the meantime, new users can learn about the keyboard shortcut by checking the keyboard shortcuts documentation in VS Code or by searching online. Thank you again for your contribution to the discussion!

If i find some time i will try and work on it 👍

balaji-sivasakthi commented 1 year ago

@bpasero I'm also intrested to work on this feature. Could you assign it to me?

vscodenpa commented 1 year ago

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

vscodenpa commented 1 year ago

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

r3m0t commented 1 year ago

You only need to reload the window if you encounter a bug in VS Code, in an extension, or you just installed/updated am extension.

In that case there's already a button in the Extensions panel and in a notification.

Why are you reloading the window so often?

balaji-sivasakthi commented 1 year ago

@r3m0t You are correct that in certain situations, such as encountering a bug in VS Code or an extension, or installing/updating an extension, a "Reload" button may already be available in the Extensions panel or in a notification prompt. However, there are scenarios where users may still need to manually trigger a window reload in VS Code.

For example, if an extension or VS Code itself prompts for a reload, but the user closes the prompt without clicking on the "Reload" button, or if the user has notifications disabled, they may need an alternative way to trigger a window reload. In such cases, having a "Reload" option in the Window menu or toolbar can provide an additional and more discoverable method to perform the necessary reload action.

Furthermore, as mentioned before, some users may not be aware of the existing "Reload" button in the Extensions panel or notifications, or they may be new to VS Code and not yet familiar with these features. Having a "Reload" option in the Window menu or toolbar can make the feature more easily accessible for all users, including those who may not be aware of other methods like keyboard shortcuts or command palette searches.

While window reloads may not be needed frequently in day-to-day usage, having a visible and easily accessible "Reload" option in the Window menu or toolbar can provide a convenient solution for users who encounter situations where a manual window reload is necessary. Thank you for bringing up this point, and I hope this provides further clarity on the rationale behind the suggestion for a "Reload" option in VS Code!