fig icon indicating copy to clipboard operation
fig copied to clipboard

Fig Mixins are not applied when not running in dev mode

Open mschrage opened this issue 3 years ago • 6 comments

Reproduce:

  1. Create a mixin for cd & compile it
  2. Move compiled cd.js file to ~/.fig/user/autocomplete/build/cd.js
  3. Mixin will not be applied and logs do not indicate that loading the mixin was attempted.

mschrage avatar Apr 20 '22 20:04 mschrage

@mschrage it is working correctly for me. It may happen that the mixins do not load correctly at the first attempt because we cache resolved specs (including mixings), but reloading the app make it work fine.

fedeci avatar Apr 23 '22 09:04 fedeci

Hmm… I tried restarting the app, even reinstalling and copying again but still don’t see the mixin output unless in dev mode. What build number are you using?

burgessa23 avatar Apr 23 '22 20:04 burgessa23

The last one both for fig app and for autocomplete engine. I can confirm it works correctly, I have just tried to create another mixin and it was loaded instantly. @burgessa23 it would be helpful if you could post the output of fig settings all.

fedeci avatar Apr 24 '22 11:04 fedeci

@fedeci here you go:

app.beta = true app.launchOnStartup = true autocomplete.devCompletionsFolder = "/Users/axburgess/.fig/user/autocomplete/build" autocomplete.developerMode = false autocomplete.developerModeNPM = false autocomplete.developerModeNPMInvalidateCache = false autocomplete.disable = false autocomplete.firstTokenCompletion = true autocomplete.scrollWrapAround = true autocomplete.theme = "synthwave-84" dotfiles.beta = true integrations.experimental = true plugins.beta = true telemetry.disabled = false

burgessa23 avatar Apr 25 '22 01:04 burgessa23

I'm having the same problem reported here.

lucianojsjr avatar Aug 08 '22 00:08 lucianojsjr

I'm facing the same issue here. My mixins stopped working these days and I haven't managed to get them back

danielsuguimoto avatar Aug 09 '22 11:08 danielsuguimoto

@fedeci any news about it?

lucianojsjr avatar Nov 03 '22 17:11 lucianojsjr