mach_inject and mach_override sample code? - mach

Does anybody have any sample working code working for OSX 10.6 or more using mach_inject and mach_override? I am trying to inject code into finder for adding my own contextual menu item using mach_inject. I would like to have some see sample working code? If anybody have any other suggestions, they are welcome as well.

Related

VS Code showing "type/arguments" in editor as labels

I just installed VS Code 1.60.0-insider.
At first I thought it was a bug, but now there are type/arguments hinds/labels in the editor:
(predicate:, callbackfn:, etc.)
How is this called and how to disable it? I searched online but couldn't find any information.
Note: they only appear in TypeScript files.
try use this instruction inside of settings.json, this working well for me.
"editor.inlayHints.enabled": false

How to jump directly to the problem showed by the visual studio code warning?

Hi guys
I'd like to know how can i jump directly to the warning showed by vs code ?
thanks!

Visual Studio Code autosave when run code from Unity3D

I installed VS Code to use with Unity. Everything is great except for one small annoyance. When I edit my source code in Code and switch to Unity to run my game, the code is not automatically saved. I have to manually save the VS Code before switching.
I checked settings, but could not find anything. Is there anyway to effect this?
This works fine for me, is this option visible to you?

VS Code extension for design and source view?

Is there any extension in VS Code by using which I can view the source and design of developed HTML at same time similar as we have tabs in visual studio to view html source and design.
Like this- http://social.msdn.microsoft.com/Forums/getfile/699539
Regards,
I believe you are looking for something like this:
https://marketplace.visualstudio.com/items?itemName=hdg.live-html-previewer
EDIT: Just search VS marketplace for HTML live previewer. I added an example in the link.

Xcode 7 permanent code coverage overlay

I've just tried out Xcode 7's support for generating and displaying code coverage data from Swift code. It works, but I have to move my mouse over the little numbers on the side to see the overlay in the editor, and I have to do it individually for each function.
Is there a way to have Xcode show the coverage overlays throughout the code without having to hover the mouse pointer somewhere and to have it show the uncovered code with a red overlay? That's how coverage tools usually do it and I think it's a better approach than those little number, because you can see at a glance what parts of the code you haven't tested yet.
If Xcode can't do it, are there third-party tools that can show the coverage in that way and can read profdata-files?
Checkout Codecov here an example project: https://github.com/codecov/example-swift
Thank you!