toxic72 Posted February 23, 2014 Share Posted February 23, 2014 I'm working on a project called Leadwerks Oasis. The project will feature an extremely revamped script editor with intellisense and code completion with built in Leadwerks API documentation. Other features include: Better file management (I seem to be having bugs with Leadwerks file management...) Built in array of file converters to drag and drop convert to a leadwerks format. Easy Leadwerks integration, have both programs running at once. (Program checks for file changes made by Leadwerks) Hopefully these tools will make the community more productive. Quote Link to comment Share on other sites More sharing options...
Rick Posted February 23, 2014 Share Posted February 23, 2014 The main issue I see will be debugging. Right now we can debug Lua scripts with breakpoints and stepping through it. It's very handy. I'm not sure if you are able to do that with the pure Lua version Quote Link to comment Share on other sites More sharing options...
nate066 Posted February 23, 2014 Share Posted February 23, 2014 The main issue I see will be debugging. Right now we can debug Lua scripts with breakpoints and stepping through it. It's very handy. I'm not sure if you are able to do that with the pure Lua version It will work as the lua files are still being interpreted by the leadwerks lua interpreter Quote Link to comment Share on other sites More sharing options...
Rick Posted February 23, 2014 Share Posted February 23, 2014 But it's integrated with the Leadwerks Lua editor and he's talking about making his own editor. A connection has to be made between the Leadwerks Lua interpreter and his new editor to allow for breakpoints and stepping. Quote Link to comment Share on other sites More sharing options...
nate066 Posted February 23, 2014 Share Posted February 23, 2014 True but if he can find out how the leadwerks script editor pass break points to the interpreter it should be easy to make his own editor Quote Link to comment Share on other sites More sharing options...
Marcus Posted February 24, 2014 Share Posted February 24, 2014 I support this project 100%. The LE3 script editor with 8 space tabs is ridiculous. Too much white space and I'm sick of having to scroll over to see my deeply nested code. Quote Link to comment Share on other sites More sharing options...
Rick Posted February 24, 2014 Share Posted February 24, 2014 I think we'd be better off all making our own suggestion posts about what we want from the current editor honestly. The most people who say their needs the more likely it'll happen. If we go off and make custom editors I don't think that's going to really help the majority and it'll most likely be gimped in other ways because it's not default LE editor. Start making posts about what you want from the editor. Make "what's on your mind" updates about wanting something in the editor. Quote Link to comment Share on other sites More sharing options...
DudeAwesome Posted February 25, 2014 Share Posted February 25, 2014 I dont know toxic but are you trolling us? I mean in an other thread you will create an fps engine with Uberfeatures for one person and here you tell us about a lua editor because the leadwerks editor sucks for you (but you will use leadwerks for your engine???). I see no sense maybe some self education for you with those project but they will never be completed or even used I guess. When josh is updating the editor and improve some stuff your editor becomes obsolete btw 1 Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
YouGroove Posted February 25, 2014 Share Posted February 25, 2014 I see no sense maybe some self education for you with those project but they will never be completed or even used I guess. I don't know , but if he would make some autocompletition Lua editor, i would be interested indeed. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
DudeAwesome Posted February 25, 2014 Share Posted February 25, 2014 I don't know , but if he would make some autocompletition Lua editor, i would be interested indeed. sublime 2 + lua plugin [x] done Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
YouGroove Posted February 25, 2014 Share Posted February 25, 2014 Thanks, but .... how do you have LE3 functions auto completition ? Quote Stop toying and make games Link to comment Share on other sites More sharing options...
DudeAwesome Posted February 25, 2014 Share Posted February 25, 2014 you can write plugins for sublime. sure there is no automatic way to do this. easiest way is when we have the code to generate the documentation but leadwerks is not open source. other solution is to parse the documentation on leadwerks.com but the documentation is not very well (not everything have examples, descriptions etc) to do this with a parser and a nice output. the leadwerks documentation is very small. just write it in the plugin for sublime (best editor in the world for me btw) http://code.tutsplus.com/tutorials/how-to-create-a-sublime-text-2-plugin--net-22685 Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
YouGroove Posted February 25, 2014 Share Posted February 25, 2014 Thanks, but too complicated. Perhaps Oasis will grow in the LE3 Lua desert Quote Stop toying and make games Link to comment Share on other sites More sharing options...
DudeAwesome Posted February 25, 2014 Share Posted February 25, 2014 too complicated? its the easiest way to get leadwerks autocompletion if you need it now. Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
YouGroove Posted February 26, 2014 Share Posted February 26, 2014 If it is so simple, why you don't do it and put a portable version in the workshops ? Well i can leave without auto completition for now indeed. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
DudeAwesome Posted February 26, 2014 Share Posted February 26, 2014 I still use it but its not finished/complete yet here is a quick example http://www.youtube.com/watch?v=7-bQnjAqZEM&feature=youtu.be features: full api completion script object completion + fast code snippets some other stuff works on win/osx/linux 2 Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
Rick Posted February 26, 2014 Share Posted February 26, 2014 Does that do dynamic completion? By that I mean does it work for custom "classes"/tables that we make in the project? Quote Link to comment Share on other sites More sharing options...
DudeAwesome Posted February 26, 2014 Share Posted February 26, 2014 for now it does not, but I will implement it later because I want it also. I have to extract the leadwerks documentation first into a valid file format to do this later. Add/Edit functions from future leadwerks builds is also very easy. There are also other features in my mind for the future but this is not my thread its about oasis editor. Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
Rick Posted February 26, 2014 Share Posted February 26, 2014 If I were you guys I'd focus on getting the debugging working because without that I feel these other features are fairly meaningless. If you'd be able to get that, which I'm not sure how you would, then you might have something. Quote Link to comment Share on other sites More sharing options...
DudeAwesome Posted February 26, 2014 Share Posted February 26, 2014 debugger is nice but in my case I dont need/use a debugger. I´m sure its possible with sublime because there are some debugger plugins out there for it with setting breakpoints and so on but for me I just want to code faster without taking a look into the leadwerks api. its just some code for me to learn the api also and play with phyton at the same time. I guess there are not many people who need it but I like the sublime editor and want to create this to be faster I also dont think that there are many people interested into my autocomletion stuff, but its just for me. May I´m wrong and I will upload it on github. I will post it on this forum when my first version is finished and we will see Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
toxic72 Posted February 26, 2014 Author Share Posted February 26, 2014 Debugging should be relatively easy. With C++ or C# I can redirect the console output of the debug build of the game and read from it. We can toggle a breakpoint with the WinAPI call BOOL WINAPI DebugBreakProcess Enabling debug is done with BOOL WINAPI DebugActiveProcess As long as we set SE_DEBUG_NAME in the debugger we can debug any process. Quote Link to comment Share on other sites More sharing options...
Rick Posted February 26, 2014 Share Posted February 26, 2014 What's your debugging process? Log file? Does the editor provide a console? Quote Link to comment Share on other sites More sharing options...
Rick Posted February 26, 2014 Share Posted February 26, 2014 @toxic If you could get debugging, printing to some console that would be a step in the right direction. The other stuff is pretty common and easier to do. The other thing that sucks is not being able to click the button in LE on an entity to open that script, which is why I think helping Josh would be best to get it into LE. Quote Link to comment Share on other sites More sharing options...
Josh Posted March 5, 2014 Share Posted March 5, 2014 @toxic If you could get debugging, printing to some console that would be a step in the right direction. The other stuff is pretty common and easier to do. The other thing that sucks is not being able to click the button in LE on an entity to open that script, which is why I think helping Josh would be best to get it into LE. I don't understand this request? Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 5, 2014 Share Posted March 5, 2014 I think what he means is being able to use code completion in the leadwerks lua editor. Or allowing other editors to be opened when double clicking on a script in the editor. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.