--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/67bcf5c8-1013-41a6-857e-a95b7014eab9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Thu, Dec 29, 2016 at 6:54 AM Dan Fabulich <danfa...@gmail.com> wrote:
I'd like to contribute fixes to the Bazel IntelliJ plugin; I've never worked on an IntelliJ plugin before. In preparation, I went through JetBrains' "Creating Your First Plugin" guide http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started.html and built and ran a simple "hello world" action.I then went to https://github.com/bazelbuild/intellij and built that from scratch using Bazel. I also used the Bazel IntelliJ plugin itself to load the plugin itself.But when I load ijwb/ijwb.bazelproject using the Bazel plugin, IntelliJ doesn't seem to recognize it as a "Plugin Project," despite the fact that the workspace_type is "intellij_plugin."I don't see any way to Run the plugin as I did following the JetBrains tutorial http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/running_and_debugging_a_plugin.html and I especially don't see how to attach a debugger to the plugin.Is it possible to attach a debugger to the ijwb plugin? If not, how do developers debug the UI code? (Log files? Dropped where?)-Dan
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discuss+unsubscribe@googlegroups.com.
Hi Dan,We debug using a custom run configuration type ('Bazel IntelliJ Plugin', source code in BlazeIntellijPluginConfiguration), which will spawn an IntelliJ instance with the selected plugin installed.When you load the project specified by 'ijwb/ijwb.bazelproject', a run configuration called 'Bazel build ijwb:ijwb_bazel' should appear after the first bazel sync. You can debug the plugin using this run configuration.Cheers,BrendanOn Thu, Dec 29, 2016 at 4:13 AM, Damien Martin-guillerez <dmar...@google.com> wrote:On Thu, Dec 29, 2016 at 6:54 AM Dan Fabulich <danfa...@gmail.com> wrote:I'd like to contribute fixes to the Bazel IntelliJ plugin; I've never worked on an IntelliJ plugin before. In preparation, I went through JetBrains' "Creating Your First Plugin" guide http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started.html and built and ran a simple "hello world" action.I then went to https://github.com/bazelbuild/intellij and built that from scratch using Bazel. I also used the Bazel IntelliJ plugin itself to load the plugin itself.But when I load ijwb/ijwb.bazelproject using the Bazel plugin, IntelliJ doesn't seem to recognize it as a "Plugin Project," despite the fact that the workspace_type is "intellij_plugin."I don't see any way to Run the plugin as I did following the JetBrains tutorial http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/running_and_debugging_a_plugin.html and I especially don't see how to attach a debugger to the plugin.Is it possible to attach a debugger to the ijwb plugin? If not, how do developers debug the UI code? (Log files? Dropped where?)-Dan--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.