What's the "//?" in the Code Editor
chenge

chenge @chenge

About: Ruby, and learn Rust, Go, Elixir, Erlang...

Location:
China
Joined:
Sep 10, 2017

What's the "//?" in the Code Editor

Publish Date: Jan 23 '19
9 8

"//?" can eval instantly. I saw it in this short JS teaching video. It seems cool. What plugin is it?

Comments 8 total

  • Cobus Kruger
    Cobus KrugerJan 23, 2019

    It's Quokka.

    I found the answer on the instructor's GitHub page, here: github.com/jordanhudgens/vscode-se...

    • chenge
      chengeJan 23, 2019

      Really thanks.

    • chenge
      chengeJan 23, 2019

      Quokka can give hint, but how to get "//?" effect?

    • Lee
      LeeJan 23, 2019

      Does it say what the // and //? Is? I’m on mobile, and the full readme isn’t loading.
      On my Mac and Windows, I see neither // nor //? to begin with.

      • Cobus Kruger
        Cobus KrugerJan 23, 2019

        So actually, I didn't know about it until today. I just spotted the extension listed on that GitHub page.

        Fortunately, I could never let a good mystery go to waste.

        Here:
        quokkajs.com/docs/index.html

        The page is chock-full of video animations, including some showing how to use the comments.

        Actually, the extension seems pretty amazing.

        • chenge
          chengeJan 24, 2019

          Cool, I find it in doc. Live Feedback.

          • chenge
            chengeJan 24, 2019

            //? is in the pro version.

            Free version is fun and useful.

  • Jose Ross Barredo
    Jose Ross BarredoJan 23, 2019

    // is a symbol for a single-line comment in JavaScript. My best guess is for like line 9, what he is trying to imply is he is adding a short documentation for the expected result.

Add comment