GithubHelp home page GithubHelp logo

Comments (7)

jdneo avatar jdneo commented on August 10, 2024 1

@karangoel16 Yes, actually I'm also thinking to add this.

The problem is about the experience.

My idea is:

  1. User writes test case into a txt
  2. User triggers the test command
  3. Extension asks user to select the test case file
  4. Extension uploads the test case and shows the result

What do you think? Please feel free to provide your ideas. 😄

from vscode-leetcode.

karangoel16 avatar karangoel16 commented on August 10, 2024 1

I like the idea, but as leetcode-cli works, we can make it work for user given test case.

from vscode-leetcode.

jdneo avatar jdneo commented on August 10, 2024

@karangoel16 Yes, that's actually what I'm saying. User can write their own test cases into a file, and we upload this file.
As long as the user know the format for test cases.

I guess we are in consensus, right?

from vscode-leetcode.

jdneo avatar jdneo commented on August 10, 2024

@karangoel16 Sorry, just take a look at the cli usage. Do you mean besides the user writen test case, also provide the default test case as well?

from vscode-leetcode.

karangoel16 avatar karangoel16 commented on August 10, 2024

leetcode test 378.kth-smallest-element-in-a-sorted-matrix.cpp -t '[[1,5,9],[10,11,13],[12,13,15]]\n8'

user can paste this '[[1,5,9],[10,11,13],[12,13,15]]\n8' in command section and following would run like it runs with the normal leetcode test scenario.

from vscode-leetcode.

jdneo avatar jdneo commented on August 10, 2024

Make sense, this will be more straightforward for simpler cases.

Thanks for the feedback, I'll implement this feature these days.

from vscode-leetcode.

jdneo avatar jdneo commented on August 10, 2024

New version released. Please try it out 🎉

from vscode-leetcode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.