Search code examples
eclipseeclipse-cdt

eclipse - is there a "duplicate file to other view" option like notepad++


Notepad++ has a feature to allow two simultaneous views of the same file in the same instance.

This is useful if you want to view two different regions of a file side-by-side.

Does Eclipse have this feature?


Solution

  • Use 'Window > Editor > Toggle Split Editor (Horizontal)' or 'Toggle Split Editor (Vertical)'.

    The keys Ctrl+_ and Ctrl+{ are shortcuts for these actions. On macOS the keys are ++- and ++[