Jump to content
linuxlsx

snippets still auto expand when app is in exclude list

Recommended Posts

Env:

   Alfred :  v3.5.1[883]

   InteliJ IDEA Ultimate :  2017.3.1 Build #IU-173.3942.27

   macOS High Sierra: 10.13.2

 

I start to use snippets today. It make a  greate improvement of efficiency when autoexpand switch on.  But I do not expect snippets autoexpand everywhere. So I add some apps to the exclude list.

Such as Intelli IDEA Ultimate

 

image.png.8f8adcebf48bb24eb95ba1d6a3a5b68c.png

 

And my Snippets config :

 

image.thumb.png.fb341b8bc09c7f383425951a19a0fe6e.png

 

But when I input `:textexpand` in IDEA, it auto expand to 'test auto expand in IDEA'

testautoexpand.gif.796ed0dba98fdb0ca18ab03bb68d78db.gif

 

 

Share this post


Link to post
Share on other sites

@linuxlsx I suspect that this has something to do with IDEA being a java app. It could be that macOS is reporting the currently active app to Alfred as Java when IDEA has focus.

 

Is it working as expected with native apps on macOS?

 

Cheers,

Andrew

Share this post


Link to post
Share on other sites
14 minutes ago, linuxlsx said:

Is there any solution to this situation?

 

Have you tried removing IDEA from the exclusion list and re-adding it?

 

I've tried the Community Edition on El Capitan, and it works as expected (Alfred doesn't expand snippets in IDEA when it's in the exclusion list).

Share this post


Link to post
Share on other sites
17 hours ago, deanishe said:

 

Have you tried removing IDEA from the exclusion list and re-adding it?

 

Yes, I have tried many times, but it does not work。

Share this post


Link to post
Share on other sites

×