visual-studio-code - VS Code 在 ech CSS 保存时要求输入密码

标签 visual-studio-code

我已经使用 VS Code 好几个月了。最近,每次我保存对 html 或 css 样式表的更改时,都会要求我输入密码:

[localhost]:输入您的密码(按“Enter”确认或“ESC”取消)

我花了很长时间试图阻止它,但没有运气。

最佳答案

问题出在 SFTP 扩展中。
要解决此问题,请打开 sftp.json配置文件(例如:ctrl + shift + P 'SFTP: Config')并找到默认行"uploadOnSave": true .
将其值更改为 false .

关于visual-studio-code - VS Code 在 ech CSS 保存时要求输入密码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60020523/

相关文章:

python - VS Code 无法识别 Pulumi 和 Pulumi Azure Native

vue.js - 如何让 ESLint 在 Visual Studio Code 中正确格式化和检查规则?

visual-studio-code - 在 Visual Studio Code 中移动 Rust 的下划线位置

java - 如何修复 "{"名称“:"error","attributes": {"message" :"Exception happens in the Test Runner." in VS code

git - 我应该 checkin VS Code 开发容器文件吗?例如,.devcontainer 文件夹或 .devcontainer.json 文件?

python - vscode远程容器中的自动完成python

javascript - VScode HTML 标签没有结束标记

visual-studio-code - 如何关闭 “extension recommendations”通知?

python - mypy vs mypy-lang vs pyls-mypy python包之间的区别

python-3.x - VS-Code Python 调试 - ConnectionRefusedError : [WinError 10061] No connection could be made because the target machine actively refused it