BASIC urgently needs a way to comment out code blocks. This is essential for convenient coding and debugging. I would suggest C-style /* ... */ code blocks and even the option to use // for single line commenting as this is much more convenient than 'rem'.
It isn't required to use REM, you may also use single quote '
I presume the request was about being able to select a code block, and toggle whether it should be commented out or not. Seems like a reasonable idea.
In code editors as PyCharm or Kate we have the Ctrl+/ shortcut that adds/removes comment marks from the selected code. This shouldn't be too difficult to implement. Let me know if you like the idea.
Proposed patch in: https://gerrit.libreoffice.org/c/core/+/162005
Rafael Lima committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/22b5007e2740e1f461968f3c8e919326eb4d4785 tdf#140004 Toggle comment in the Basic IDE It will be available in 24.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Adding support to comment out or disable code blocks in BASIC IDE would improve debugging and testing workflows. It allows developers to isolate logic without deleting code, enhancing flexibility and productivity. https://www.myaarpmedicare.com.co