Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "CDT/Obsolete/C editor enhancements/Selection expansion"

(Initial upload)
 
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
Importance:
 
Importance:
 
2/5 --[[User:Kosashi.gmail.com|Tomasz Wesołowski]] 17:39, 8 May 2010 (UTC)
 
2/5 --[[User:Kosashi.gmail.com|Tomasz Wesołowski]] 17:39, 8 May 2010 (UTC)
 +
 +
1/5 --[[User:Jens.elmenthaler.verigy.com|Jens Elmenthaler]]
 +
 +
3/5 --[[User:Malaperle.omnialabs.net |Marc-Andre Laperle]]
  
 
'''Please append your opinion here.'''
 
'''Please append your opinion here.'''

Latest revision as of 14:07, 22 January 2020

This is a problem page. Please treat it as a discussion page and feel free to insert your comments anywhere. My open questions are in bold--Tomasz Wesołowski 17:39, 8 May 2010 (UTC)

Description

The programmer often needs to select a block of code - usually a specific block like a declaration or a part of an expression. A convenient improvement introduced in JDT allows to make such a selection very quickly - by moving the cursor into a desired place and expanding the selection upwards through the AST to cover the expected range. C/C++ programmers would find this feature as useful as in Java.

Ranking

Category: editing

Importance: 2/5 --Tomasz Wesołowski 17:39, 8 May 2010 (UTC)

1/5 --Jens Elmenthaler

3/5 --Marc-Andre Laperle

Please append your opinion here.

Solution

The behaviour in CDT would match the behaviour in JDT - expand the selection one node upwards, forward or back according to the AST.

References

Bug 223052 requests this feature.

Back to the top