Skip to content

Missing "Generate Code" button/feature in v5.0.1 (documented in README but absent from UI) #78

Description

@Be-Mann

Extension version: 5.0.1 (publisher bruno-api-client, marketplace id bruno-api-client.bruno)

Description

The extension's own README.md advertises a "Code generation" feature:

Code generation - Generate code snippets for your requests in various languages

and the official Bruno docs describe this as a "Generate Code" section shown "next to the request" (https://docs.usebruno.com/send-requests/REST/code-generator), letting you pick a language (curl, Python, JS, etc.) and copy the equivalent code for the current request.

In the currently installed 5.0.1 build of this VS Code extension, this feature/button does not exist anywhere in the UI.

Investigation

  • package.json of the installed extension has zero occurrences of "generate" anywhere (no command contribution, no menu entry, no keybinding) — grep -i generate package.json returns nothing.
  • The bundled extension.js has no GenerateCodeItem / CodeViewToolbar (or similarly named) component, unlike what's shown in older walkthroughs/videos of the extension (predating the 5.0.0 rewrite).
  • Per the in-extension changelog.md:
    • 5.0.0 — "Major revamp" (OpenCollection format, remote environments, full OAuth2, WebSocket/gRPC support, WSL support, batched collection loading)
    • 5.0.1 — bug fixes only (folder variables saving, requests not appearing in sidebar)
    • Neither changelog entry mentions removing or reworking code generation.

Expected behavior

A "Generate Code" action/button should be available for a request (as documented on https://docs.usebruno.com/send-requests/REST/code-generator and advertised in this extension's own README), letting the user pick a language and get the equivalent code snippet (curl, Python, JS, etc.).

Actual behavior

No such button/command exists anywhere in the extension's UI as of v5.0.1 — the feature appears to have been dropped during the 5.0.0 "major revamp" without any changelog mention, while the README still advertises it.

Suggested fix

Either restore the "Generate Code" UI (command + menu contribution + webview panel) that matches the documented behavior, or update the README/changelog to reflect that this feature is currently unavailable in the VS Code extension.

Metadata

Metadata

Assignees

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