How can i load Api or library VS into the another Lua editors

  • #1, by MehrdadWednesday, 13. May 2015, 10:49 5 years ago
    Hi
    Is it possible load Api or complete library of VS into the another lua editors like Sublime text for get hints or highlight texts?

    Newbie

    39 Posts


  • #2, by afrlmeWednesday, 13. May 2015, 14:52 5 years ago
    What do you mean? You mean for debugging purposes?

    Check out this wiki page: http://wiki.visionaire-tracker.net/wiki/Remote_Debugging

    David implemented this solution for remote debugging. Currently it requires a program called ZeroBrane. I believe he intends to implement it directly into the VS text editor at a future date.

    Imperator

    6815 Posts

  • #3, by MehrdadThursday, 14. May 2015, 06:20 5 years ago
    Hi Lee
    I want import all of data structures VS scripts into the another editors like Sublime and get code hints and highlight texts. Is it possible?
    Because script editor in Visionaire haven't color change and hints and so on.

    Newbie

    39 Posts

  • #4, by afrlmeThursday, 14. May 2015, 13:05 5 years ago
    What do you mean script editor in VS doesn't have color change? It has color syntax highlighting for Lua.

    What I mentioned is the only possible method currently of debugging externally.

    Personally I just write my scripts in Sublime without debugging. I write based on my knowledge & by eye. If something returns an error in the log when I try running the script then I check around the line number it mentions & try to figure out what's causing the error based on the error message & what I can see.

    You can write scripts externally in sublime text, if you like by saving a .lua file & then writing a small function inside of vs script editor to load (include) the .lua file on game launch. This will not however give you debug capabilities like the zerobrane app with remote access, like I mentioned in my last post, but it's a nice alternative to writing your scripts inside of VS.

    Imperator

    6815 Posts

  • #5, by MehrdadFriday, 15. May 2015, 07:06 5 years ago
    Ok . That was very useful. Thanks a lot

    Newbie

    39 Posts

Write post