Code Monkey home page Code Monkey logo

Comments (7)

franzheidl avatar franzheidl commented on August 18, 2024

Hi, many thanks for your feedback.
I have tested this and I can't reproduce the behavior you describe. And I can't think of anything in the code that could possibly cause such a behavior, so I suspect it's something else outside the Alfred workflow.

from alfred-workflows.

froamer avatar froamer commented on August 18, 2024

Thanks Franz. Strange it does it consistently. I'll try it on another Mac.

from alfred-workflows.

franzheidl avatar franzheidl commented on August 18, 2024

Yes, please do. Let me know if you still come to the conclusion this is caused by the workflow.

from alfred-workflows.

froamer avatar froamer commented on August 18, 2024

I think I have a clue as to the cause. In terminal if I run ls -l the folders that have this behaviour have "extended attributes" indicated by the @ sign...

drwxr-xr-x@ 11 chris staff 374 29 Jun 16:16 testfolder/

Folders that work fine look like this...

drwxr-xr-x 11 chris staff 374 29 Jun 16:16 workingfolder/

from alfred-workflows.

froamer avatar froamer commented on August 18, 2024

Yes, I can confirm this is the cause. This article was a great help. I removed the extended attributes from the folders I commonly need to open in Visual Studio Code, but I don't know if the above helps you to avoid the issue in the plugin?

from alfred-workflows.

franzheidl avatar franzheidl commented on August 18, 2024

Hm. I suppose it's not the sheer fact that a folder has extended attributes that causes the behavior you describe, I suspect it is a specific of these attributes that causes this behavior.

However, the workflow uses a standard applescript command to tell an application to open a specific folder, and I'm not sure if it is in the scope of this workflow to deal with/override specific OS level behavior.

I might investigate further, but not my top priority at the moment. If you're willing to norrow down which extended attribute is the cause let me know.

from alfred-workflows.

froamer avatar froamer commented on August 18, 2024

I have a workaround (remove the extended attributes as per the article link above). Hopefully this post will help others with the same issue. Many thanks for looking into it for me. These plugins are so useful.

from alfred-workflows.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.