Log In  

Hi, just wondering if there's a keyboard shortcut to comment/uncomment selected text in the code editor. I use this a lot in my process in other environments, and was not able to find anything by guessing, nor by searching (including in pico-8 docs). This may be because I am bad at searching and guessing, or maybe it doesn't exist (yet)? I would also be interested in ideas for how to edit the code editor code to include this functionality.
Thanks!

P#144875 2024-03-28 17:51

1

You can check /system/lib/gui_ed.lua, it looks like ctrl-* shortcuts defined here from line 1264. There are ctrl+x,c,v,z,y,a,f,g
Also you can try to make your own shortcuts

P#144876 2024-03-28 18:05
1

for pico 8 you can strg + b to comment/uncomment any selected text. I kinda just found out about it a while ago.

P#144877 2024-03-28 18:07

You really need to do a standard search to find accurate information. I completely agree with Kingrats091's suggestion. basketbros

P#147170 2024-04-23 03:38

[Please log in to post a comment]