read-only-coding icon indicating copy to clipboard operation
read-only-coding copied to clipboard

How to make service appear in Xcode context menu

Open Bersaelor opened this issue 7 years ago • 2 comments
trafficstars

Now that I'm discovering your tool, is there a way to make it appear in the context menu?

screen shot 2018-09-04 at 11 47 11

I'm assuming there is and I'm just to stupid to find it..

Bersaelor avatar Sep 04 '18 09:09 Bersaelor

Are you seeing the service in the Xcode ‣ Services menu but not in the context menu? If I remember correctly, I make a tradeoff when choosing the input for this workflow. Choosing “text” as the input would allow it to appear in this context menu but prevent it from appearing in Xcode ‣ Services when there’s an empty selection (blinking cursor). So this workflow currently has no input. I’m open to changing that setting, though, if it turns out that this service is typically used with a non-empty selection.

1ec5 avatar Sep 04 '18 09:09 1ec5

Good question, I think both will be useful.

Given how similar in context it is to "Search with Google" it would fit well in there.

I was trying to make a copy of your script and change the input to "Text" but the copy still didn't show up in the context menu.

Bersaelor avatar Sep 04 '18 10:09 Bersaelor