SexScripts : Code assist too slow? - https://ss.deviatenow.com:443/viewtopic.php?f=6&t=609 Page 1 of 1

Code assist too slow?

Banjo [ Thu Jun 16, 2016 9:01 am ]

Noticed an error I don't think I've seen before when using the built-in editor/checked to open a script:

Code:
Code assist too slow (627ms > 500ms), application.editor.assistlevel=247 applied (but not saved to data.properties)


The script still runs fine, and loads in the editor okay, though I do get the "simulation aborted" message when I check it (though I find I get that for a lot of scripts that otherwise work okay).

Should this bother me?

Re: Code assist too slow?

doti [ Thu Jun 16, 2016 9:31 am ]

Those a 2 indepndent warnings :
Code:
Code assist too slow

It means the parallel thread that look at your code at every moment to put colors can not keep the pace. It will degrade to a faster mode. Some colors will be missing.
The editor is quite weak here, not the state of the art of inline interpretation.

Code:
simulation aborted

For not-simple scripts, the emulator doesn't finish, it's stopped after 5s. So some errors at the end may have been missed.

Re: Code assist too slow?

Banjo [ Thu Jun 16, 2016 9:35 am ]

doti wrote:
Those a 2 indepndent warnings :
Code:
Code assist too slow

It means the parallel thread that look at your code at every moment to put colors can not keep the pace. It will degrade to a faster mode. Some colors will be missing.
The editor is quite weak here, not the state of the art of inline interpretation.

Code:
simulation aborted

For not-simple scripts, the emulator doesn't finish, it's stopped after 5s. So some errors at the end may have been missed.


Thanks. The first one isn't a problem, as I use a different text editor for coding anyway and just use the SS one for error checking.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
https://ss.deviatenow.com:443/
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010, 2011