The Telerik Platform product is retired.Learn more

Extract Method

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


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

You can create a new method based on a selected code fragment. By extracting methods you can reorganize your code for better reuse and readability.

AppBuilder analyzes the selected code, creates a new method that contains the extracted code and replaces it in the existing member with a call to the new method.


  • Verify that the classic Windows desktop client is running and you are logged in the Telerik Platform.
  • Verify that you have opened the code for your app in AppBuilder.



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


This operation is not available in the universal desktop client.


This refactoring is available only for JavaScript code.

  1. Verify that visual aids are enabled. For more information about visual aids, see Configure Visual Aid.
  2. From the Project Navigator, open the JS file that you want to edit.
  3. In the editor, select the code fragment that you want to extract.
  4. Press Ctrl+` and from the pop-up menu, select RExtract Method.
  5. Enter a name for the new method.
  6. Press Enter to finish or Esc to cancel the refactoring.

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.


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

Next Steps

Debug your code.

See Also

Contact us: +1-888-365-2779
Copyright © 2016-2018, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.