Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Outline window gets broken if there is an abstract method in the class #5553

Closed
gpervukhin opened this issue Apr 24, 2024 · 3 comments
Closed

Comments

@gpervukhin
Copy link

Summary

The Outline window gets broken if there is an abstract method in the class OR in any of its nested classes.

Steps To Reproduce:

public abstract class MyTestClass
{
   public void method1() {}

   //public abstract void abstractMethod();
}
  1. Create a new class using the above code;
  2. Check that the Outline window shows the name of the class and its method1;
  3. Uncomment the abstract method in the line # 5.

Expected result

I expect that VS Code shows 2 methods in the Outline window now.

Actual result

The Outline window gets broken and shows this phrase "No symbols found in document 'MyTestClass.cls'".

Additional information

image

Salesforce Extension Version in VS Code: v60.8.0

SFDX CLI Version: @salesforce/cli/2.20.6 win32-x64 node-v20.10.0

OS and version: Windows 10 Home 22H2

VS Code version: 1.85.0

Copy link

git2gus bot commented Apr 24, 2024

This issue has been linked to a new work item: W-15593844

@diyer
Copy link
Collaborator

diyer commented May 3, 2024

Closing this as the issue has been fixed and released. @gpervukhin please let us know if you see any other issues. Thank you for reporting this!

@diyer diyer closed this as completed May 3, 2024
@gpervukhin
Copy link
Author

@diyer, it works fine now. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants