Skip to content
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

Could VS Code be the teaching environment? #112

Open
jack89roberts opened this issue Aug 9, 2022 · 3 comments
Open

Could VS Code be the teaching environment? #112

jack89roberts opened this issue Aug 9, 2022 · 3 comments

Comments

@jack89roberts
Copy link
Contributor

jack89roberts commented Aug 9, 2022

Pros:

  • It's a popular IDE (and the one most commonly used by REG)
  • It has an in-built terminal and editor, can run notebooks and do git workflows etc. (with extensions)
  • Could be a route to reducing weird notebook uses for writing files, running terminal commands, debugging etc.
  • It's multi-platform

Cons:

  • It's busier/more crowded than a Jupyter notebook
  • Not sure it would take care of installing Python and bash/similar on, particularly on Windows, which may complicate setup
  • The notebook extension is worse than native Jupyter notebooks/lab (in my opinion)
  • Maybe more effort to keep the course website up to date (if more is being done outside the notebooks themselves)
@jemrobinson
Copy link
Member

@callummole has also suggested JupyterHub as a possibility (I've invited him to Thursday's meeting to discuss this).

@jack89roberts
Copy link
Contributor Author

jack89roberts commented Aug 9, 2022

I also wasn't intending to propose this for the next delivery as we have so much going on, but maybe one for the future.

@oC-n
Copy link
Contributor

oC-n commented Jan 12, 2023

If this is implemented, a trap I just ran into in using VS Code for Jupyter Notebooks (because I couldn't get it to work reliably when served to a web browser as instructed) is that VS Code doesn't automatically configure each notebook to use the Python interpreter associated with the active environment. I have to manually select it for each one that I'd opened before realising the problem and assigning the correct interpreter to the workspace.

It seems from the VS Code documentation that it should automatically find the relevant interpreter for environments found by conda env list, but that didn't work for me. So it would be useful to give the tip on how to set the interpreter location for the workspace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants