score:92
A. Window -> New editor
or (slightly quicker)
B. Right-click on the tab with the code you want to see in another split view and choose "New Editor" to duplicate this tab in the same editor window (i.e. without having to open a completely new editor window as in A.)
Then drag the new tab to the right until you see an arrow, then lift your finger. Doing it this way the two views will be in sync: everything you change on the left will change on the right.
score:2
I have implemented small plugin which can split view for any eclipse based editor and make a video have it's work, see video here http://www.youtube.com/watch?v=61yJF7LQ-bE. This plugins part of jboss tools, but can be installed. With it you can split editor view just by clickin CTRL+8 or window->New Editor(Side By Side).
score:7
For two tabs:
Window > Editor > Clone
For same tab (as shown above):
Window > Editor > Toggle Split Editor
score:54
Lars Vogel just announced (December 2013) in "Split editor implemented in Eclipse M4 Luna" that is is now possible possible!
Split editor implemented in Eclipse M4 Luna 4.4
This solves one of the oldest and most upvoted Eclipse bug: Bug 8009.
The split editor functionality has been developed in Bug 378298, and will be available as of Eclipse Luna M4. The Note & Newsworthy of Eclipse Luna M4 will contain the announcement.
Current shortcut for splitting is:
- Ctrl + _ for split horizontally, and
- Ctrl + { for split vertically.
As commented by mahesha999, there is a clone option in menu Window > Editor > Clone
which opens separate cloned window/tab (instead of split view inside the same tab) that can be dragged to the 2nd monitor.
Source: stackoverflow.com
Related Query
- Eclipse - Same .Java file in split view?
- Is there a way to make Eclipse open a hyperlinked java file from another project from the same workspace
- Merging split zip file of a JAVA project in Eclipse
- While while debugging eclipse open another java file with same name
- Eclipse Java launch configuration file path
- How Do I Automatically Generate A .jar File In An Eclipse Java Project
- .gitignore file for java eclipse project
- Export eclipse console view output to text file
- How to filter call stack in Eclipse debug view for Java
- How to navigate to the last cursor position in Eclipse if it is in the same file and was not edited?
- Eclipse file search finds the same file multiple times
- Making Eclipse view different file extensions as PHP
- Java can't find file when running through Eclipse
- How to add a Java Properties file to my Java Project in Eclipse
- Kotlin And Java In The Same Project Using Eclipse IDE
- Creating a properties file in Java and eclipse
- Import existing java project in eclipse but design view not exist for JFrame?
- Eclipse - How to import a local source file into the same folder?
- Java Properties File in Eclipse
- Eclipse Maven showing multiple paths for the same file
- My maven Java project in Eclipse doesn't generate jar file
- How to view the contents of jar file in eclipse or jar-file-explorer
- How to get Eclipse to stop asking to create a module-info java file on new Java project creation?
- How to recover Java file from Eclipse Project that damaged by getting power off?
- Java source code not shown in Eclipse debug view
- How to install eclipse for java developer,c/c++ developer, php developer at the same time?
- Eclipse is executing the wrong Java file
- Being in Debug View, and after program termination, switch back to Java View in Eclipse
- How to diff two regions of the same file in Eclipse
- Eclipse showing java project src folder view as all packages and subpackages
More Query from same tag
- Auto deploy changed java code in Maven, Eclipse, Glassfish
- "Launch failed. Binary not found" error for C in Eclipse 4.3.0 on OS X 10.9.2
- Compile C++ project in Eclipse
- How to Make Text Appear When Pressing a JButton
- Program running slow/eclipse
- Absolute filesystem path for an IClasspathEntry
- Can't rename application package without an error message on one project
- Issue with "GL11.glMatrixMode()"
- Java bluetooth bluecove application
- Error in Eclipse: An internal error occurred during: "Contacting Software Sites",org/eclipse/ecf/core/identity/ID
- Cocos2D-x Eclipse java.lang.UnsatisfiedLinkError
- Dynamic Web Project option missing in Eclipse
- Differences between standard java web application directory structure and directory structure generated by Eclipse
- R Cannot be Resolved to a Variable - on All my Projects
- Qt Jambi Application doesn't work after exporting it in Eclipse
- How to attach php documentation in eclipse
- Compile *.scss file with sass-maven-plugin when restart TomCat
- How to know the command line arugments to build a project that was coded in eclipse
- JUnit Test throwing ClassNotFoundExcpetion while execution
- Which Eclipse package should I download for PyDev?
- Building cassandra in local machine
- How can I remove eclipse completely?
- customized save actions in eclipse?
- Eclipse/ RapidClipse X 10.2.2 Exception occurred in listener of Java element change notification
- Font not found by JasperReports when built with Maven
- Eclipse doesn't place the classes in the bin folder anymore
- RAD / WebSphere: NoClassDefFoundError
- How to add default string in class in java using eclipse
- Integrate Eclipse RAP and OSGI/Spring-DM plugins, using Maven for build
- Which versions of Eclipse is compatible with which versions of java?