WolframResearch / vscode-wolfram

Official Visual Studio Code extension for Wolfram Language
MIT License
109 stars 7 forks source link

Mark Sin[1, 2] as incorrect syntax with red highlighting for 2 #36

Open PeterCullenBurbery opened 1 year ago

PeterCullenBurbery commented 1 year ago

Mathematica will mark 2 in Sin[1, 2] as red because Sin takes only one argument. This might be useful to add support for checking the number of arguments provided and comparing to the number of expected arguments.