Skip to content

[Story] Run tasks: npm scripts, Makefile targets and the current file #176

Done

Description

@aMonteSl

Part of #163 · P1 · Effort M · Uses the terminal (#137)

User story

As a developer using the Code-XR IDE,
I want to run my project's scripts and the file I am editing from the IDE,
so that I can build, test and try code without typing commands.

Scope

  • Task detection: package.json scripts, Makefile targets, plus user tasks in .code-xr/tasks.json.
  • "Run Task" in the palette; the task runs in a dedicated terminal ([Story] Integrated terminal with a configurable shell (Git Bash by default) #137) and its exit code is shown.
  • "Run Current File" for Python, Node/TS, and other interpreters found on PATH; the interpreter is configurable.
  • Problem matchers for TypeScript and ESLint output feed the Problems panel.

Acceptance criteria

  • The scripts of package.json appear in Run Task and run in a terminal in the project folder.
  • Run Current File runs a .py file with the configured interpreter on all three OS. (Checked by hand on Linux; the quoting for bash/PowerShell/cmd and the PATH/PATHEXT lookup are unit-tested, and CI runs the gate on Linux, Windows and macOS.)
  • Nothing runs in an untrusted folder (workspace trust story).

Delivered in PR #242. Note: the user tasks file is .codexr/tasks.json, next to .codexr/settings.json.

Activity

  1. self-assigned this
    on Nov 26, 2026
  2. added
    tfm
    on Nov 26, 2026
  3. added
    user-story
    area: ide
    on Nov 26, 2026
  4. added 2 commits that reference this issue on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: idestream: ide-powertfmuser-story

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions