Search the Community
Showing results for tags 'lua script editor'.
-
First off I have been using Leadwerks for many years, using both Lua and C++. Many video tutorials were made using the integrated script editor. Till this day I find the scripting editor one of the biggest weaknesses of Leadwerks. As a matter of fact I prefer using Notepad++ or Visual studio code. Both are free, crossplatform and come with great working lua extensions that make life a little easier. Biggest downside to those editors: the absence of any debugging options. The integrated editor (custom build of scintilla/Scite I assume, correct me if I am wrong.) has some annoying downsides that make usage cringeworthy: Auto line indention of lines seem to fail most of the time. Pretty much every new line starts at the beggining of the line rather then adding tabs or indention. The amount of time lost on correctly positioning the cursor is insane and the biggest frustration on my end. Absence of Ctrl + arrow to jump between words: jumping between words using the control + arrow keys does not work. This even works in non code editor programs like word or even when typing in a url in the browser. Absence of copy line functionality: Granted, the shortcut key is different for every IDE, but the prinicipal is the same: when the shortcut is pressed, the current line the cursor is on, is copied to the line below. (Visual studio has ctrl + c, Notepad has control + d) Another point that is not working properly is the removal or saving of break points. Sometimes the debugger stops at break points that are no longer there. The ability to turn of 'show editor' on front when the Leadwerks editor becomes acticve. If I use the integrated editor, I moves it to my second screen (Leadwerks editor stays on the first screen). When I look up something in a webbrowser and switch back to the LE editor, the script editor also becomes active. This is more often than not, unwanted behaviour. A checkbox in the editor options would be nice a nice to have. These 4 alone cause many annoyances in my work process. Even though I use external editors for most of the typing, when it comes to debugging, I have to switch to the integrated editor. As a side note some remarks on more 'luxurious' script editor options: Maybe this is a personal thing but the autocompletion often not accepts the spacebar to except the highlighted word. Instead you have to press enter for it to work. Maybe this is something I can address in a settng somewhere, but it feels not as great as the autocompletion options in other IDE's. What are your experiences with the integrated script editor?