History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-3735
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Eugene Vigdorchik
Reporter: Alexey Pegov
Votes: 0
Watchers: 0
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

"surround with" action's behaviour

Created: 13 Feb 06 18:38   Updated: 14 Aug 06 14:51
Component/s: Editor. Editing Text
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 5,140


 Description  « Hide
In the following example 'Surround with' select the WHOLE LINE first assuming to surround the variable name with loops/try-catch/etc, but it should select WORD first and let me surround it to make a cast/etc.
  private static AnAction[][] fetchActionsByGroupName(final String groupName) {
    final AnAction group = ActionManager.getInstance().getAction(groupName);
    assert group instanceof ActionGroup : "Group of actions should be provided!";

    group // no comment. place caret after the variable name

  }


 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.