Closed sweep-ai[bot] closed 8 months ago
Open the branch in Web Editor • VS Code • Insiders
Open Preview
Latest commit: a903696e0c5e9caef23e4483a34668843db47984
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
PR Feedback: 👎
I created this PR to address this rule:
"Variable and function names should be meaningful and descriptive."
Description
This PR updates the variable and function names in the
lua/quick-code-runner/utils.lua
file to be more descriptive and meaningful. The goal is to improve code readability and maintainability.Summary of Changes
util
tovisual_selection
in thelua/quick-code-runner/utils.lua
file.get_visual_selection
toget_visual_lines
in thelua/quick-code-runner/utils.lua
file.create_tmp_file
tocreate_temporary_file
in thelua/quick-code-runner/utils.lua
file.create_cmd
toregister_custom_command
in thelua/quick-code-runner/utils.lua
file.show_output_in_split
todisplay_output_in_split_view
in thelua/quick-code-runner/utils.lua
file.open_code_pad
toopen_code_editor
in thelua/quick-code-runner/utils.lua
file.run_lines
toexecute_selected_lines
in thelua/quick-code-runner/utils.lua
file.