VSCode plugin broken

Open Beginner friendly
#49,992 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript, vscode
Domain
devtools

Research direction

Start at the VSCode plugin action behind the "Open opencode in another tab" button and find where it assembles the opencode command. Update the command to use the reported serve syntax, then verify on Windows that the button opens a terminal without the unrecognized-flag error.

Written by the indexing model from the issue text.

Description

Description

On start it use
opencode --port 16955
and error:
ERROR
Unrecognized flag: --port in command opencode
but correct syntax is
opencode serve --port 16955

Plugins

opencode

OpenCode version

opencode v2.0.10

Steps to reproduce
  1. Install opencode & vscode plugin
  2. Use button with black square on white "Open opencode in another tab"
  3. Opened terminal with command and error
Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Windows Terminal

Dominant language
TypeScript
Stars
209k
Forks
27.5k
Avg merge
7h 20m
Merged PRs (30d)
358

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from anomalyco/opencode

All issues in anomalyco/opencode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.