cody icon indicating copy to clipboard operation
cody copied to clipboard

Wrong comment syntax for Starlark and Bash files

Open odisseus opened this issue 1 year ago • 2 comments

Version

01bc8503f09092c178ca8806d5202c9686edd812

Describe the bug

Steps to reproduce

  1. Set up a simple Bazel project (see https://github.com/sourcegraph/jetbrains/issues/1719 for instructions)
  2. Open the BUILD file.
  3. Select one of the target definitions and invoke "Document code".
  4. The generated comment will be delimited by /* */ (like in Java). This is incorrect syntak for Starlark.
Screenshot 2024-05-31 at 14 18 05

Expected behavior

In Starlark, comments are marked by a # at the beginning of the line (like in Python).

Additional context

No response

odisseus avatar May 31 '24 12:05 odisseus