Makes Copy Xcode Issue Description Easy, Support Finding Answers in Google or StackOverflow Directly
The plugin is useful when you want to search for solutions for any Xcode issues e.g.
It can copy the full issue description or it can automatically open your default browser and search Google (default shortcut ⇧⌥G) or Stackoverflow (default shortcut ⇧⌥S) for the selected issue.
What's the Difference
- If you use the standard "Copy" (⌘C) to copy
Issue Navigator, you will get "Issue Position + Issue Description":
/Users/Hanton/GitHub/HTYCopyIssue/HTYCopyIssue/HTYCopyIssue.m:21:7: Use of undeclared identifier 'sharedPlugin'
- But if you use the "Copy Issue" (⇧⌘V), you will only get the "Issue Description":
Use of undeclared identifier 'sharedPlugin'
Then, you can paste it directly to the search engine for finding the solution. Or select an entry in the “ASK THE INTERNET” menu to open your default browser with a Google or Stackoverflow search.
Strip content inside quotation marks
Per default, everything inside
" is removed from the search query. Typically this includes local variable or method names.
How to Use
Install via Alcatraz
Clone and build the project, then restart Xcode.
Uninstall via Alcatraz
rm -r ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/HTYCopyIssue.xcplugin/