Code panel not working

https://learninghub.kx.com/forums/topic/code-panel-not-working

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

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.

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.

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