Can't get Ctrl-/ to work for PHP line comments

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
zuggsoft
Posts: 11
Joined: Sat Nov 08, 2008 7:26 am

Can't get Ctrl-/ to work for PHP line comments

Post by zuggsoft »

There is a command in the PHP menu for adding the // comments to a selection. Works fine. If I go into my key mapping and map the Ctrl-/ key to it, the key is displayed in the menu now, but pressing Ctrl-/ doesn't actually activate the function. As far as I can tell, Ctrl-/ isn't assigned to anything else.

Also, it would be nice if this command would *toggle* PHP commands on a line on and off. Unless I'm missing it, I don't see a way to *remove* comments from a selection.

Finally, the "comment selection" seems to sometimes add the // comment to the *next* line following the selected lines. For example, drag the mouse over the lines in the line-number gutter to select multiple lines, then select the // comments command from the menu. The next line (where the cursor was at the beginning, but wasn't selected) gets the // comments too. Seems like it should only add the // comments to the lines that are actually selected.
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: Can't get Ctrl-/ to work for PHP line comments

Post by syrupcore »

I couldn't get ctrl-/ to work for any shortcut. Some of the characters are reserved. I don't think you can use slash as a callword either. I regex nightmare for the team is my guess but I dunno.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Can't get Ctrl-/ to work for PHP line comments

Post by Karlis »

I am not sure why this i not working, but I will research. for now, you will have to choose another one.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Post Reply