Uitvoeren, analyseren, formatteren en transpileren — Nederlands¶
De CLI biedt uitvoering, linter, formatter, transpilation en stroomschema-generatie.
- F5 / Ctrl+R / ▶ — Uitvoeren
Pseudocode → AnalyserenPseudocode → FormatterenPseudocode → Converteren → Pseudocode → PythonPseudocode → Converteren → Python → PseudocodePseudocode → Taal kiezen…
Thonny gebruikt dezelfde core/LSP-diagnostiek als de rest van het ecosysteem. Formatteren en converteren werken op het actieve .pseudo- of .algo-document; het gegenereerde bestand wordt in een nieuw Thonny-tabblad geopend.
Snippets / completion¶
Aanvulling gebruikt dezelfde canonieke snippets als de gedeelde core. Thonny voegt veilige platte tekst in omdat Thonny 5 geen LSP-tabstop-placeholders ondersteunt.
if¶
Als ${1:x > 0} Dan:
${2}
Einde
$0
if_else¶
Als ${1:x > 0} Dan:
${2}
Anders:
${3}
Einde
$0
for_range¶
Voor {1:i} van {2:1} tot ${3:n} Doen:
${4}
Einde
$0
for_range_step¶
Voor {1:i} van {2:1} tot {3:n} stap {4:1} Doen:
${5}
Einde
$0
for_each¶
Voor {1:i} In {2:waarden} Doen:
${3}
Einde
$0
while¶
Zolang ${1:x > 0} Doen:
${2}
Einde
$0
repeat_count¶
Herhalen ${1:3} keer:
${2}
Einde
$0
repeat_until¶
Herhalen:
${1}
Totdat ${2:x > 0}
$0
function¶
Functie {1:maximum}({2:a, b}):
${3}
Einde
$0
function_typed¶
Functie {1:maximum}({2:a, b}) -> ${3:geheel getal}:
${4}
Einde
$0
constructor¶
Constructor(${1:a, b}):
${2}
Einde
$0
class¶
Klasse ${1:maximum}:
${2}
Einde
$0
class_inherit¶
Klasse {1:maximum}({2:Persoon}):
${3}
Einde
$0
process¶
Proces {1:maximum}({2:a, b}):
${3}
Einde
$0
subprocess¶
Subproces {1:maximum}({2:a, b}):
${3}
Einde
$0
algorithm¶
Begin:
${1}
Einde
$0
select¶
Kies ${1:x}:
Geval ${2:1}:
${3}
Standaard:
${4}
Einde
$0
input¶
Lezen {1:n}0
input_integer¶
LezenGeheelGetal {1:value}0
input_float¶
LezenReëelGetal {1:value}0
input_string¶
LezenTekst {1:value}0
input_boolean¶
LezenBooleaans {1:value}0
input_array¶
LezenLijst {1:value}0
input_dictionary¶
LezenWoordenboek {1:value}0
input_set¶
LezenVerzameling {1:value}0
input_tuple¶
LezenTupel {1:value}0
xor¶
{1:a} XOF {2:b}$0