apexdox-vs-code
apexdox-vs-code copied to clipboard
Params variable types not parsed correctly without whitespace in method declaration
When you have a method like foo(String bar,String fi), then fi is not detected as a String. Yet if you do the same list with a space after the comma, it works normally.
Use Prettier to ensure that your code adheres to accepted Apex standards.
@docbill @dschach This is likely an easy fix, and should probably be supported - while whitespace between commas in param lists is probably best practice (and using Prettier to enforce best practices is recommended and even adopted by SF themselves these days), it is still perfectly valid Apex. I will look into it.