-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set default (or persist previous) language for a project #4028
Comments
Loosely related to my sense that we need a way, externally and internally, to detect or declare whether something is an R project or a Python project, where these are not mutually exclusive, which is somewhat related to #2637. |
Could positron use a @andrewheiss as a temporary work-around, I've found that if the incorrect interpreter is started, if it is immediately shut down, it does not restart next time the project is opened. |
Side comment: I think what you really mean is the There have been internal discussions along the way about having such a file, which is also quite advantageous for project discovery/access via tools like Alfred. But the current thinking is that Positron will not necessarily place a file or folder along these lines. |
Sorry, yes you are quite right, that is what I meant :) Perhaps a simpler solution is for Positron to just expose a workspace setting? |
Well, yes, if you set any workspace-specific configuration, it will cause a |
We do plan to make this better (independent of any work to let you specify the default interpreter in a settings file). It's tracked in #1044 and #3432. |
Related to #4011 and #3575, a feature that lets users set the default language interpreter for a project could be nice. I keep finding that when I open R-only projects, the R and Python terminals both start up (which is fine), but 90% of the time, the Python console remains active and I have to switch it in the Console pane (either manually or by executing a line of R code from the editor).
For instance, here I have a folder named
positron-r
that containstest.R
. When I start Positron, the Python console is active. I can switch it just fine, but the switch isn't persistent.positron-python.mov
I'm looking ahead to eventually teaching with Positron and I worry that having the Python console consistently open will confuse new R students.
The text was updated successfully, but these errors were encountered: