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 234477 - Proposal for editor action: Smart delete action
Summary: Proposal for editor action: Smart delete action
Status: RESOLVED WONTFIX
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-16 05:14 UTC by junichi11
Modified: 2015-10-21 13:59 UTC (History)
0 users

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 junichi11 2013-08-16 05:14:13 UTC
My proposal is a feature that delete string between "" or '', variable name (there might be also other cases).
i.e. "something ... " -> "", $someVariable -> $

", ' and $ also is deleted when we delete string per word ([Ctrl + Delete] or [Ctrl + Back Space]). or we have to select string, then delete it.

So, I tried to add this feature support to my plugin [1].

Could you add this feature support if you think that it is good? or Should I create a patch for it?

Thanks.

[1] https://github.com/junichi11/netbeans-php-enhancements
Comment 1 Ondrej Brejla 2013-08-16 06:54:05 UTC
I'll try to look at it for next version. Thanks.
Comment 2 junichi11 2013-08-18 15:08:46 UTC
> ", ' and $ also is deleted when we delete string per word ([Ctrl + Delete] or [Ctrl + Back Space]).

I'm sorry. " and ' is not deleted. I made a mistake with the following : myfunction(""[delete word here]) -> myfunction)