ansys-mechanical-ideconfig#
CLI tool to update settings.json files for autocomplete with ansys-mechanical-stubs.
Parameters#
- ide: str
The IDE to set up autocomplete settings. By default, it’s
vscode
.- target: str
The type of settings to update. Either “user” or “workspace” in VS Code. By default, it’s
user
.- revision: int
The Mechanical revision number. For example, “252”. If unspecified, it finds the default Mechanical version from ansys-tools-path.
Usage#
The following example demonstrates the main use of this tool:
$ ansys-mechanical-ideconfig –ide vscode –target user –revision 252
ansys-mechanical-ideconfig [OPTIONS]
Options
- -h, --help#
Show this message and exit.
- --ide <ide>#
The IDE being used. By default, it’s
vscode
.
- --target <target>#
The type of settings to update - either
user
orworkspace
settings in VS Code.
- --revision <revision>#
The Mechanical revision number, e.g. “252” or “251”. If unspecified,it finds and uses the default version from ansys-tools-path.