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 8611753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T04:27:08+00:00 2026-06-12T04:27:08+00:00

Double-clicking a line in logcat that’s part of a stacktrace will normally open the

  • 0

Double-clicking a line in logcat that’s part of a stacktrace will normally open the corresponding .java file with the relevant line highlighted. Sometimes, though, it will open the corresponding .class file instead. This file can’t be edited, so I have to take an extra step to open the .java file.

Is there any way to prevent .class files from being opened in the Eclipse editor?

  • 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-06-12T04:27:09+00:00Added an answer on June 12, 2026 at 4:27 am

    The solution is to mark folders containing .class files as derived resources: right-click on each of your output folders (e.g., bin and gen), click Properties, and check the “Derived” box.

    As a bonus, go to the Open Resource screen (Ctrl+Shift+R). Locate the small black triangle near the top-right corner. Click the triangle, and then uncheck “Show derived resources”. This has the added benefit of hiding .class files when you use the Open Resources screen.

    Working well on Eclipse Juno with ADT 20.

    EDIT: A related problem is pressing F3 (Open Declaration) and having Eclipse open a class file. A (slightly kludgy) solution for this problem is here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

part of my page requires some double-clicking, which has the undesirable effect that sometimes
I'm wondering how I can open a file literally in C++ (like double clicking
All- When I tried to open keytool (by double-clicking it in my bin file
When i am trying to open eclipse exe file by double clicking, eclipse window
Double-clicking a TStaticText on a form copies the caption of that TStaticText to the
I'm used to double-clicking *.sql script files to open them in SQL Server Management
I'm writing a little jQuery extension that prevents a user from double clicking on
How to get the line number or cell number by double-clicking the mouse in
I can go to a specific line number by double clicking in the status
Symptoms In IIS 7 and Dot Net 2.0 Integrated app pool: double clicking to

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.