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

feat: enable use of anon Apex execution codelens #3688

Merged
merged 6 commits into from
Dec 9, 2021

Conversation

rcoringrato-sfdc
Copy link
Contributor

What does this PR do?

Add a code lens for anonymous Apex files (*.apex) for execution of the entire file, or a selected range.

What issues does this PR fix or reference?

@W-9787744@

Copy link
Contributor

@randi274 randi274 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes are looking great! Was able to test with the selected text, modified but not saved text, and the whole file. I'm not sure the isEmpty is working as expected though. When I highlight an empty line, I run into an issue here where it generates an ''. If that's ok though, I'm good to approve.
Screen Shot 2021-12-08 at 2 19 45 PM

@rcoringrato-sfdc
Copy link
Contributor Author

@randi274 I think it is a little bit of a corner case, so its okay.

Copy link
Contributor

@randi274 randi274 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome addition to the product!

@rcoringrato-sfdc rcoringrato-sfdc merged commit 476d431 into develop Dec 9, 2021
@rcoringrato-sfdc rcoringrato-sfdc deleted the rc/exec-anon-codelens branch December 9, 2021 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants