[CSIDE] The ChoiceScript IDE

Sent you a DM to avoid spamming the thread, I can help more there if you want.

2 Likes

Hey all. I think this may have been brought up a long time ago, but is there a way to collapse/hide code in CSIDE? It would be particularly handy for a lot of the areas where you branch the path, then bring it back in.

2 Likes

Yes, any blocks of code that are inside of something like *choice or *if will have a little arrow next it on the left. You can click on that to collapse it

1 Like

Maybe I need to turn some other setting on, because I’m not seeing anything.

What’s version are you using? Windows/Mac/browser? What’s the version number? I don’t see any settings that would do that in particular

v 1.0.1 on Windows.

Oh that’s probably why! Open your settings and scroll all the way down. Your update settings are probably on none. Change that to either Stable or Development and you’ll get them. I’m on 1.4.4 on this computer

1 Like

It’s on Stable, but I keep getting some error message, which I think is it trying to update, which looks like it might be an ongoing problem from posts up above.

I suppose for now, I’ll have to muscle through the old-fashioned way. Still a damn-sight nicer than working in Notepad++.

1 Like

This is probably an @CJW question then. Hope you can get it resolved! Have you tried reinstalling it?

Thanks for the tag @WallyWorld.
@Raven_de_Hart if it’s the issue that’s abound in this thread, I’ve added you to a DM with a workaround.

2 Likes

I believe I have been dealing with the same update issues.

DM’d.

1 Like

I need your help on this one.

How do I export my game files in the ChoiceScript IDE? I’ve tried clicking the Export button in the menu, but it doesn’t seem to work. Is there another way to download my files, or could you guide me through the proper steps to export my project successfully? I’ve learned some of the basics of ChoiceScript, but I’m struggling to understand how to export my files from the IDE. Despite my efforts, I can’t seem to figure it out. I know some will say ā€œHow did you end up in this situation? The reason is simple: I want to test my game on CoGdemo. To do that, I need to upload my files, but I’m stuck because I don’t know how to export my work from the ChoiceScript IDE to CoGdemo.ā€

any help is appreciated

Do you know where your project folder is? Just go there and snatch the txt files.

To build on LiliArch’s answer, CSIDE just writes text files it doesn’t have any special format you need to export. To find your project’s txt files just right-click the project header file on the file explorer to the left and select ā€œopen folder/in file explorerā€ or similar (I forget the exact wording!).

What’s the workaround to update?

I’ve DMed you the guide.

Hey CJW – for years I’ve only used the built-in QT and RT in CSIDE to bugtest. But when I was just testing some revised XoR1 files, I got a persistent QT error suggesting that one of my variables was ā€œNot a number: NaNā€.

After trying and failing to find the bug, I did the step-by-step recommended on the CoG site: downloaded Node.js, downloaded the latest CS from GitHub, and ran QT from the .bat file. There, it passed with no problems.

So I don’t have a problem any more… but it’s possible that something’s up with CSIDE and QT?

1 Like