happy-kitchen-89482
01/30/2023, 2:55 AMwide-midnight-78598
01/30/2023, 6:08 AMfresh-cat-90827
01/30/2023, 7:13 AMDoes VSCode get this natively? Or is there some extra work?I am afraid you have to install an extension, see https://marketplace.visualstudio.com/items?itemName=tamasfe.even-better-toml, and pick the Pantsbuild schema I have a ticket to add a new goal to Pants, if the team thinks it's reasonable https://github.com/pantsbuild/pants/issues/18126
refined-addition-53644
01/30/2023, 9:58 AM{"add":["pants.backend.awslambda.python","pants.backend.build_files.fmt.black","pants.backend.python","pants.backend.docker","pants.backend.docker.lint.hadolint","pants.backend.experimental.python.lint.autoflake","pants.backend.python.lint.bandit","pants.backend.python.lint.black","pants.backend.python.lint.docformatter","pants.backend.python.lint.flake8","pants.backend.python.typecheck.mypy","pants.backend.python.lint.isort","pants.backend.plugin_development","internal_plugins"]} is not of type "array"Even Better TOML
fresh-cat-90827
01/30/2023, 10:06 AM.add
and .remove
. The schema for the arrays can be somewhat sophisticated, so I didn't feel comfortable doing this in the first iterationfresh-cat-90827
01/30/2023, 10:08 AMwide-midnight-78598
01/30/2023, 12:59 PMI am afraid you have to install an extension, see https://marketplace.visualstudio.com/items?itemName=tamasfe.even-better-toml, and pick the Pantsbuild schemaThanks! That’s what I thought, but I wasn’t sure. Still awesome :)