This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 155908 - ctrl-; and ctrl-shift-; do not work for php
Summary: ctrl-; and ctrl-shift-; do not work for php
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
: 157481 159609 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-21 20:38 UTC by aarjona
Modified: 2012-12-20 09:55 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aarjona 2008-12-21 20:38:47 UTC
The shortcuts that complete lines (add ; at the end while keeping the cursor at the same position or make a new line) do
not seem to work in php. They do work while editing java sources.
Comment 1 Tomasz Slota 2009-01-08 15:27:13 UTC
confirmed.
Comment 2 aarjona 2009-06-09 07:32:06 UTC
just dropping by to mention that this issue is still present in 6.7rc2
Comment 3 rmatous 2009-09-22 12:09:20 UTC
*** Issue 157481 has been marked as a duplicate of this issue. ***
Comment 4 Tomasz Slota 2010-02-10 08:45:42 UTC
reassigning to default owner
Comment 5 Filip Zamboj 2010-09-15 12:27:58 UTC
batch reassigning
Comment 6 BullfrogBlues 2012-02-09 09:36:43 UTC
Still an issue in 7.1
Comment 7 BullfrogBlues 2012-02-09 09:39:16 UTC
*** Bug 159609 has been marked as a duplicate of this bug. ***
Comment 8 BullfrogBlues 2012-06-06 10:03:12 UTC
A quick fix for this is to use macros:

Complete Line with ";"
----------------------

Shorcut: CTRL+SEMICOLON
Macro Code: caret-end-line ";" jump-list-last-edit jump-list-last-edit


Complete Line with ";" And then New Line
----------------------------------------

Shorcut: CTRL+SHIFT+SEMICOLON
Macro Code: caret-end-line ";" insert-break
Comment 9 Ondrej Brejla 2012-12-19 15:50:46 UTC
It has been implememnted n 7.3 dev.
Comment 10 Martin Kanak 2012-12-20 09:55:19 UTC
verified

Product Version: NetBeans IDE Dev (Build 201212190001)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b17
System: Linux version 3.2.0-35-generic running on amd64; UTF-8; en_US (nb)