1. Open the setting interface
2. Click the braces setting.json icon, as shown below:
3. Search for the configuration item python.autoComplete.addBrackets
4. Modify the value to true
Note: Click the small pen button to modify. The left panel cannot be modified. After the modification is completed, the modified field will be added to the user settings
Configuration completed!
Recommended related articles and tutorials: vscode tutorial
The above is the detailed content of vscode sets automatic completion of function brackets in python code. For more information, please follow other related articles on the PHP Chinese website!