是否有visual studio自動保存配置設置? (Is there a visual studio automatic save configuration setting?)


問題描述

是否有visual studio自動保存配置設置? (Is there a visual studio automatic save configuration setting?)

I use the java IDE IntelliJ IDEA and one of the features I like is that there's no saving.  Everything's always saved and you just use history navigation.  I tend to have both editors open and I'm always forgetting to save in VS.

I'm running vs 2008 with resharper 4.5 but as far as I can tell this isn't achievable or configurable. Any suggestions?

‑‑‑‑‑

參考解法

方法 1:

For VS 2019, the Auto Save File extension seems to work as expected.

It saves individual files on lost focus, can save all files when VS loses focus and can also save all after an inactivity delay.

In VS 2015, I used to use NoMorePanicSave2015.

It does an equivalent of Ctrl+Shift+S when Visual Studio loses focus, which saves all your files, including solution and projects.

方法 2:

Another plugin: CBAutoSave

  

This extension can automatically save modified documents, projects, and the solution whenever Visual Studio loses focus.

     

Saving of modified documents is on by default, while automatically saving projects and the solution is not.  All options are configurable through the Visual Studio options dialog.

方法 3:

In VS2017/19 Community there is Auto‑Recover option under tools‑>options‑>autorecover. It will not autosave unless there is a crash, so it may be a good compromise.

In VS2019 its under tools‑>Options‑>Environment‑AutoRecover.

how‑to‑auto‑save‑work‑on‑visual‑studio

方法 4:

Visual Studio 2008 will probably be the same:

http://www.howtogeek.com/howto/programming/configure‑autosave‑autorecovery‑of‑crashed‑projects‑in‑visual‑studio‑2005/

However, it's not "no saving" but you can set it down to 1 minute.

方法 5:

There is an autosave, but I must admit that it doesn't seem to always work for me ‑ notably I suspect that it only saves files, but not projects/solutions, or the .user and .suo files. I don't have any links to prove this mind you.

(by DanielMichael KonečnýgregmacestinamirjasonhBenjol)

參考文件

  1. Is there a visual studio automatic save configuration setting? (CC BY‑SA 3.0/4.0)

#autosave #visual-studio #visual-studio-2008 #resharper






相關問題

保存 NSDocument 時收到通知 (Get notified when NSDocument is saved)

忽略差異中的Emacs自動生成的文件 (Ignore Emacs auto-generated files in a diff)

如何在 OSX 應用程序中恢復窗口位置? (How to restore window position in an OSX application?)

使用沒有保存按鈕的 Symfony 爬蟲發送表單(自動保存功能) (send form with Symfony crawler without save button (autosave function))

如何在 NumericTextbox Kendo UI 滾動條中觸發自動保存 (How to trigger autosave in a NumericTextbox Kendo UI Scrollbars)

自動保存草稿的最佳做法? (Best practices for autosaving drafts?)

如何在 iPhone 應用程序上存儲多個帳戶的用戶登錄詳細信息(用戶、密碼) (How to store user Login details(user, pass) for multiple accounts on iPhone app)

從 OSX lion 上的版本瀏覽器恢復不起作用...想法? (Restoring from versions browser on OSX lion not working... ideas?)

是否有visual studio自動保存配置設置? (Is there a visual studio automatic save configuration setting?)

用戶退出應用程序時在 MapKit 中存儲註釋 (Store annotations in MapKit when user quit application)

Umbraco 全部內容自動保存 (Umbraco Whole Content Autosaving)

是否有使用 MVC 架構(asp.net、c#、jquery、ajax)自動保存冗長 Web 表單數據的 API/解決方案 (Is there an API/ solution for Auto-saving data of lengthy web forms using MVC architecture (asp.net,c#,jquery,ajax))







留言討論