sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.56k stars 267 forks source link

Wrong comment syntax for Starlark and Bash files #4403

Closed odisseus closed 1 month ago

odisseus commented 3 months ago

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

github-actions[bot] commented 1 month ago

This issue is marked as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed automatically in 5 days.