![LeetCode Helper]
- Overview
- Features
- Installation
- Usage
- Extension Settings
- Known Issues
- Release Notes
- Contributing
- Code of Conduct
- FAQs
- Troubleshooting
- License
LeetCode Helper is a Visual Studio Code extension designed to streamline the process of solving LeetCode problems. It provides a seamless interface to write, test, and debug your solutions directly within VS Code.
- Fetch LeetCode Problems: Quickly fetch problem statements and test cases.
- Run Test Cases: Execute your code against provided test cases and see the results instantly.
- Solution File Management: Automatically generate and manage solution files.
- Error Handling: Detailed error messages to help you debug your code.
![Features]
- Open VS Code.
- Go to the Extensions view by clicking the Extensions icon in the Activity Bar on the side of the window.
- Search for
LeetCode Helper
. - Click Install.
- Open the Command Palette (
Ctrl+Shift+P
). - Type
LeetCode Helper: Fetch Problem
to fetch a new problem. - Write your solution in the generated file.
- Run your test cases using
LeetCode Helper: Run Test Cases
.
![Usage]
This extension contributes the following settings:
leetcodeHelper.enable
: Enable/disable this extension.leetcodeHelper.language
: Set the default programming language for solutions.
- Some edge cases might not be handled correctly.
- Limited support for languages other than Python and C++.
- Initial release of LeetCode Helper.
We welcome contributions to improve this project. Please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Make your changes and commit them with clear and concise messages.
- Push your changes to your forked repository.
- Create a pull request to the main repository.
We expect all contributors to adhere to our Code of Conduct. Please read it before contributing.
Q: How do I fetch a LeetCode problem?
A: Use the command LeetCode Helper: Fetch Problem
from the Command Palette.
Q: How do I run test cases?
A: Use the command LeetCode Helper: Run Test Cases
from the Command Palette.
Q: What languages are supported? A: Currently, Python and C++ are supported.
If you encounter any issues, try the following steps:
- Ensure you have the latest version of the extension installed.
- Check the extension settings to ensure they are configured correctly.
- Restart VS Code.
- If the issue persists, please open an issue on the GitHub repository.
This project is licensed under the MIT License - see the LICENSE file for details.
- Error Handling: Improved error handling in
extension.ts
andexecuteCode.ts
to capture actual output even when test cases fail. - Output Normalization: Added normalization for output comparison.
- Logging: Enhanced logging for better debugging.
- Solution File Management: Automatically generate and manage solution files.
![Footer]