Re: ZeroBrane Studio Lua IDE v0.70 is out
Posted: Wed Jul 23, 2014 1:23 pm
The issue is gone and the document map works. Thanks for implementing the request so quickly.
Yep and the document map works perfectly !paulclinger wrote:@murks, I pushed several changes for DocumentMap (including those that should fix the "release" warnings). Scrolling on OSX/Linux should be improved as well.
@dan369, did you get it working? You only need to try with the latest ZeroBrane Studio...
Thank you! I thought it could be useful to see the current cursor line .dan369 wrote:At first I was like "bug?" but then I realised that was where my text_cursor was, such awesome attention to detail!
Thank you. I'm not trying to compete with Sublime or Notepad++, although I do take their "lightweightedness" as an example to follow and many users like that ZBS is lightweight, portable, and cross-platform. My main goal was to provide a convenient way to debug Lua applications running on any platform, so the main focus is on providing convenient debugging functions and those are completely absent in Sublime. Specifically, ZBS has a debugger with stack/watch views, expression tooltips, local/remote code execution, pretty-printing of tables, and a static analyzer. There is also Lua focused scope-aware variable indicators and selection and "go to definition". The debugger supports not only remote, but also cross-platform debugging, when, for example, your application runs on Linux and the IDE on Windows and the mapping between file paths is done transparently to the user (this is also used for debugging of embedded applications). There is also support for debugging Lua-based languages that may have different (non-standard) syntax, like moonscript and GSL-shell.Rukiri wrote:This looks pretty darn neat!
But, could you give me an actual reason to use this over sublime text 2?
@clouds, thank you for the feedback!Clouds wrote:I've given ZBS a try for a week or so, coming from jEdit and wishing for LÖVE/Lua code and variable autocomplete, and a "run" button.
Well, OK then.paulclinger wrote:Indeed; this is a wxwidgets defect/limitation, but I may have a workaround for it. It if works, it should be available in a day or two.
Yes, and comments, and quoted text, and escapes...this requires tracking of balanced parentheses, but becomes even more difficult if you consider that the statement can span multiple lines.
I don't know about cumbersomeness and neither do I quite get the ramifications of being under "the Vim license", but these two Vim scripts look like they've figured it out.if someone can come up with a proper logic that handles these situations (and is not too cumbersome).
I offer up the attached. Licensed for use and sublicense by paulclinger without limits, and retaining all rights myself.I'm experimenting with different icons, but if you can come up with a good one, let me know.
That indeed sounds like the situation; it was a new file. I'd expected it to be governed by the value of editor.usetabs when no indents of any kind are present. Hurray for fixes!I think my mistake was that when both are specified and the file doesn't have any indentation, the value was set to "no tabs", whereas you'd expect it to be "use tabs". I just pushed a fix for this issue. If I misunderstood the situation, let me know.
I pushed a change that puts the workaround in place. There is now limited support for saving editor tab configuration (as long as you don't go too fancy with multiple lines).Clouds wrote:Well, OK then.paulclinger wrote:Indeed; this is a wxwidgets defect/limitation, but I may have a workaround for it. It if works, it should be available in a day or two.