[request] IDE shortcut: comment/uncomment a whole block

Bug #585342 reported by AKeem on 2010-05-25
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Sikuli
Medium
RaiMan

Bug Description

If you want to test some code actions, you often have to comment out some lines in your code.
It would be very nice if there was a key kombination for commenting out a whole selected code block.

I also use the Eclipse editor for programming in Java, an there is a feature like that.

Maybe this feature would increase the usability of SIKULI much.

Tsung-Hsiang Chang (vgod) wrote :

I usually indent a block of code (which can be done by select & tab) and add a "def _dummy_func():" before it. You can do this even the code is already in a function or a class.

Changed in sikuli:
importance: Undecided → Wishlist
status: New → Triaged
RaiMan (raimund-hocke) wrote :

In Python placing """ (three apostrophes) in the lines before and after the code block does exactly this

"""
this is
a multiline
comment
"""
popup("I am code again")

this might be clearer.

In Netbeans there is a support for that: add/delete comment: which adds or deletes # at the beginning of the selected lines.

This could be easily added to Sikuli IDE, since it is a similar processing like TAB/Shift-TAB.

summary: - [ feature request ] comment out a whole block
+ [feature request] IDE shortcut: comment/uncomment a whole block
RaiMan (raimund-hocke) on 2011-01-12
summary: - [feature request] IDE shortcut: comment/uncomment a whole block
+ [request] IDE shortcut: comment/uncomment a whole block
Mike Williamson (sleepycat) wrote :

This would be a great feature for the IDE. Mostly as a way for beginners to discover the multiline comment that Raiman pointed out.

RaiMan (raimund-hocke) on 2013-02-21
Changed in sikuli:
status: Triaged → In Progress
assignee: nobody → RaiMan (raimund-hocke)
RaiMan (raimund-hocke) on 2013-02-21
tags: added: editor
RaiMan (raimund-hocke) on 2013-05-06
Changed in sikuli:
importance: Wishlist → High
milestone: none → x1.1
RaiMan (raimund-hocke) on 2014-01-12
Changed in sikuli:
milestone: 1.1.0 → 1.2.0
UNCCheezy (shawny2005) wrote :

not going to happen for 1.1?

UNCCheezy (shawny2005) wrote :

putting in a request.

RaiMan (raimund-hocke) wrote :

@comment #4
no, it is on the list for 1.2 (see Milestone right in yellow line)

RaiMan (raimund-hocke) on 2019-11-05
Changed in sikuli:
milestone: 2.0.0 → 2.1.0
importance: High → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers