atom-community / atom-community/atom-script

Define/Run *master* document

Open
#472 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
730
Forks
264
PR merge metrics
No merged PRs in 30d

Description

This is more a request than a issue. I find myself a lot of times editing a lot of scripts (say, python scripts) that belong to the same project where one file contains the `__main__` method. To be able to run the script I need to cursor (focus) the main document with the `__main__` method and run it.

It would be nice to add a couple of short-cuts for focusing a script and selecting it as a _master_ document, and later from any script press another short-cut to rune that _saved master_ document.

Something like:

Ctrl+Alt+M: set current document as _master_ document
Ctrl+Shift+M: run previously saved _master_ document

Thank you!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.