Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

CDT/Obsolete/C editor enhancements/Selection expansion

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