3.1.41.2.3. waf_tools.vscode.build_settings
- waf_tools.vscode.build_settings(bld: BuildContext, vscode_dir: Node, tg: task_gen) None
Patch
settings.jsonwith project-specific editor settings.Reads the template
settings.jsonfromvscode_dir, then:Configures
pylint.argswith the project’spyproject.tomlpath (ifpylintis set on the task generator).Adds waf’s internal library paths to
python.analysis.extraPaths(ifpython_extra_pathsis set).Merges additional file exclusion patterns into
files.exclude(iffiles_excludeis set).
- Parameters:
bld – The active build context.
vscode_dir – The target
.vscodedirectory node.tg – The task generator providing configuration attributes.