Formatting in EnableJS creates problems

Found an issue in SpiderBasic ? Please report it here !
Webarion
Posts: 7
Joined: Mon Mar 04, 2024 10:47 pm

Formatting in EnableJS creates problems

Post by Webarion »

When we create code inside EnableJS-DisableJS, SpiderBasic IDE automatically formats it. This formatting creates code errors.
Also in EnableJS, ; - this is not a comment, so you need to adjust the syntax highlighting here.

Code: Select all

EnableJS
var a = 1;
if(a=1){alert(1);} // if is changed to If, this results in an error
DisableJS
Quin
Posts: 24
Joined: Wed Nov 08, 2023 4:38 pm

Re: Formatting in EnableJS creates problems

Post by Quin »

I posted a similar bug here > viewtopic.php?t=2461

Hope to see it fixed soon, having the ! at the start of a bunch of my lines bugs me ;)
the.weavster
Posts: 222
Joined: Sat Mar 01, 2014 3:02 pm

Re: Formatting in EnableJS creates problems

Post by the.weavster »

+1 for the request.

But for now you can do this:
File -> Preferences -> Editor -> Editing -> Enable Case Correction ❌
Post Reply