Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Enable native Services menu on OS X #3204

Closed

Description

@danielbayley

Looks like Atom disables the native Services menu on OS X. Any chance of enabling it? I have loads of useful services that I don't want to have to reimplement/replace as packages.

Activity

  1. kevinsawicki commented on Aug 25, 2014

    @kevinsawicki
    Contributor

    @zcbenz Any ideas what it would take to enable this menu?

    I tried just adding a stub Services menu to the template but it didn't seem to fill in like other applications.

  2. robdecker commented on Feb 9, 2015

    @robdecker

    I know this issue has been marked fixed, and I can indeed see a Services menu, but it is empty. It should be filled with numerous text services. I'm on version 0.177.0

  3. tulushev commented on Feb 22, 2015

    @tulushev

    Confirmed on 0.182.0 as well, still no services.

  4. thomasjo commented on Feb 26, 2015

    @thomasjo
    Contributor

    This is indeed not fixed; we need to implement support for this. Maybe I'll find some time over the weekend, but if anybody else wants to give it a go, here's a starting point:
    https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/SysServices/Articles/using.html#//apple_ref/doc/uid/20000854-CEGDDHJJ

  5. danielbayley commented on Feb 26, 2015

    @danielbayley
    ContributorAuthor

    The Services menu shows up under Atom > Services and those services work, but nothing in the context menu when I right-click within the document (meaning those text services don't show up).

  6. trueschool commented on Apr 12, 2015

    @trueschool

    I see the Services menu but I'm only seeing a small subset of the enabled services that should be appearing. Seems weird that I should see some but not others?

  7. ghostlandr commented on Apr 17, 2015

    @ghostlandr

    To add to this, I'm seeing the correct services, and I can click on one and it will activate from the menu. The issue I'm having is that the keyboard shortcut isn't working for them.

    Ah, though while writing this I figured it would be a good idea to check the keybindings, and it looks like Linter is taking over the shortcut I had set the service up to use. Not sure what the solution could be for that... should services over-ride?

  8. 7 remaining items

  9. paultopia commented on Nov 29, 2015

    @paultopia

    Does this issue being closed imply that this feature is coming out whenever 1.3.0 is out of beta? Because I'm on 1.2.4, and still no services...

  10. winstliu commented on Nov 29, 2015

    @winstliu
    Contributor

    Does this issue being closed imply that this feature is coming out whenever 1.3.0 is out of beta?

    Yes.

  11. naoboo commented on Dec 16, 2015

    @naoboo

    I use 1.3.1 (on OS X 10.11.1), but the services function doesn't seem to be working. What I noticed is the following. If I select some text in the editor, no services appears under Atom > Services. However, for instance, if I select some selectable text in Atom > Preferences... > Settings (the line starting with "These are Atom's..." is selectable), then services do appear under Atom > Services.

  12. erwinia commented on Dec 21, 2015

    @erwinia

    I agree with naoboo. Same here. I tried both 1.3.2 and the 1.4beta3 under the latest os x (10.11.3 Beta (15D9c).

  13. kfix commented on Dec 21, 2015

    @kfix

    Based on @naoboo's observation, I would guess that Atom's editor view simply doesn't use NSText, thereby not feeding selected text to Services*, but the config panels do.

  14. magp commented on Dec 29, 2015

    @magp

    Same issue. I can see my non-text services but not my text services. This would confirm @kfix hypothesis. Non-text services work as expected.

  15. mnquintana commented on Dec 29, 2015

    @mnquintana
    Contributor

    @kfix @magp That sounds right – the text editor portion of Atom is a custom component, whereas the views in settings-view are just standard DOM components that allow for native text Services. Would you mind opening a new issue for enhancing Atom's Services support to include text services?

  16. zazazack commented on Sep 20, 2016

    @zazazack

    any update on this?

  17. jjiangweilan commented on Feb 11, 2017

    @jjiangweilan

    It's 2017 and the services are still not supported. Surprised

  18. kfix commented on Feb 13, 2017

    @kfix

    @jjiangweilan " its <current year>" does not advance a feature request. see #10213, which is the core problem for Text services, and its not trivial.

  19. ksandvik commented on May 29, 2017

    @ksandvik

    Atom 1.17.2, Services menu still broken.

  20. chreliot commented on Oct 31, 2017

    @chreliot

    Similarly frustrated by this, here's my work-around. It's not for everyone, as it involves commercial OS X software. And it requires more keystrokes than a regular service would. But it might inspire other solutions.

    This workflow uses Launchbar. One could use Alfred or another keyboard shortcut tool for this.

    1. Select text in Atom
    2. Long press ⌘-space to send that text to Launchbar (or your custom shortcut)
    3. Type part of the name of a text service and select it. (The text is processed in the buffer.)
    4. Hit tab to invoke a new command.
    5. Select Paste in Frontmost Application to replace the originally-selected text in Atom with the processed text.
  21. lock commented on Apr 29, 2018

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  22. locked and limited conversation to collaborators on Apr 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementmac

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions