我在64位PC上使用Windows 10.最近,我开始在Windows上使用VS Code和Ubuntu Bash.一切都很好,除了linting.我试图让它与pylint和pep8一起使用,但它们都没有用.我认为这个问题是由于棉绒的位置造成的.但是,我无法弄清楚如何解决问题.您可以检查我的pylint设置:
// Whether to lint Python files using pylint.
"python.linting.pylintEnabled": true,
// Severity of Pylint message type 'Convention/C'.
"python.linting.pylintCategorySeverity.convention": "Information",
// Severity of Pylint message type 'Refactor/R'.
"python.linting.pylintCategorySeverity.refactor": "Hint",
// Severity of Pylint message type 'Warning/W'.
"python.linting.pylintCategorySeverity.warning": "Warning",
// Severity of Pylint message type 'Error/E'.
"python.linting.pylintCategorySeverity.error": "Error",
// Severity of Pylint message type 'Fatal/F'.
"python.linting.pylintCategorySeverity.fatal": "Error",
// Path to Pylint, you can use a custom version of pylint by modifying this
// setting to include the full …Run Code Online (Sandbox Code Playgroud) python visual-studio-code windows-subsystem-for-linux vscode-settings bash-on-windows
我不知道如何将WSL与VS Code集成在一起。我可以使用以下方法打开集成终端:
"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\bash.exe"
Run Code Online (Sandbox Code Playgroud)
集成终端正常工作。但是,我不能使用源代码控制或VS Code的任何功能。在源代码管理菜单上,显示“没有活动的源代码管理提供程序”。
该问题可能是由于git的路径引起的,但我不知道如何解决该问题。我将不胜感激任何帮助。谢谢。
git visual-studio-code windows-subsystem-for-linux vscode-settings bash-on-windows
我在iOS上使用Firebase实现了电话身份验证。身份验证有效。但是,在iOS上,会弹出一个reCAPTCHA窗口。我试图通过启用后台模式和推送通知来启用静默通知。它正在跳过reCAPTCHA测试,但仍会弹出带有加载栏的空白页面以自动进行验证。我还缺少其他步骤吗?另外,我是XCode的新手,所以我可能缺少配置步骤(例如,我没有在“背景模式”下拉菜单中单击任何复选框)。
您对我可能会想念的东西有什么建议吗?
我想要使用scrollToIndex的功能FlatList上作出反应,本地人。但是,当我切换FlatList到 时createAnimatedComponent(FlatList),它ref变成了undefined。
有没有办法在我使用时保持FlatList's ?refcreateAnimatedComponent
谢谢你的关心。
react-native react-native-scrollview react-animated react-native-flatlist
我正在尝试删除我最后一次使用 VSCode 的推送。我尝试使用“撤消上次提交”和“放弃所有更改”。
当我这样做时,我的最后一次提交被删除在我的计算机上,但我无法再次推送它,因为它说没有更改。
您有什么建议来解决这个问题吗?谢谢。
是否可以在 React 的不同边添加不同的填充值?我知道等属性padding-top,padding-bottom但我正在尝试找到一种方法来使用单行添加它们,就像在 CSS 中一样,例如:
padding: "10px 7px 10px 7px"
Run Code Online (Sandbox Code Playgroud)
谢谢你的关心。
git ×2
react-native ×2
windows-subsystem-for-linux ×2
firebase ×1
github ×1
ios ×1
python ×1
reactjs ×1
xcode ×1