KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums KX Academy Code panel not working

  • Code panel not working

    Posted by Akash on February 12, 2025 at 7:59 am

    Hi,

    I’m not able to edit/paste my code in the code panel. I’m not able type anything in the code panel. Please look on it and resolve it as soon as possible. Please find the attached screenshot for your reference.

    Thanks!

    Akash

    mwoods replied 1 week, 3 days ago 2 Members · 3 Replies
  • 3 Replies
  • mwoods

    Administrator
    February 12, 2025 at 9:10 am

    Hi Akash, are you in the rendered version of the markdown file? You will not be able to edit code snippets there, you can edit in the unrendered version (saving file your edits will appear in the rendered version) or else just work directly in the scratchpad.

    It is a good idea to add your code to project.md and continue to keep a backup up periodically by saving, or if working in scratchpad by copy & pasting somewhere periodically.

    • Akash

      Member
      February 12, 2025 at 9:25 am

      Thanks for your reply! Yes, I’m in the rendered version of project.md file.

      If we can type the code in unrendered version of project.md and save that file, then it’ll reflect to the rendered version, and we can test/validate our code? Right?

      One more doubt – Scratchpad is only to write our codes there. We are not able to run the code from the scratchpad? Because I’m not able run it.

  • mwoods

    Administrator
    February 12, 2025 at 10:08 am

    Your code doesn’t need to be in the markdown file to validate. You just need to execute it, whether that be from file/scratchpad/elsewhere it doesn’t matter. We have some videos on Youtube showing how to use KX Developer which might help you get oriented https://www.youtube.com/watch?v=N_f38I7rqAI

    As for your code not executing in the scratchpad that is odd, can you screenshot what happens when you use CTRL+D to run a line? As shown in this video
    https://youtu.be/P8CP55sGX-k?si=CsNkRIFe0fqB9Cvi&t=243

    • This reply was modified 1 week, 3 days ago by  mwoods.

Log in to reply.