Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1928540
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T06:59:29+00:00 2026-05-17T06:59:29+00:00

In the Java source editor in Eclipse, you could select a block of code,

  • 0

In the Java source editor in Eclipse, you could select a block of code, pick it with a mouse click and drop the block of code into another area of the code.

You can’t do that for other text editors like XML, HTML, etc. I had to press a key combination before I could use the mouse to move and drop the selected text. I have a new Eclipse set-up now and I can’t recall what the key combination is. I tried ctrl-shift, ctrl-alt, alt-shift, and ctrl-shift-alt. None of them work. I had drag-and-drop enabled.

Is there something else on Eclipse that I had installed in my old Eclipse set-up that I forgot to install in my new Eclipse set-up? It shouldn’t be because the text editor config has a check box for “enable drag and drop” which I enabled.

Of course, if you are one of those guys who wrote the eclipse text editor, you should also answer this question:

why did you not make the other text editors behave like the Java code editor? Why did you make us into having to do a key-combination to perform drag and drop for the other editors? What’s wrong with having all the editors exhibit the same behaviour?

I woogled and googled and could not find any eclipse manual that would tell me what the key combination is. I also could not find it in the local help files. If you required us to use key-combination, why did you not document that in a manual?

My apologies, but I realise I sound a little frustrated now.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T06:59:29+00:00Added an answer on May 17, 2026 at 6:59 am

    The text DnD (Drag and Drop) feature (initially introduced by bug 11624 in 2007) has been slowly extended to various editors, as reported by the bug 231294:

    Tested in EclipsePdt-2.2.0.v20100427
    Verified fixed for:

    • PHP files
    • JS files

    Still reproducible in:

    • CSS files
    • HTML files
    • XML files (source view)

    So it is still “work in progress”.
    The relevant blocking issues are:

    • bug 178104: [DND] Need to revisit dnd API to allow multiple drop targets
    • bug 173405 Make use of IDragAndDropService (Show Votes)
    • bug 195655 Drag’n’drop selected text
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use Eclipse JDT library to parse java source code to visit all methods
Eclipse provides an opportunity to view java source code by using Source attachement in
I plan to use Sublime Text 2 as my code source editor for C#/Java
GWT compiles the Java source into Javascript, and names the files according to a
I have commented my java source code with javadoc using tags like {@see myPackage.MyClass}.
I have java source code in a text file. There has to be entered
A tool (preferably free or open source) that converts java source code to html
I am writing an Eclipse plug-in that should modify the source code in the
My Eclipse cannot show the editor window. Error: Could not open the editor: The
I was wandering if it's possible to open a source code in text editor

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.