atom-community / atom-community/atom-script

Script: Run + remember python version?

Open
#1,666 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

I'm using both python 2.7 and 3.5 and have a small issue.
I know that i can setup different build versions via Ctrl-Shift-P -> Script: Run Options -> Save as Profile

script uses python 2.7 by default on Ctrl-Shift-B (Script: Run).
Now if I'm using python 3.5, I have to press Ctrl-Alt-Shift-B (Script: Run With Profile) and select my python 3.5 profile EVERY time. Is it possible to set it somehow up so it remembers the last used build version? So that I can only press Ctrl-Shift-B (Script: Run) again? I want a convenient way to switch between those two builds (similiar to Sublime Text when selecting the Automatic Build, since this remembers the last used version).

Cheers

Contributor guide

Open the contributing guide

Research direction

Start with Atom's Script: Run, Script: Run Options, and Script: Run With Profile commands, then trace how a saved profile is selected. Done means Script: Run reuses the last selected Python build profile while still allowing convenient switching between Python 2.7 and 3.5.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.