michaelpb / michaelpb/whiteboard

Run filename.js with nodejs editor shortcut

Open
#71 0 comments 0 reactions 0 assignees View on GitHub
App Features enhancement
Dominant language
JavaScript
Stars
26
Forks
2
PR merge metrics
No merged PRs in 30d

Description

An option in the Editor that is like "Open filename.js in Browser" and another for "Run filename.js with nodejs" (automatically types out the command in terminal).

- Would require a list of known types + applications

- Just write to the pty but omit the return key at the end so the demonstrator can "hit enter" at exactly the right time

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Editor shortcut handling and the terminal pty entry point. Review how the existing “Open filename.js in Browser” action works, then identify how filename types map to applications. Done means the editor can prepare the nodejs command in the terminal without sending the final return key.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli, developer-experience
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.