Skip to content

Deep0Thinking/vscode-CP-codeforces

Repository files navigation

README

A VSCode extension that enables users to view and solve Codeforces problems within VS Code.

Requirements

Demonstration

demo

Features

Sign in with Codeforces handle

enter-user-codeforces-handle-demo

Fetch user's solution status

fetch-users-solution-status-demo

Refetch user's solution status

refresh-button-demo

Toggle problems' rating order

toggle-rating-order-button-demo

Preview problems

preview-problems-demo

Set preferred coding language

set-preferred-coding-language-demo

Set template code to initialize the solution file

set-template-code-to-initialize-the-solution-file-demo

Extension Settings

Setting Name Description Default Value
CPcodeforces.userHandle The last valid Codeforces user handle entered. ""
CPcodeforces.defaultSolutionsFolderPath The absolute path for saving solutions. (Leave blank to use the default home path.) ""
CPcodeforces.notifyPreferredLanguage Notify if the preferred coding language is not set. true
CPcodeforces.preferredCodingLanguage Preferred coding language for problem solutions. Supported languages: C, C#, C++, D, Go, Haskell, Java, JavaScript, Kotlin, OCaml, Pascal, Perl, PHP, Python3, Ruby, Rust, Scala ""
CPcodeforces.notifySolutionTemplate Notify if the solution template is not set. true
CPcodeforces.solutionTemplate Template code for the solution file of the preferred language. ""
CPcodeforces.sortOrder Sort order for the All problems list. Supported options: "None", "RatingAsc", "RatingDesc "None"
CPcodeforces.difficultySortOrder Sort order for the Difficulty folders list. Supported options: "RatingAsc", "RatingDesc" "RatingAsc"

Release Notes

Refer to CHANGELOG

Attribution

The codeforces-icon used in this repository are from the LibreICONS by Dennis Suitters, and are licensed under the MIT License.

License

MIT License