eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper

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

Offen
#835 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Java
Sterne
201
Forks
76
Ø Merge
4 T. 7 Std.
Gemergte PRs (30 T.)
21

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit dem hier beschriebenen Verhalten der Editor-Tastenkürzel und von Key Assist und vergleiche die erwarteten Tastenzuordnungen mit Issue #352. Überprüfe unter Windows die Tastenkürzel zum Aus- und Einkommentieren vollständiger und teilweise ausgewählter Zeilen und bestätige anschließend, dass CTRL+SHIFT+L die funktionierenden Tastenkürzel auflistet, wenn der Editor den Fokus hat.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
developer-experience, tooling
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.