eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper

WWD shortcuts to comment or uncomment code are wrong out-of-the-box (see #532 as well)

Open
#835 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
201
Forks
76
Avg merge
4d 7h
Merged PRs (30d)
21

Description

There is a bug it seems (at least on Windows) with the shortcut to comment lines of code.

I didn't find the way to comment out lines of code initially when using Wild Web typescript editor. I tried CTRL+SHIFT+/ or CTRL + / but those didn't do anything.

So I found issue report #352 and tried CTRL + SHIFT + C as suggested there. It still didn't work...
Then I used mouse as suggested in #352 - right click in editor / Source / Toggle line comment and that worked. And it showed as key shortcut CTRL + SHIFT + c. (so lowercase c) It started to work only after I edited the shortcut via window preferences / Keys to CTRL + SHIFT + C (capital C).

Also CTRL+SHIFT+L (the "Show Key Assist" shortcut) doesn't show this key shortcut correctly. I can only see there "Toggle Line Comment (CTRL+/)".

Please:

  1. Make the shortcut(s) work out-of-the-box for both full-line comment/uncomment (//) and partial comment/uncomment (/**/).
  2. CTRL+SHIFT + L ("Show Key Assist") when I have focus in the editor only shows "Toggle Line Comment (CTRL+/)" which, of course, doesn't work. Please make it show correctly the available commenting/uncommenting shortcut(s) in that popup.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the editor shortcut and Key Assist behavior described here, and compare the expected bindings with issue #352. Verify full-line and partial comment/uncomment shortcuts on Windows, then confirm CTRL+SHIFT+L lists the working shortcuts when the editor has focus.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.