You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
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.
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
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).
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?
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?
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.
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.
@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?
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.
Select text in Atom
Long press ⌘-space to send that text to Launchbar (or your custom shortcut)
Type part of the name of a text service and select it. (The text is processed in the buffer.)
Hit tab to invoke a new command.
Select Paste in Frontmost Application to replace the originally-selected text in Atom with the processed text.
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!
Activity
kevinsawicki commentedon Aug 25, 2014
@zcbenz Any ideas what it would take to enable this menu?
I tried just adding a stub
Servicesmenu to the template but it didn't seem to fill in like other applications.mac: Enable setting "Services" menu.
🍎 Add "Services" menu, fixes #3204
robdecker commentedon Feb 9, 2015
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
tulushev commentedon Feb 22, 2015
Confirmed on 0.182.0 as well, still no services.
thomasjo commentedon Feb 26, 2015
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
danielbayley commentedon Feb 26, 2015
The Services menu shows up under
Atom > Servicesand those services work, but nothing in the context menu when I right-click within the document (meaning those text services don't show up).trueschool commentedon Apr 12, 2015
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?
ghostlandr commentedon Apr 17, 2015
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?
7 remaining items
paultopia commentedon Nov 29, 2015
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...
winstliu commentedon Nov 29, 2015
Yes.
naoboo commentedon Dec 16, 2015
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.
erwinia commentedon Dec 21, 2015
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).
kfix commentedon Dec 21, 2015
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.
magp commentedon Dec 29, 2015
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.
mnquintana commentedon Dec 29, 2015
@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?
zazazack commentedon Sep 20, 2016
any update on this?
jjiangweilan commentedon Feb 11, 2017
It's 2017 and the services are still not supported. Surprised
kfix commentedon Feb 13, 2017
@jjiangweilan " its
<current year>" does not advance a feature request. see #10213, which is the core problem for Text services, and its not trivial.ksandvik commentedon May 29, 2017
Atom 1.17.2, Services menu still broken.
chreliot commentedon Oct 31, 2017
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.
lock commentedon Apr 29, 2018
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!