Thanks Kay, that did the trick. There's still a couple of things Tom doesn't appear to do, both regarding indentation.
The script editor ( and TextMate) automatically indent after if/repeat/switch statements, Atom doesn't. I know it has snippets that will insert a complete if block with indentation but if I simply type an if statement followed by return, no indentation. The other one is if I press the tab key in the IDE Script Editor, all my code is properly indented and aligned. I would guess that's too specific for Atom to be able to handle, but I miss that feature. Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Thu, Oct 22, 2015 at 2:51 AM, Kay C Lan <lan.kc.macm...@gmail.com> wrote: > On Thu, Oct 22, 2015 at 7:36 AM, Peter Haworth <p...@lcsql.com> wrote: > > > This is probably a question for any Atom experts out there but The > > autocomplete doesn't seem to be working as I expected. > > > > I'm definitely NOT an Atom expert, but try this > > > > According to the Atom documentation, autocomplete should include words in > > the file you're editing, so for example if I have a local declaration, it > > should suggest the names of the variables for autocompletion but that's > not > > happening. > > > > Go to Atom's Preferences - cmd comma on OS X > > In the middle column select Packages > > Scroll down until you find "autocomplete-plus" - be aware there are several > autocomplete but the plus package should be the only one that has a > "Settings" button > > Click on the Settings button and scroll down and about the 2nd last Option > is "Default Provider" it is probably set to "Symbol" - I don't know why as > it states it's 'experimental' - change it to 'Fuzzy'. This should find the > words in your file. > > > > It's also a little odd that the suggestions include words that include > the > > letters I'm typing anywhere in them so if I start typing "tVa", the > > suggestions include "toplevel stack", "twelveHourTime to trueORfalse", > and > > "traversalOn". > > > > In the same settings pane go up to 'Use Strict Matching for Built-in > Provider" and Tick the box. This should reduce the matches to what you are > expecting. > > You need to restart Atom for these to take effect. > > By the way, if any packages (livecode or Atom community) are updated when > you go to Atom's Settings pane and click on Packages in the middle column, > any package updates that are available have an green "Update" button > associated with them. Very easy. > > HTH > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode