Skip to content
Konstantin Zaitsev edited this page Aug 26, 2014 · 1 revision

The application provides rename refactoring for the following elements:

  • Module name
  • SubModule name
  • Type Definition name
  • Grouping name
  • Identity

The application provides also indirect rename for these elements:

  • Import name (Module)
  • Include name (SubModule)
  • Type reference name (Type Definition)
  • Uses reference name (Grouping)
  • Base reference name (Identity)

To activate refactoring perform the following steps:

  1. Put cursor position on the element name or the reference name
  2. Select either Refactor->Rename main menu or Refactor->Rename editor context menu or press ALT-SHIFT-R (Alt+Cmd+R) hotkey
  3. The application will highlight the element name and all occurrences in the editor
  4. Specify a new element name press enter key

You can also invoke preview dialog by press twice ALT-SHIT-R hotkey or from inline context menu

rename-refactoring-inline.png

Inspect refactoring changes: rename-refactoring.png

  • Home
  • First Steps
    • Installation Guide
    • [Import Project](Import Project)
    • [Create Project](Create Project)
    • [Yang Editor](Yang Editor)
  • New and Noteworthy
    • [1.0.0 release notes](M1 release notes)
    • [1.1.0 release notes](1.1.0 release notes)
    • [1.1.1 release notes](1.1.1 release notes)
  • [Features] (Features)
  • [M2E Integration] (M2E Integration)
  • [Yang Project Support] (Yang Project Support)
  • [Code Editing] (Code Editing)
  • [Code Navigation] (Code Navigation)
  • [Code Refactoring] (Code Refactoring)
  • [Diagram Model Editor] (Diagram Editor)
  • Developer Documentation
  • [Setup and build](Setup and build)
Clone this wiki locally