Skip to content

Intellij IDE shows 'no name' for a kotlin-bazel project #227

Open
@barrylapthorn

Description

@barrylapthorn

I tried the java / junit5 / bazel sample, and it seems to load and run fine in Intellij.

Along similar lines I came up with a trivial kotlin/bazel version here:

https://github.com/barrylapthorn/kotlin-bazel-junit5

For reasons I haven't been able to figure out the kotlin annotated test is displayed as 'no name'. This is surprising as I've used an equivalent java/bazel/junit5 project that has no such problems.

See bottom left corner here:

Screenshot from 2023-05-08 15-20-10

Steps to reproduce:

  • clone example repo
  • open latest Intellij
  • install bazel plugin (possibly restart)
  • import the above repo as a bazel project
  • open BUILD
  • click the play button in the gutter (see image).

It's entirely possibly I'm using an incorrect maven dependency.

What I'd like to see is not '<no name>' but say hello in the IDE output.

I'd also like to see a kotlin / bazel example in the samples repo if possible.

If you feel this is the wrong owner for this problem, happy to reopen perhaps in the bazel plugin repo instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions