kimmyh51
13 years agoContributor
Code Editor
There are a couple of things about the code editor, that while I realise they are hardly critical, are starting to drive me nuts when I am working in it all day. I was just wondering why it is designed to behave this way:
1(most annoying)
When I execute a script with debug turned on, it opens up not only the scripts which contain code which is executed when the script is running, but a whole pile of totally unrelated scripts from the same project. So I end up with 20 tabs open and then have muck about with the drop down arrow or back and forth trying to find the one I am working on. Ironically if one is closed it often is the one that I was working on and should be open.
I realise I can turn off debugging, however I want to see the script being executed.
I just dont understand why totally random scripts -- which are definatel;y completely 110% not ever in a million years, being executed, refereed to or in any other way, shape or form, related to the ones being executed -- are always opened up in the tabs? Its not even the same ones I can run the same script multiple times over, and get different 'random extras' pop up after each run.... Constantly closing them all is doing my head in slowly but surely
I can understand that it has to load the executed scripts if I have debugging on, but these additional random unrelated ones???
I know they are unrelated as I have done the following
closed all tabs but the one i am about to execute
run a script
removed random scripts which were opened after the script was executed (as in removed from the project). Clearly if the scripts I was removing were actually being executed and I just didnt realise that - then I would expect to get some errors if I run the same script again, yes?
run script again - no errors for missing objects etc.
Ive noticed this on version 6, 7 8 and 9 of TC.
2: The senection of text in the code editor. The way when I click somewhere it tends to select - seemingly at random, several lines above and below where I click. So I click where I want the cursor, and sometimes this unselects the few lines of text, other times it does not, sometimes I have to click several times. MANY times when I am in a hurry, this has resulted in me accidentally deleting a whole pile of code.
I know I can turn this off, as I tried that - then if I select anything and hit backspace (ie when I want to delete it) I cannot and have to delete things with the backspace button
Is there a reason the navigation with the cursor and selection of code does not work the way it does in every other text editor, or IDE Ive seen? Also if I use the left/right arrow keys to move to the start or end of the selected at random section, it takes me one past that - which is kinda weird...
On both the above - I have tried the settings which would disable the behaviour - but as noted above they result in even less desirable behaviour
1(most annoying)
When I execute a script with debug turned on, it opens up not only the scripts which contain code which is executed when the script is running, but a whole pile of totally unrelated scripts from the same project. So I end up with 20 tabs open and then have muck about with the drop down arrow or back and forth trying to find the one I am working on. Ironically if one is closed it often is the one that I was working on and should be open.
I realise I can turn off debugging, however I want to see the script being executed.
I just dont understand why totally random scripts -- which are definatel;y completely 110% not ever in a million years, being executed, refereed to or in any other way, shape or form, related to the ones being executed -- are always opened up in the tabs? Its not even the same ones I can run the same script multiple times over, and get different 'random extras' pop up after each run.... Constantly closing them all is doing my head in slowly but surely
I can understand that it has to load the executed scripts if I have debugging on, but these additional random unrelated ones???
I know they are unrelated as I have done the following
closed all tabs but the one i am about to execute
run a script
removed random scripts which were opened after the script was executed (as in removed from the project). Clearly if the scripts I was removing were actually being executed and I just didnt realise that - then I would expect to get some errors if I run the same script again, yes?
run script again - no errors for missing objects etc.
Ive noticed this on version 6, 7 8 and 9 of TC.
2: The senection of text in the code editor. The way when I click somewhere it tends to select - seemingly at random, several lines above and below where I click. So I click where I want the cursor, and sometimes this unselects the few lines of text, other times it does not, sometimes I have to click several times. MANY times when I am in a hurry, this has resulted in me accidentally deleting a whole pile of code.
I know I can turn this off, as I tried that - then if I select anything and hit backspace (ie when I want to delete it) I cannot and have to delete things with the backspace button
Is there a reason the navigation with the cursor and selection of code does not work the way it does in every other text editor, or IDE Ive seen? Also if I use the left/right arrow keys to move to the start or end of the selected at random section, it takes me one past that - which is kinda weird...
On both the above - I have tried the settings which would disable the behaviour - but as noted above they result in even less desirable behaviour