- This topic has 10 replies, 3 voices, and was last updated 4 months ago by kdv.
-
AuthorPosts
-
2024-07-16 at 9:19 am #75959studiogijsCustomer
I want to organize my code better and notice that I cannot move functions to a different tab, because cutting a function deletes all the calls to it as well. Is there a way around this?
2024-07-16 at 9:28 am #75960kdvParticipantIs there a way around this?
In puzzles – no. You can move your procedures in visual_logic.xml. It’s a little complicated task but with the help of Notepad++ it’s much easier…
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-07-16 at 9:54 am #75964coyeParticipantMaybe package them into a procedure and then use it in another tab? https://soft8soft.com/docs/manual/en/puzzles/Procedures.html
2024-07-16 at 10:08 am #75967studiogijsCustomerPackaging them in another procedure doesn’t solve much, you will still need to find the procedure on the page where it resides. And finding stuff in puzzles is one of the weakest parts of it, because it doesn’t scroll to the things you look for.
I’ll try the notepad++ solution, thanks
2024-07-16 at 11:52 am #75972kdvParticipantIn puzzles – no.
Correction. There is one simple workaround. Replace all procedure calls this way and they won’t disappear when you move your procedures with Ctrl+X/Ctrl+V to another tab.
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-07-16 at 12:32 pm #75979studiogijsCustomerthanks, will do that in future projects. I looked into the notepad++ solution, but that seemed tedious and tricky.
Your solution still means I have to carefully look where the procedures are called.2024-07-16 at 12:38 pm #75980kdvParticipantstill means I have to carefully look where the procedures are called.
Actually, nope.
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-07-16 at 12:57 pm #75981studiogijsCustomerwell, not if I do that from the get go, but if I have to replace all calls in my current solution, it still means I have to make sure I replace them all.
2024-07-16 at 1:21 pm #75982kdvParticipanthttps://drive.google.com/file/…/view?usp=sharing
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-07-16 at 1:41 pm #75983studiogijsCustomerthanks for sharing the video, in that case moving the function seems quite feasible and faster than replacing the function calls.
But the phrase you quoted refers to the second workaround, not the first.
2024-07-16 at 1:45 pm #75984kdvParticipantAgree. The second workaround is mainly for future projects. Replacing all procedure calls could take a lot of time and attention )))
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
-
AuthorPosts
- You must be logged in to reply to this topic.