Manuel Jordan
Manuel Jordan

Reputation: 16299

How to enable again the download approach about "Attach Source"?

For a Spring project, developed through Spring Tool Suite 4 (based on Eclipse), for any Java file and for any part of its code, such as:

@Configuration
public class AppConfig {
   ...
}

When the mouse's cursor is over a Spring type - such as @Configuration - and is accomplished the ctrl + click approach then the source code is opened but according with the following process:

  1. Is loaded/shown a kind of "binary" data showing: Class File Editor - Source not found, the Attach Source... button and as indicated the "binary" data.
  2. After of either 1 or 2 seconds immediately is downloaded and shown the source code. As observation while the downloading process happens, in the same Window at the right bottom is shown the progress to download.

Since long time ago I don't have the following situation: for only a specific workspace (among others) the source code remains at the first point.

Observation: The project is based on Maven and about its settings:

Preferences
 Maven
  ...
  Download Artifact Sources (is unchecked)
  Download Artifact Javadoc (is unchecked)
  ...

All the workspaces where the downloading process happens have the same setting shown above. Therefore in other place something was changed.

What could be misconfigured and how to fix it?

Upvotes: 0

Views: 22

Answers (0)

Related Questions