Skip to content

Commit d164d18

Browse files
Merge pull request #1 from Deep0Thinking/dev
v0.0.3
2 parents f24893f + 9093877 commit d164d18

22 files changed

+1374
-859
lines changed

CHANGELOG.md

+37-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,42 @@
11
# Change Log
22

3-
All notable changes to the "codeforces" extension will be documented in this file.
3+
All notable changes to the "vscode-CP-codeforces" extension will be documented in this file.
44

5-
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
5+
## [0.0.3]
66

7-
## [Unreleased]
7+
### Changes
88

9-
- Initial release
9+
- Add more supported coding languages
10+
- Add "RECENT" directory for problems
11+
- Introduce icon for sorting in "DIFFICULTY", "RECENT" and "ALL" directories
12+
- Introduce welcome page for login
13+
- Store user-handle and sorting preferences in extension settings
14+
- Implement user preferences for coding languages and template
15+
- Include "contestId-index" in question filename
16+
- Add tags in problem descriptions
17+
- Default to keeping all folders collapsed
18+
- Add notifications prompting users to check out extension settings
19+
- Remove half-passed icon of problems for clarity
20+
- Remove redundant files and code blocks
21+
- Code formatting and cleanup
22+
23+
### Fixed
24+
25+
- Ensure solution files are created with absolute paths
26+
- Check validity of user handle
27+
28+
## [0.0.2]
29+
30+
### Changes
31+
32+
- Added user status and submission sync
33+
- Added problems files sorting modules
34+
- Updated problems files naming display
35+
- Added coding module for every problem file
36+
- Added submit button with defective submit module
37+
38+
## [0.0.1]
39+
40+
### Initialized
41+
42+
- Users can view the all the available Codeforces problems and the problems descriptions within VSCode.

README.md

+29-15
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,60 @@ A VSCode extension that enables users to view and solve Codeforces problems with
44

55
# Demonstration
66

7-
![demonstration](https://user-images.githubusercontent.com/103571424/232390418-239ee6ba-2666-41c6-9163-f5f72566d863.mov)
7+
![demo](https://github.com/Deep0Thinking/vscode-CP-codeforces/assets/103571424/c366caaa-32ad-4c99-82a6-da7d88a48fb6)
88

99
# Features
1010

11-
## Fetch problems status with user handle
11+
### Sign in with Codeforces handle
1212

13-
![Enter user handle](/resources/enter-user-handle-demo.png)
13+
<img width="355" alt="enter-user-codeforces-handle-demo" src="https://github.com/Deep0Thinking/vscode-CP-codeforces/assets/103571424/536142f3-a161-48fc-9262-1026ce385db9">
1414

15-
![Enter your codeforces handle](/resources/enter-your-codeforces-handle-demo.png)
15+
### Fetch user's solution status
1616

17-
Open vscode command palette (`Shift` + `Command` + `P` or `Ctrl` + `Shift` + `P`), choose `Codeforces: Enter User Handle`, then enter your handle.
17+
<img width="360" alt="fetch-users-solution-status-demo" src="https://github.com/Deep0Thinking/vscode-CP-codeforces/assets/103571424/2a7585cc-68a5-4091-87d7-db7ca6f3668c">
1818

19-
## Refresh and refetching
19+
### Refetch user's solution status
2020

21-
![Refresh button](/resources/refresh-button-demo.png)
21+
<img width="411" alt="refresh-button-demo" src="https://github.com/Deep0Thinking/vscode-CP-codeforces/assets/103571424/91be559c-8301-48f6-b541-1a1e6f53adab">
2222

23-
Click on the `Refresh` button next to the `All` to refresh and refetching the problems status.
23+
### Toggle problems' rating order
2424

25-
## Sorting problems
25+
<img width="463" alt="toggle-rating-order-button-demo" src="https://github.com/Deep0Thinking/vscode-CP-codeforces/assets/103571424/7a76c737-20af-44e8-8b75-14819b7ffbd1">
2626

27-
![Sorting options button](/resources/sorting-options-button-demo.png)
27+
### Preview problems
2828

29-
![Sorting options button](/resources/choose-a-sorting-option-demo.png)
29+
<img width="1255" alt="preview-problems-demo" src="https://github.com/Deep0Thinking/vscode-CP-codeforces/assets/103571424/708189a6-53c7-480f-8512-15d3446d6f49">
3030

31-
Click on the `More Actions` button next to the `All` to choose the sorting option for the problems.
31+
### Set preferred coding language
3232

33-
# Requirements
33+
<img width="389" alt="set-preferred-coding-language-demo" src="https://github.com/Deep0Thinking/vscode-CP-codeforces/assets/103571424/8fbec9cf-c55c-435b-a3ce-497608e856b3">
3434

35+
### Set template code to initialize the solution file
3536

37+
<img width="474" alt="set-template-code-to-initialize-the-solution-file-demo" src="https://github.com/Deep0Thinking/vscode-CP-codeforces/assets/103571424/d6e2a336-cd05-4d30-ae74-14f97b41376e">
3638

37-
# Extension Settings
39+
# Requirements
3840

41+
- [VS Code 1.77.0+](https://code.visualstudio.com/updates/v1_77)
3942

43+
# Extension Settings
4044

41-
# Known Issues
45+
| Setting Name | Description | Default Value |
46+
|--------------|-------------|---------------|
47+
| `CPcodeforces.userHandle` | The last valid Codeforces user handle entered. | `""` |
48+
| `CPcodeforces.defaultSolutionsFolderPath` | The absolute path for saving solutions. (Leave blank to use the default home path.) | `""` |
49+
| `CPcodeforces.notifyPreferredLanguage` | Notify if the preferred coding language is not set. | `true` |
50+
| `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` | `""` |
51+
| `CPcodeforces.notifySolutionTemplate` | Notify if the solution template is not set. | `true` |
52+
| `CPcodeforces.solutionTemplate` | Template code for the solution file of the preferred language. | `""` |
53+
| `CPcodeforces.sortOrder` | Sort order for the All problems list. Supported options: `"None"`, `"RatingAsc"`, `"RatingDesc` | `"None"` |
54+
| `CPcodeforces.difficultySortOrder` | Sort order for the Difficulty folders list. Supported options: `"RatingAsc"`, `"RatingDesc"` | `"RatingAsc"` |
4255

4356

4457

4558
# Release Notes
4659

60+
Refer to [CHANGELOG](https://github.com/Deep0Thinking/vscode-CP-codeforces/blob/master/CHANGELOG.md)
4761

4862
# Attribution
4963

0 commit comments

Comments
 (0)