-
Notifications
You must be signed in to change notification settings - Fork 44
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
Dangling comments are not printed #13
Comments
Partially fixed in 5ab40b6 The only exception (that I'm aware of) is in a Trigger Declaration. Somehow |
I think I need help from a Salesforce dev here for this issue. The problem is when parsing an empty trigger,
Which is not enough information for me to attach comments to the correct nodes in the AST (other declarations like Thanks in advance! |
@dangmai - OK. I will ping the team about this and have them take a look. Does this only happen on triggers? Does it work as you expect on classes that you have tested on? |
@vazexqi thank you Nick, I really appreciate it! No other declaration types have this problem as far as I'm aware. |
@dangmai I just released a fix for this issue. Checkout: forcedotcom/salesforcedx-vscode@b8e6d2f |
Awesome, thanks @praksb! I'll update the bundled jorje version to include the fix! |
For example:
will be turned to:
The text was updated successfully, but these errors were encountered: