Rolig Loon 22,410 Posted December 29, 2018 6 minutes ago, Profaitchikenz Haiku said: [ConText] has a built-in function to compare two files and show the variations in them side-by-side, which I find invaluable. I have used Beyond Compare for comparing one script to another. It's very handy to have that capability when you have several different versions of a script in inventory and can't recall exactly what changed from one to the next. Quote Share this post Link to post Share on other sites
Profaitchikenz Haiku 316 Posted December 29, 2018 Same-name, different content There is one life-saver I have found: When you copy or move an inventory item from one folder to another, the date_acquired field in the properties is amended to show the date it went into the new sub-folder, thus losing the inherent order_by_date that persists when in the original folder. But, for scripts (alone?), the description field shows the date the script was saved back to inventory, and so you can order several identically-named scripts into chronological order by looking at their descriptions. Of all the OSes I have worked with in the past, the one I loved the most was VMS, with the version number after a semicolon. Why nobody else has implemented that I do not know. 1 Quote Share this post Link to post Share on other sites
Nova Convair 306 Posted December 29, 2018 Use that link to install LSLForge into eclipse. It's still maintained. LSLForge - https://raw.githubusercontent.com/elnewfie/lslforge/master/eclipse/ 1 Quote Share this post Link to post Share on other sites
Profaitchikenz Haiku 316 Posted December 29, 2018 (edited) I just found that the Builders Brewery version of the context LSL highlighter is more up to date than the official context site -Github page I had to view the file as RAW and then copy and paste it into a new lsl.chl file, but once ConText was restarted llSetLinkPrimitiveParamsFast was indeed highlighted as a function. Edited December 30, 2018 by Profaitchikenz Haiku Quote Share this post Link to post Share on other sites
Gayngel 17 Posted December 30, 2018 Atom with LSL plugin is also a good option.Atom is a rapid application development text editor so will auto-complete functions and events when you start to type them. To get syntax highlighting and auto-complete you save files as .lsl. 1 Quote Share this post Link to post Share on other sites
steph Arnott 339 Posted December 30, 2018 4 minutes ago, Gayngel said: Atom with LSL plugin is also a good option.Atom is a rapid application development text editor so will auto-complete functions and events when you start to type them. To get syntax highlighting and auto-complete you save files as .lsl. Okay thanks, I will have a look at that as well. Quote Share this post Link to post Share on other sites
Kyrah Abattoir 1,429 Posted December 31, 2018 On 12/30/2018 at 12:27 AM, Nova Convair said: Use that link to install LSLForge into eclipse. It's still maintained. LSLForge - https://raw.githubusercontent.com/elnewfie/lslforge/master/eclipse/ LSLForge is by far the best out there in my opinion, despite a few issues that are not the maintainer's fault. Quote Share this post Link to post Share on other sites
Duncan Steuart 0 Posted December 31, 2018 If you're comfortable with a terminal, nano can add LSL highlighting, and I understand that vim has highlighting built in. I'd be very surprised if there aren't other text editors that have this feature. Quote Share this post Link to post Share on other sites
BethTech 52 Posted January 2 I've been using Visual Studio Code with the LSL plugin. Although it's just not as good as the viewer's built-in editor so after a while, I just quit using it. Quote Share this post Link to post Share on other sites
Wulfie Reanimator 1,679 Posted January 3 (edited) Installing LSL for Sublime Text 3 from scratch (because I'm on a laptop which didn't have either of them installed)... Install Sublime Text 3 with default settings. (optional, but works) Install Package Control, restart Sublime Text. (The manual instructions are probably easier) Open the Command Palette (Ctrl Shift P), select Install Package, select =BB= LSL and wait for it to install. Sublime Text will show a pop-up saying "=BB= LSL requires SublimeLinter, would you like to install it now?", click OK, restart Sublime Text. Done, Sublime Text now has "LSL" as a language choice from the bottom-right corner of the window. Autocomplete shows states, events, functions, constants, and variables. It is also up-to-date, including llSetLinkPrimitiveParamsFast and Animesh functions. Edit 1: One thing that bugs me with the BB one though.. The syntax highlighting is at least partially incomplete. For example using the "list" keyword in global scope will cause it to not be highlighted. Even with my almost zero experience with sublime-syntax and RegEx, I am able to fix this, but I cannot guarantee that it works properly in all cases. I have a different highlighter on my desktop that I've been using for a long time and works as intended, but it will be a while before I can go back and figure that one out.. Edit 2: After some searching and testing, this seems to be the one I've been using: https://packagecontrol.io/packages/LSL Installation is the same as for the BB version, just find it in Package Control (by searching for "LSL" and going down a bit). It properly highlights all variable types and includes even the latest functions for Animesh. If you've already installed the BB version, you can use Disable Package or Remove Package in the Command Palette. P.S.: OSSL is for OpenSim and it is a separate language that you can ignore entirely. Edited January 3 by Wulfie Reanimator 1 3 Quote Share this post Link to post Share on other sites
Erwin Solo 1,777 Posted September 25 (edited) @Innula Zenovka , I replaced my machine and am having trouble getting the Builders Brewery LSL package installed on Sublime Text. https://github.com/buildersbrewery/sublime-lsl/blob/master/README.md https://github.com/buildersbrewery/sublime-lsl/blob/master/README.md Requirements Sublime Text Build 3154 or later Sublime Text 3 (stable) Sublime Text 3 (dev) Buy a new license: https://www.sublimetext.com/buy?v=3.0 Retrieve a lost license: https://www.sublimetext.com/retrieve_key Package Control via Tools > Install Package Control … SublimeLinter Open the command palette via Tools > Command Palette Select Package Control: Install Package Select SublimeLinter Installation Make sure your setup meets the requirements before you: open Sublime Text open the command palette via Tools > Command Palette select Package Control: Install Package select =BB= LSL ⚠ To get LSL syntax highlighting in tooltips, refer to the settings section. Close and re-open Sublime Text. I have a valid license, and my Sublime Text Registration is showing as valid in Help:About. I'm using Dev Channel, Build 3210. UPDATE: I get the same result with Build 3207. My problem is with the "Select SublimeLinter" step under "Requirements. Select Package Control: Install Package Select SublimeLinter I see pages and pages of "SublimeLinter-yada yada yada" and don't know which one to pick. Trying a few of the "SublimeLinter-yada yada yada" has not helped so far, because on the next steps open Sublime Text open the command palette via Tools > Command Palette select Package Control: Install Package select =BB= LSL I never see the "=BB= LSL" option, and so I can't select it. Edited September 25 by Erwin Solo UPDATE: I get the same result with Build 3207. Quote Share this post Link to post Share on other sites
Wulfie Reanimator 1,679 Posted September 25 (edited) 1 hour ago, Erwin Solo said: I see pages and pages of "SublimeLinter-yada yada yada" and don't know which one to pick. You want "SublimeLinter" -- the first one, nothing else. That is the base framework used by all the other options. Also, check the post just above yours. Edit: If you don't see it in the list, make sure you haven't actually installed it already. For example, Ctrl+Shift+P and "List Packages" Edited September 25 by Wulfie Reanimator Skipped a word 1 Quote Share this post Link to post Share on other sites
Erwin Solo 1,777 Posted September 25 6 minutes ago, Wulfie Reanimator said: You want "SublimeLinter" -- the first one, nothing else. That is the base framework used by all the other options. Also, check the post just above yours. This what I see: Quote Share this post Link to post Share on other sites
Erwin Solo 1,777 Posted September 25 (edited) Okay, I got Sublime Text working. I had to A. Uninstall Sublime Text via Windows 10 add/remove programs B. Delete all the files out of C:\Users\<username>\AppData\Roaming\Sublime Text 3 C:\Users\<username>\AppData\Local\Sublime Text 3 C. Re-install Sublime Text from https://www.sublimetext.com/ D. Re-install my Sublime Text License E. Install Package Control as described in https://packagecontrol.io/installation F. Thereafter, follow directions for =BB= LSL Installation as shown at https://github.com/buildersbrewery/sublime-lsl/blob/master/README.md G. Thereafter, set up Indent Styles as shown at: https://github.com/buildersbrewery/sublime-lsl/blob/master/README.md#indent-styles H. Thereafter, set up ToolTips as shown at: https://github.com/buildersbrewery/sublime-lsl/blob/master/README.md#tooltips I. Thereafter set up the LSL package per Wulfie's note On 1/2/2019 at 10:43 PM, Wulfie Reanimator said: Edit 2: After some searching and testing, this seems to be the one I've been using: https://packagecontrol.io/packages/LSL Installation is the same as for the BB version, just find it in Package Control (by searching for "LSL" and going down a bit). It properly highlights all variable types and includes even the latest functions for Animesh. If you've already installed the BB version, you can use Disable Package or Remove Package in the Command Palette. P.S.: OSSL is for OpenSim and it is a separate language that you can ignore entirely. J. Thereafter notice that ToolTips quit working because those are part of =BB= LSL. Duh! K. Thereafter reinstall =BB= LSL, which got ToolTips working again. Apparently "LSL" and "=BB= LSL" co-exist somewhat. I don't have that figured out yet. Each step I vaguely remembered doing before on my older computer (now backup computer). Thanks to all. Every little bit helped! Edited September 25 by Erwin Solo Fixed a mistake in the sequence Quote Share this post Link to post Share on other sites
OptimoMaximo 1,076 Posted September 26 (edited) Visual studio code supports lsl but it has no syntax check or test run feature, but it highlights all library functions correctly and does autocompletion, along with handling brackets , quotation marks and parenthesis. I script lsl very very seldom in comparison to how much MEL and python scripting i do, which are greatly supported (therefore my choice) Edited September 27 by OptimoMaximo Quote Share this post Link to post Share on other sites
Da5id Weatherwax 242 Posted September 27 The reason I use LSLForge in Eclipse is profoundly unsurprising. I already had my c++ compiler(s), my perl environment and my python environment set up there. Adding LSLForge to Eclipse instead of setting up a separate environment from scratch was pretty close to a no-brainer decision. Quote Share this post Link to post Share on other sites
Mollymews 2,164 Posted September 27 for myself, I use which ever editor comes in the box pretty much. For Microsoft products I use Visual Studio. For Embarcardero then RAD Studio. Eclipse for Java. Intel Code Editor for Intel XDK LSL then whichever editor comes with the viewer - LL then standard, Firestorm then that one. Offline LSL then LSL editor. etc the reason I do this is that it helps me to remember which language and platform I am coding in/for. As when I don't I often I forget when I am typing and end up typing syntax for the wrong one. I should be able to remember but my mind tends to run ahead of my fingers quite often altho if I am just sketching/pcoding my thoughts on an idea or concept then I quite often do it in Notepad 1 Quote Share this post Link to post Share on other sites