{"id":32596216,"url":"https://github.com/schlosslab/vscode-code-club","last_synced_at":"2025-10-30T04:58:17.569Z","repository":{"id":46261250,"uuid":"421906503","full_name":"SchlossLab/vscode-code-club","owner":"SchlossLab","description":"Code club to introduce VS Code","archived":false,"fork":false,"pushed_at":"2021-11-03T16:03:54.000Z","size":28,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2023-08-09T16:40:44.361Z","etag":null,"topics":["code-club"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SchlossLab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-27T17:09:35.000Z","updated_at":"2023-08-09T16:40:44.361Z","dependencies_parsed_at":"2022-08-02T14:15:23.210Z","dependency_job_id":null,"html_url":"https://github.com/SchlossLab/vscode-code-club","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/SchlossLab/vscode-code-club","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SchlossLab%2Fvscode-code-club","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SchlossLab%2Fvscode-code-club/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SchlossLab%2Fvscode-code-club/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SchlossLab%2Fvscode-code-club/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SchlossLab","download_url":"https://codeload.github.com/SchlossLab/vscode-code-club/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SchlossLab%2Fvscode-code-club/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281748722,"owners_count":26554822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-30T02:00:06.501Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-club"],"created_at":"2025-10-30T04:58:03.713Z","updated_at":"2025-10-30T04:58:17.561Z","avatar_url":"https://github.com/SchlossLab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vscode-code-club\n\n## Introduction\n\nThis repo is meant to be used during a live demonstration of the VS Code IDE during a Schloss Lab Code Club. In it you will find setup instructions, and various file types that will help in this demo.\n\n---\n\n## Setup\n\n1. Please download VS Code from [here](https://code.visualstudio.com/download). (If you are on a mac, make sure you drag VS Code to your applications folder after it downloads!)\n2. If you'd like to practice using the Source Control with Github, make sure your Git credentials are updated on your local machine/Great Lakes!\n   * see [Creating a personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\n3. If you'd like to use the snakemake portion of this lesson, please make sure to have snakemake installed. e.g. with [miniconda3](https://docs.conda.io/en/latest/miniconda.html):\n\n    \u003e ```{bash}\n    \u003e conda create -n snakemake snakemake\n    \u003e ```\n\n---\n\n## Visual Studio Code walkthrough\n\n### General introduction and extension install\n\nVS Code is a free IDE from microsoft that can be used with a variety of programming languages. It is completely customizable for exactly your needs. The use of extensions allow the user to add just the features they want. VS Code supports debugging, syntax highlighting, code completion, GitHub, keyboard shortcuts, and more! This repository mimics a typical Schloss Lab project directory to demonstrate the utility of VS Code for our everyday work.\n\nTo get the most out of VS Code, you'll want to install extensions for the languages and types of activities you'll be doing. Some useful extensions that we have identified are listed below:\n\n* VSCode on Great Lakes:\n  * [remote-SSH](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh)\n* Snakemake\n  * [Snakemake Language](https://marketplace.visualstudio.com/items?itemName=Snakemake.snakemake-lang)\n* Github Functions\n  * [GitLens](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens)\n  * [GitHub Pull Requests and Issues](https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github)\n  * [Git Graph](https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph)\n* R specific\n  * [R](https://marketplace.visualstudio.com/items?itemName=Ikuyadeu.r)\n  * [R Markdown all-in-one](https://marketplace.visualstudio.com/items?itemName=TianyiShi.rmarkdown)\n* Fun \u0026 convenient!\n  * [Vscode-pdf](https://marketplace.visualstudio.com/items?itemName=tomoki1207.pdf) - allows for viewing PDFs\n  * [HTML Preview](https://marketplace.visualstudio.com/items?itemName=tht13.html-preview-vscode) - allows for HTML previews\n  * [Indent to Bracket](https://marketplace.visualstudio.com/items?itemName=LAK132.indent-to-bracket) - automatic indentation\n  * [Rainbow csv](https://marketplace.visualstudio.com/items?itemName=mechatroner.rainbow-csv) - colored columns for csv/tsv files\n  * [Path Intellisense](https://marketplace.visualstudio.com/items?itemName=christian-kohler.path-intellisense) - filename autocompletion\n  \nAdditionally, to configure specific settings in VS Code you can either used the settings user interface or edith the settings.JSON file directly as described [here](https://code.visualstudio.com/docs/getstarted/settings)\n  \n**Walkthrough of the project directory**\n\n```{bash}\n.\n├── Makefile\n├── README.md\n├── code\n│   ├── favorites_table.R\n│   ├── make_plot.R\n│   └── report.Rmd\n├── data\n│   ├── favorites.csv\n├── envs\n│   └── r-tidyverse.yaml\n└── snakefile\n```\n\n### Github functionality\n\n**Some extensions to get the most out of Github in VScode:**\n\nGit Issues and Pull Requests, Git Graphs, Git Lens\n\n**Follow-along steps to participate in this project**\n\n 1. Using the favorites.csv as a template, fill out a single line with your answers for the headers. **Save-As** your edits to a new file in the data folder with the pattern \"favorites_{initials}.csv\"\n 2. We will `git commit` our new file using VScode Source Control!\n 3. we will `git push` our new files to the repo. There should be a unique file for everyone who is participating.\n 4. We will `git pull` all the new files into our repo.\n\nRunning through these steps should result in everyone having several favorites files in their data folder. Next we will use them in our data analysis.\n\n### R and R Markdown\n\n**Some extensions to get the most out of R/R Markdown in VScode:**\n\n* R\n* R Markdown All in One\n* Indent to Complete\n\nR package to to install:\n\n```{R}\ninstall.packages(\"languageserver\")\n```\n\nAlso recommended is installing the [radian console](https://github.com/randy3k/radian) for R.\n\n### Putting it all together\n\nMakefiles and Snakemake files have their own syntax highlighting and are easy to create, deploy and analyze output all from the same window with a variety of languages and functions.\n\nTo run all the steps of the example project with snakemake run the following code in the project home directory:\n\n```{bash}\nsnakemake --cores all --use-conda\n```\n\nIf you dont have snakemake configured, you can use the makefile instead. To run the makefile and produce all expected output files, execute this command from the top level of the project directory:\n\n```{bash}\nmake all\n```\n\nYou can remove all the output files by running:\n\n```{bash}\nmake clean\n```\n\n---\n\n## Additional Resources\n\n[VS Code documentation](https://code.visualstudio.com/docs)\n\n[A Fresh Start for R in VS Code](https://medium.com/analytics-vidhya/a-fresh-start-for-r-in-vscode-ec61ed108cf6)\n\n[R Markdown Notebook in VS Code](https://yingqijing.medium.com/r-markdown-notebook-in-vs-code-3adb5a61417a)\n\n[Youtube - Ken Run: Using R in VS Code](https://youtu.be/9xXBDU2z_8Y)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschlosslab%2Fvscode-code-club","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschlosslab%2Fvscode-code-club","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschlosslab%2Fvscode-code-club/lists"}