Ticket CS15425
Visible to All Users

Add "Duplicate a previous source code line if the current one is empty" option for "Duplicate line" functionality

created 18 years ago

I habitually hit enter when I finish a line of code and therefore I have typically already moved to the next line before i discover that I would like the previous line duplicated.
Proposed Solution:
Can we allow "duplicate line" to function on the line above that of the caret, if the current line is blank?

Comments (1)
Alex Skorkin (DevExpress) 15 years ago

    Follow these steps to get to the Duplicate Line Setup options page:

    1. From the DevExpress menu, select "Options…".
    2. In the tree view on the left, navigate to this folder:
          Editor\Auto Complete
    3. Select the "Duplicate Line Setup" options page.
    4. Set the "Duplicate a previous source code line if the current one is empty" option on.
      This page level is Advanced, and will only be visible if the Level combo on the lower-left of the Options dialog is set to Advanced or Expert.
      Thanks, AlexS.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.