| Summary: | Allow commenting out or disabling of code blocks in BASIC IDE | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | info |
| Component: | BASIC | Assignee: | Rafael Lima <rafael.palma.lima> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | aron.budea, rafael.palma.lima |
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:24.8.0 inReleaseNotes:24.8 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 124891 | ||
|
Description
info
2021-01-29 16:05:26 UTC
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. |