Codea 3.10 Beta - New Beta Link

Can we get a “collapse” button for the area for personal projects? I have tons of them and I’d like to be able to get to the examples quickly when I need to, which I can’t when I have to scroll through all my own projects each time. Attached video shows how long my scroll is.

1 Like

@UberGoober - you used to be able to put projects into folders in the Codea root. The folder needs a unique name and will be displayed in text with a > symbol at the end. Tapping on that line opens a window showing the projects by icon underneath.

I know that the folders still show up as text lines but I’ll check if you have the same access as the change in project structure and filing may have affected it.

Edit: Yup still works and runs the projects. Give it a try.
Remember you need to copy/move your projects with the apple file manager. I’d duplicate one of your projects and try to move that into a suitably named folder and check it out.

P.s that’s a lot of projects. I think I had over a hundred old projects/versions when I was using this method.

But I want tons of projects in my root directory.

I can collapse all the other project collections including the examples, it seems reasonable to ask to be able to collapse this one too.

1 Like

I’ve been having issues with parameter.action. A routine that is fine when run straight from setup freezes Codea when run from a parameter.action.

The function just loaded some tabs from other projects, so nothing too complicated but did use a bit of memory.

I’ve also had multiline comments mess up the indentation. I’ve not spotted a particular reason for it, some of the ones that mess it up have lists in them, so like:

--[[
Some introductory text.
1. First item
2. Second item
    3. Third item
    --]]

but not all do, and also some comments decrease the indentation.

1 Like

I have a feeling I know what the comment indentation issues are caused by, I’ll look into it

On parameter.action, if you find a way to reproduce this it would be great to fix

1 Like

I don’t see the problem with the ability to store all related Codea projects in collapsible section (a la Craft and Examples). So you open them up as and when you need them. You should be able to drag new ones to the opened sections and drop them in or drag them out.

It would reduce the clutter at the top of the project list.

Thanks for this! Added to my list to fix

This might be something to tackle after the current beta is released (3.9.5)

Probably not a perfect solution, but you can make other folders inside your Codea Documents folder (using the Files app). Then you can drag and drop your projects into your own sections from the project browser. Those other sections will be collapsable

I’m super aware you can do the folder thing.

What I didn’t show in the video is me scrolling further down to the even larger amount of projects—maybe twice as many or more—I have stored in folders.

1 Like

Actually @LoopSpace if you have any multi-line comments that are playing up, it would be good to get a sample, as I’m not able to reproduce with a simple list

Hah, of course you are, sorry for dumb suggestion. I’ll look into how we can make the regular documents collapsable soon (mostly, I didn’t want to give it a title like “Documents”)

Perhaps we can modify how collapsing works so that the first row projects in each section is still shown (that way you still get the “Create New” button in the top section), and expanding them reveals the rest…

@sim partial dismissal issue seems to be fixed.

Did you notice my remark about the ‘cut option’ when selecting text in the editor? Usually it is absent on first selection then appears on the second selection. Also often delete key does not delete the selection. I find this quite annoying!!

1 Like

I haven’t seen this happen yet, with the cut button / delete not working, what version of iOS are you on? Software or hardware keyboard?

ios 17.2, hardware keyboard (the apple magic one)

1 Like

@sim hmmm, i was going to make a video to show the problem, but now it is behaving! So maybe it went away. I will keep an eye on it!!

1 Like

Simeon, here’s the comment that causes the issue.

--[[
This is a project for distributing some of my library code. Included are:

* MeshExt: extension for meshes to add lots of standard shapes such as spheres, cylinders, cones, etc
* PseudoMesh: create a mesh-lite object that can be used to use mesh creation code (such as in MeshExt) to build an object to then convert to a model for inclusion in Craft code
    * VecExt: extensions to all of the vector and matrix objects to add functionality
    * ColourExt: extension to the color object to add functionality
    
    This project does nothing, and the code in the Main tab is just for me to easily maintain this project and keep it suitable for uploading to WebRepo.
    
    --]]
1 Like

Mysterious! Thank you, that comment breaks my formatting too. I’ll track it down

1 Like

I suspect the very long line might also be a factor.

@sim @John i don’t seem to be able to pause the physics? I expected ‘scene.physics.paused=true’ to stop the gravity, movement, collisions etc., but it does not seem to do so? Easiest way to test is to add this line in the craft AR example.

@sim for me, some of the craft examples seem to hang codea (even after updating the examples)…e.g. Block Library

1 Like