Tell me what you want, What you really, really want.

Moderator: Mmiscool

User avatar
By jlbachiochi
#50395 When trying to locate an error that includes a line number, it would be nice to see line numbers or at least the present line number of the cursor somewhere in the edit page.
User avatar
By Mmiscool
#50424 I just posted up a new build that includes a snazzy code highlighting editor capability.

To use it you must upload 2 files to your module using the file manager page.
The 2 files are located here.
https://github.com/esp8266/Basic/tree/NewWebSockets/CSS

Once these 2 files are uploaded (don't decompress them. upload them as .gz files) the editor page will show line numbers and will start highlighting key words and such.

I used code mirror's vbscript highlighting example and have not added all the commands and functions for esp basic yet but it will do a good job with logic structures like if then statements, strings, values and math
https://codemirror.net/




2016-07-08 20_02_45-172.16.0.121_edit.png
You do not have the required permissions to view the files attached to this post.
User avatar
By jocalazima
#74316 hy
sorry for my english ...I'm a french.
I try to use the two files but they don't work ... ESP stops with blue led permanently lighting.
I use basic 3.69 ...
Can you help me ?
best regards
Cesar