I started my project a couple months ago. A couple weeks ago, I discovered CSIDE. I’ve since imported my project and have been happily working on it… until today.
It’s worth noting that before CSIDE, I used double spaces as my indents.
I’ve started having these issues pop up about “illegal mixing of spaces and tabs” and “tabs and spaces appear on the same line”. It takes me about 5 minutes to fix this each time it pops up because it’s often incredibly annoying to figure out and fix the problem.
Today, I finally got fed up and used the “Convert all spaces to tabs” option. Seems like it would fix it, right? Wrong. Here’s a snippet of the original code (from the character setup section):
*choice
#(Choose from traditionally female names.)
[i]First Name:[/i]
*choice
#Amanda.
*set first_name "Amanda"
*goto last_name
#Julia.
*set first_name "Julia"
*goto last_name
#Sarah.
*set first_name "Sarah"
*goto last_name
#Hope.
*set first_name "Hope"
*goto last_name
#June.
*set first_name "June"
*goto last_name
#Viola.
*set first_name "Viola"
*goto last_name
#(Look at other names.)
*goto name
Here’s the same part, post-conversion:
*choice
#(Choose from traditionally female names.)
[i]First Name:[/i]
*choice
#Amanda.
*set first_name "Amanda"
*goto last_name
#Julia.
*set first_name "Julia"
*goto last_name
#Sarah.
*set first_name "Sarah"
*goto last_name
#Hope.
*set first_name "Hope"
*goto last_name
#June.
*set first_name "June"
*goto last_name
#Viola.
*set first_name "Viola"
*goto last_name
#(Look at other names.)
*goto name
I ended up going through and, by hand, forcing it to use smart indentation for every line, aka deleting the line break and all spaces/tabs before the line, then pressing return again. This took me about an hour just for startup.txt (I’ve started on my next scene just a little bit). Here’s what that part looked like after this:
*choice
#(Choose from traditionally female names.)
[i]First Name:[/i]
*choice
#Amanda.
*set first_name "Amanda"
*goto last_name
#Julia.
*set first_name "Julia"
*goto last_name
#Sarah.
*set first_name "Sarah"
*goto last_name
#Hope.
*set first_name "Hope"
*goto last_name
#June.
*set first_name "June"
*goto last_name
#Viola.
*set first_name "Viola"
*goto last_name
#(Look at other names.)
*goto name
It looks totally fine, except… there are spaces and tabs on the same line. A lot of them. To emphasize: I did this using smart indentation. This is CSIDE, failing to convert correctly, and failing to intent correctly. I need help; I can’t keep having to fix these stupid issues every time they pop up. Any tips would help immensely. Thank you so much!
