Open Minecraft Launcher
Settings
Tick "Open Output log when Minecraft: Java Edition starts"
Restart Launcher
[This allows easy way to see commands, errors, problems with loading functions, and copy and paste parameters]
Open Minecraft
Options
Chat Settings
Command Suggestions: On
This turns on "intellisense" style suggestions showing available options, functions, commands, etc...
You want this...