dschwen / autocomplete-moose

Atom.io autocomplete-plus provider for MOOSE (http://mooseframework.org) input files
3 stars 1 forks source link

Manual syntax rebuild #10

Closed tophmatthews closed 5 years ago

tophmatthews commented 7 years ago

(I keep bugging you I know, but they're just quirks I've noticed, no show stoppers for this great tool!)

There seems to be a preference for dbg builds over opt. I usually work in opt (maybe that is bad work flow) so if there is a dbg lying around, the moose syntax will work off that. If I delete dbg, it'll still use the old syntax. It'd be nice to have a way to manually rebuild the syntax. The work around now is to restart atom.

dschwen commented 7 years ago

You can reload the current editor with ctrl-cmd-alt-L But, yeah, the preference should be given to the newest executable.

On Wed, Nov 1, 2017, 10:53 AM Topher Matthews notifications@github.com wrote:

(I keep bugging you I know, but they're just quirks I've noticed, no show stoppers for this great tool!)

There seems to be a preference for dbg builds over opt. I usually work in opt (maybe that is bad work flow) so if there is a dbg lying around, the moose syntax will work off that. If I delete dbg, it'll still use the old syntax. It'd be nice to have a way to manually rebuild the syntax. The work around now is to restart atom.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dschwen/autocomplete-moose/issues/10, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMWPnH8Ncp8F-A4ocQcZ4mqQ5OJsBpyks5syKIMgaJpZM4QOffJ .

dschwen commented 7 years ago

Now that I think about it have you tried the "Autocomplete Moose: Clear Cache" command from the Command palette (Shift-Cmd-P)?

dschwen commented 7 years ago

Also, it should already utilize the most recent executable. I don't understand why it seems to prefer dbg in your case.

https://github.com/dschwen/autocomplete-moose/blob/master/lib/provider.coffee#L593

Are you using symlinks to your apps. In that case maybe it is using the symlink creation date for sorting :-/

tophmatthews commented 7 years ago

Oh there is option already! nice!

tophmatthews commented 7 years ago

This in the app folder directly, no symlinks.