As screenshot, errors are shown when a @IsTest is on the same line of a test method

Issue #524 resolved
Peter Lin created an issue

And the auto complete does not prompt "static" properly.

Comments (4)

  1. Scott Wells repo owner

    Peter, in the example you show the syntax is invalid. You have an annotation, a modifier, and a return type, but no method name or params. If you finish the method signature the errors should go away.

  2. Scott Wells repo owner

    I think this is working properly. Please feel free to reopen if you see it happen with valid Apex.

  3. Peter Lin reporter

    Thank you, Scott.

    Yes. After I have typed in the method name, the errors went away. I should not say it is a bug. It just shows errors before completing the method name. Thanks again.

  4. Log in to comment