GNU General Public License v3.0

项目介绍

jspw/VS-Code-Config 是一个托管在 GitHub 上的开源项目,采用 GNU General Public License v3.0 许可证,目前获得 157 个 Star、55 次 Fork。

仓库全名
jspw/VS-Code-Config
开源许可证
GNU General Public License v3.0
Star 数
157
Fork 数
55
未关闭 Issue
1

README 摘要

VS Code Config [!IMPORTANT] Newly Added Support for RUST Rust : Linux File MacOS File Intro This repository contains some configuration files for Visual Studio Code that will give you a better experience while practicing competitive programming in a sense of easy input & output. Back Story Generally we used to use Code Blocks for practicing competitive programming back then (2018). It has everything build in there…

完整内容见 GitHub 原始 README 或本页 。

常见问题

VS-Code-Config 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 VS-Code-Config 的源码?

可以直接克隆仓库:git clone https://github.com/jspw/VS-Code-Config.git,默认分支为 main;安装与运行步骤见仓库 README。

VS-Code-Config 最近还在维护吗?

仓库最近一次更新为 2025年12月5日,当前有 1 个未关闭 Issue;Star 数为 157,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

VS Code Setting (Live input output) to make competitive programming easy and program analysis !

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
268
价值分
110
活跃状态
活跃

README

VS Code Config

Important 重要

Newly Added Support for RUST

Rust :

How It Looks Like

Intro

This repository contains some configuration files for Visual Studio Code that will give you a better experience while practicing competitive programming in a sense of easy input & output.

Back Story

Generally we used to use Code Blocks for practicing competitive programming back then (2018).

It has everything build in there. You just need to create the .cpp or .c file and run the code by pressing the run button. Then the terminal came up and you put the inputs and get the outputs in the terminal there.

You might be a good coder but I had to run and test my code multiple times to get the correct output. Also I was not a fan of codeblocks as it looks very odd. And at the same time, VS Code also crosses my way. Then I started using it and I found it very useful. But the problem was, I had to run the code in terminal and give inputs and get outputs. So I thought of making a configuration file that will make my life easier. And here it is.

How It Works

VS Code has their way of doing things. It has concept of workspace and tasks.You can open a folder as workspace and do your stuffs. You can also configure the workspace according to your need. There is a .vscode folder in the workspace folder where you can put your configuration files. settings.json is the settings for your current workspace and another important file is tasks.json file which can be configured to build & run your code with some shortcuts. We have used this tasks.json file to make our life easier.

Basically we can set the commands that will run when the shortcut is being used. So, the config file includes building, running the code and then taking input from a file and giving output to another file. Then you just need to write your code, give inputs in the input file and press the shortcut. You will get the output in the output file.

How To Configure (OS Wise)

Note: The README files are written for C/C++ only. You can follow the same steps for other languages too.

Available Language Config Files

How To Use

  • Open your workspace Folder where you will code your shit.

    • Open VS Code window
    • Then you can go to Menu -> File -> Open Folder ... FILE | MENU Choose Folder
  • Create your .c or .cpp file,

  • Write code and give inputs in input.txt file

  • Press Ctrl+Shift+b and your output will be in the output.txt file.

Notes

  • Make sure your mouse cursor is clicked or focused on the cpp file editor while you are pressing the shortcuts
  • I have came to know that some new comers or vscode users sometimes just open the file in vscode instead of opening as folder and press Ctrl+Shift+b which will not work. So please open vscode in your desired folder.

Happy coding :3 (Extra cheese?)

评论

暂无评论