Hi! Question for scripter :

Hi! Question for scripter :

What softwares do you use to write script? And how do you test them?

Thanks!

]]>

10 Commentsto Hi! Question for scripter :

  1. Anonymous says:

    < ![CDATA[

    For myself, the script editor.


    In the past I also used Jota+ when I needed to know line numbers…But now that’s not necessary! Yayyyy!



    Testing? Lots of alerts and trial-error

    ]]>

  2. Anonymous says:

    < ![CDATA[

    TrianguloY  but…. You’re coding on the phone? Or from a computer?



    It’s horrible to code on a phone…


    At the beginning I used Sublime Text 3 (on computer), in a Dropbox folder, synced to my phone, then copy paste in the LL script editor to then test…



    It was very good to test some serious stuff when working on multiple files.. But it was a looong process to test every little code added..



    Then I stopped writing script because of that.. Yes I know, it’s stupid, but I hate working with ineffective tools….


    And because we don’t have a direct access to where the written script are saved (and we cannot change there directory), so I could not make my own tools…



    And I wanted to know how do you do all the scripts you do…



    You guys never thought to write code on a better effective way?



    I can’t imagine how you can think and write big code like the one you do/did, only in the featureless built-in script editor!



    What’s your opinion?


    (Pierre Hébert  too ) 

    ]]>

  3. Anonymous says:

    < ![CDATA[

    I Code in Android studio. To test I just push an apk. Since yesterday you don’t even have to interact with your phone to test it, if you use my library… 



    Sometimes I also code in the script editor. Actually my MultiTool was first written completely in the built in script editor and quoda.


    Really small scripts I code in the fast run tool.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Main code in Notepad++ on PC, then via AirDroid to phone and copy&paste via external editor (Quoda). Fine tuning there mostly. “Debugging” threw lots of alerts and logfile output, removed/commented out later.



    Still not a fan of the internal editor despite line numbers and code suggestions. Font is too big.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    I do the same as Lukas Morawietz , except that I trigger code import through a custom script, but for simple things I directly use the builtin editor.


    I think the APK way is by far the most effective: you will never get a better editor, and building/installing a small apk is blazing fast. Also you can use logcat, which is less intrusive than alert.

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Believe it or not, the truth is that for LL I code only I the built-in editor…and in portrait with a 768 width phone 😛



    Why? Simple: you don’t need to turn on a computer, you can do it wherever you want, and make one change takes you less than five seconds (may vary with long scripts)



    All my scripts (except some exceptions) start with an idea(that I write down to not forget). When I have the idea I start thinking how could I make it, in the simple and faster way. Many times I need to tests things, and the fast run tool* is what I use. Once I know a way, I code that. In most cases the basic script is wrote in some minutes (if you know what to write, the only thing you need is the API in a bookmark in the browser for not-common functions 😉


    Then I run it, and the rest is: fix the syntax bugs, test it, fix unexpected behavior, test more, and add more features because the script needs it, or when I have an idea.



    I have the ideas in lots of places, be able to test them on the fly wherever you are, whenever you want is what makes this launcher unique.



    *and this is just an input box in an alert, smaller, no completion, no line numbers except in errors. But extremely fast to test.

    ]]>

  7. Anonymous says:

    < ![CDATA[

    TrianguloY Agreed. Mostly the code to write is completely in my head, I just have to type it down somehow 😄

    ]]>

  8. Anonymous says:

    < ![CDATA[

    I use notepad on PC to scripting because my phone have 3inch resistive screen.. send script to phone with telegram.


    >_<

    ]]>

  9. Anonymous says:

    < ![CDATA[

    Ok it seems that I need to understand how to make an apk 😀


    Thanks you for your help!



    Pierre Hébert​ just some suggestions for the editor :


    – scrollbar


    – bookmark


    – learning completion (hmmm ok it’s difficult!)


    – Built-in api help


    – search & replace


    – change the font & font size


    Et surtout :


    Give access to the script in an external folder… Like a link…


    Oooor : git, a kind of git repository we can access from a computer or something else…



    I prefer use computer tools because I need to have a global view of the code (see multiple files, large part of the file, etc..)

    ]]>

  10. Anonymous says:

    < ![CDATA[

    As Lightning is not meant to be IDE, I can only strongly suggest to go the APK route then. I agree this is much easier when you have all the development stuff already setup, but this is also the only way to get a global view.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *