-
Notifications
You must be signed in to change notification settings - Fork 302
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
Project Status API integration with bazel for CLion #6585
Conversation
Other than that, looks good to me and seems to be working as expected. |
clwb/sdkcompat/v242/com/google/idea/blaze/clwb/CLionNotificationProvider.java
Outdated
Show resolved
Hide resolved
clwb/sdkcompat/vOlder/com.google.idea.blaze.clwb/BazelCNotificationProvider.java
Outdated
Show resolved
Hide resolved
clwb/sdkcompat/vOlder/com.google.idea.blaze.clwb/BazelCNotificationProvider.java
Outdated
Show resolved
Hide resolved
clwb/sdkcompat/v242/com/google/idea/blaze/clwb/CLionNotificationProvider.java
Show resolved
Hide resolved
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.
let's move CMakeNotificationFilter
to sdkcompat
clwb/sdkcompat/v242/com/google/idea/blaze/clwb/CLionNotificationProvider.java
Outdated
Show resolved
Hide resolved
@TomatorCZ could you please update the PR title and description to make it more detailed regarding the scope of the change? |
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.
Please also rebase once #6500 is merged
7e493bb
to
2ffac23
Compare
2ffac23
to
9225170
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.
Looks good to me. Tested it with 241 and 242.
/** | ||
* Provide notification for C-family files temporarily until moving to new CLion project status | ||
* api. | ||
*/ |
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.
I guess we can drop this comment, no longer temporarily.
Project Status API integration with bazel for CLion (bazelbuild#6585) Integration with the new Project Status Widget that is added in CLion 242. Implement py imports handling (bazelbuild#6606) Some `py_...` rules allow for an `imports` attribute. The attribute allows control over how the Python files are vended in terms of modules. This change will mean that the use of the `imports` attribute in Bazel targets is reflected in how the modules are auto-completed and recognized in the IDE. Update CompileCorrespondingBuildFilesAction.java button name change Update CompileCorrespondingBuildFilesAction.java Added build folder action Update BlazeBuildService.java review remarks fix
* Added build folder action You can't build folder, you can only sync it. Building could be much faster. For example in our project sync of entire folder takes x2 time more than build. I've already added this feature to my local Bazel plugin. I've added button to compile directory below the partial sync. It would be great if we can contribute it * Update CompileCorrespondingBuildFilesAction.java * Update CompileCorrespondingBuildFilesAction.java * button name change * Update CompileCorrespondingBuildFilesAction.java * Added build folder action * Update BlazeBuildService.java * review remarks fix * Update CompileCorrespondingBuildFilesAction.java Project Status API integration with bazel for CLion (#6585) Integration with the new Project Status Widget that is added in CLion 242. Implement py imports handling (#6606) Some `py_...` rules allow for an `imports` attribute. The attribute allows control over how the Python files are vended in terms of modules. This change will mean that the use of the `imports` attribute in Bazel targets is reflected in how the modules are auto-completed and recognized in the IDE. Update CompileCorrespondingBuildFilesAction.java button name change Update CompileCorrespondingBuildFilesAction.java Added build folder action Update BlazeBuildService.java review remarks fix * SERIAL_NOT_EXPAND deleted * Update BlazeBuildTargetSharder.java * serial not expand * revert
Description of this change
Currently(>=242), CLion shows dedicated widget/yellow banner for all collected problems regarding project settings and offers their fixes in a fix menu. Since the plugin already has a project notification which allows to import bazel project (See
BazelCNotificationProvider
), we want to use the API to stay align with CLion UX. The following changes were made:BazelCNotificationProvider
to clwb/sdkcompatBazelCNotificationProvider
to use Project Status API in clwb/sdkcompat/v242CMakeNotificationFilter
toclwb/sdkcompat
BazelNotificationProvider
for CLion