Convert Selector

Filter by IDE
Select the Progress AppBuilder client you are currently using for development.

IDE

Code refactoring is available only in the classic Windows desktop client.

If your class selector affects a single element, you can convert it to an ID selector.

Prerequisites

  • Verify that the classic Windows desktop client is running and you are logged in.
  • Verify that visual aids are enabled. For more information about visual aids, see Configure Visual Aid.
  • Verify that you have opened the code for your app in AppBuilder.

Procedure

In-Browser

This operation is not available in the in-browser client.

Universal

This operation is not available in the universal desktop client.

Windows

This refactoring is available only for CSS code.

  1. From the Project Navigator, open the CSS file that you want to edit.
  2. In the editor, select the class selector that you want to convert.
  3. Press Ctrl+` and from the pop-up menu, select RConvert Class Selector To ID Selector.
  4. In the Convert class to id selector dialog, select which instances of the class selector to convert and click Ok.

Visual Studio

To perform this operation, apply your preferred Microsoft Visual Studio approach, extension or tool or install and use the Telerik JustCode extension. For more information, see the Telerik JustCode Manual.

CLI

To perform this operation, apply the approach or tool available for your current IDE.

Next Steps

Debug your code.

See Also

Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.