Configurez le chemin de l'interpréteur Python, le comportement de la barre d'outils d'action et les contrôles de diagnostic facultatifs.
| Propriété |
Valeur |
| ID du paramètre |
automationview.pythonPath |
| Type |
string |
| Défaut |
"auto" |
| Portée |
machine |
Chemin vers l'exécutable Python utilisé par AutomationView :
"auto" — Résout automatiquement Python à partir de l'environnement système.
"python3" — Utilise une commande spécifique disponible dans PATH.
"/usr/bin/python3.12" ou "C:\\Python312\\python.exe" — Utilise un chemin d'exécutable explicite.
{
"automationview.pythonPath": "/usr/bin/python3.12"
}
| Propriété |
Valeur |
| ID du paramètre |
automationview.diagnostics.divergenceOverlap |
| Type |
boolean |
| Défaut |
false |
| Portée |
resource |
Lorsqu'il est activé (true), AutomationView vérifie si au moins deux branches d'une divergence en OU peuvent être évaluées à TRUE simultanément et signale l'avertissement de diagnostic S013.
{
"automationview.diagnostics.divergenceOverlap": true
}
| Propriété |
Valeur |
| ID du paramètre |
automationview.actionToolbar.favorites |
| Type |
array of objects |
| Défaut |
MOVE, TON, CTU |
Configure les boutons d'accès rapide affichés dans la barre d'outils d'action de l'Éditeur de séquences. Chaque élément définit :
qualifier — N, S, R, P, D, L, SD, DS ou SL
instruction — Nom de l'instruction (MOVE, TON, CTU, SR, RS, ADD, etc.)
label — Libellé du bouton affiché dans la barre d'outils
{
"automationview.actionToolbar.favorites": [
{ "qualifier": "N", "instruction": "MOVE", "label": "MOVE" },
{ "qualifier": "N", "instruction": "TON", "label": "TON" },
{ "qualifier": "S", "instruction": "STORE", "label": "SET" },
{ "qualifier": "R", "instruction": "RESET", "label": "RESET" }
]
}
| Propriété |
Valeur |
| ID du paramètre |
automationview.actionToolbar.trigger |
| Type |
enum |
| Défaut |
"modifier" |
Contrôle le moment où la barre d'outils d'action flottante apparaît lors de la modification d'un nœud d'action :
| Valeur |
Comportement |
modifier |
Apparaît en maintenant la touche Alt enfoncée (ou via un clic droit -> Modifier le qualificatif et l'instruction) |
always |
Toujours visible dès qu'une action est sélectionnée |
{
"automationview.actionToolbar.trigger": "always"
}
| Paramètre |
Type |
Défaut |
Description |
automationview.pythonPath |
string |
"auto" |
Chemin vers l'exécutable Python |
automationview.diagnostics.divergenceOverlap |
boolean |
false |
Avertir lorsque les conditions des branches d'une divergence en OU se chevauchent (S013) |
automationview.actionToolbar.favorites |
array |
MOVE, TON, CTU |
Combinaisons d'actions en accès rapide dans la barre d'outils |
automationview.actionToolbar.trigger |
enum |
modifier |
Mode d'affichage de la barre d'outils d'action (modifier ou always) |