-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(qsync): External modules navigation in starlark files #7213
base: master
Are you sure you want to change the base?
fix(qsync): External modules navigation in starlark files #7213
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
412de37
to
226bd6b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After running ij with these changes I see many of these exceptions:
But overall navigation to external dependencies seems to be working.
base/src/com/google/idea/blaze/base/model/ExternalWorkspaceSyncListener.java
Outdated
Show resolved
Hide resolved
base/src/com/google/idea/blaze/base/model/ExternalWorkspaceSyncListener.java
Outdated
Show resolved
Hide resolved
public class ExternalWorkspaceDataManager { | ||
private ExternalWorkspaceData data; | ||
|
||
public static ExternalWorkspaceDataManager getInstance(Project project) { | ||
return project.getService(ExternalWorkspaceDataManager.class); | ||
} | ||
|
||
public ExternalWorkspaceData getData(){ | ||
return data; | ||
} | ||
|
||
public void setData(ExternalWorkspaceData data) { | ||
this.data = data; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the reason for creating this service instead of just implementing the field for QuerySyncProjectData
too?
base/src/com/google/idea/blaze/base/qsync/BazelInfoHandler.java
Outdated
Show resolved
Hide resolved
What bazel version have you tested it on? For 8.0.0 I have no |
226bd6b
to
f421691
Compare
12cbc92
to
2fc8bca
Compare
2fc8bca
to
0403b21
Compare
Checklist
Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.
Discussion thread for this change
Issue number:
<please reference the issue number or url here>
Description of this change