All Projects → johnno1962 → Gitdiff

johnno1962 / Gitdiff

Licence: mit
Highlights deltas against git repo in Xcode

Projects that are alternatives of or similar to Gitdiff

Swiftai
SwiftAI, write Swift code smart. SwiftAI can generate Model class from JSON now. Codable and HandyJSON is supported. More features will be add.
Stars: ✭ 470 (-48.12%)
Mutual labels:  xcode-plugin
Kov Blog
A blog platform built with koa,vue and mongoose. 使用 koa ,vue 和 mongo 搭建的博客页面和支持markdown语法的博客编写平台,自动保存草稿。博客地址:https://chuckliu.me
Stars: ✭ 635 (-29.91%)
Mutual labels:  highlight
Injectionforxcode
Runtime Code Injection for Objective-C & Swift
Stars: ✭ 6,474 (+614.57%)
Mutual labels:  xcode-plugin
Flutter showcaseview
Flutter plugin that allows you to showcase your features on iOS and Android. 👌🔝🎉
Stars: ✭ 502 (-44.59%)
Mutual labels:  highlight
Traces.vim
Range, pattern and substitute preview for Vim
Stars: ✭ 568 (-37.31%)
Mutual labels:  highlight
Scxcodeswitchexpander
Xcode plugin that enables switch cases autocompletion
Stars: ✭ 662 (-26.93%)
Mutual labels:  xcode-plugin
Highlightbracketpair
🔆 Highlight bracket pair plugin for intellij
Stars: ✭ 428 (-52.76%)
Mutual labels:  highlight
Qolor
An atom package to color your queries!
Stars: ✭ 18 (-98.01%)
Mutual labels:  highlight
Vue Blog
A single-user blog built with vue2, koa2 and mongodb which supports Server-Side Rendering
Stars: ✭ 586 (-35.32%)
Mutual labels:  highlight
Remote
Control your iPhone from inside Xcode for end-to-end testing.
Stars: ✭ 732 (-19.21%)
Mutual labels:  xcode-plugin
Swiftmockgeneratorforxcode
An Xcode extension (plugin) to generate Swift test doubles automatically.
Stars: ✭ 522 (-42.38%)
Mutual labels:  xcode-plugin
Refined Bitbucket
Chrome and Firefox extension that improves Bitbucket's user experience
Stars: ✭ 560 (-38.19%)
Mutual labels:  highlight
Rxmarkdown
📠Markdown for Android, supports TextView && EditText (Live Preview), supports code high light.
Stars: ✭ 714 (-21.19%)
Mutual labels:  highlight
Artplayer
🎨 ArtPlayer.js is a modern and full featured HTML5 video player
Stars: ✭ 484 (-46.58%)
Mutual labels:  highlight
Import
Xcode extension for adding imports from anywhere in the code ☝️
Stars: ✭ 818 (-9.71%)
Mutual labels:  xcode-plugin
Blog React
react + Ant Design + 支持 markdown 的博客前台展示
Stars: ✭ 463 (-48.9%)
Mutual labels:  highlight
Highlight Userguideview
用户指引提示view,新特性高亮指示 HighLight
Stars: ✭ 647 (-28.59%)
Mutual labels:  highlight
Prism React Renderer
🖌️ Renders highlighted Prism output to React (+ theming & vendored Prism)
Stars: ✭ 903 (-0.33%)
Mutual labels:  highlight
Codeflask
A micro code-editor for awesome web pages.
Stars: ✭ 836 (-7.73%)
Mutual labels:  highlight
Peckham
Add #import-s from anywhere in the code.
Stars: ✭ 719 (-20.64%)
Mutual labels:  xcode-plugin

GitDiff9 - GitDiff for Xcode 9

As this plugin has rather been "Sherlocked" it is no longer supported only just works in Xcode 11. You need to save the file before the highlights are visible.

A port of the "GitDiff" Xcode plugin to the Xcode 9 beta now that the Source editor has been implemented in Swift. It uses an extensible framework of generalised providers of line number gutter highlights with which it communicates using JSON IPC. This version of GitDiff includes the implementations for four types of line number highlighters:

  • Unstaged differences against a project's git repo
  • Highlight of changes committed in the last week
  • Format linting hints provided by swiftformat and clang-format
  • A viewer that makes explicit inferred types in declarations.

To use, clone this project and build target "LNXcodeSupport". You'll need to unsign your Xcode binary for the Xcode side of the plugin to load. The user interface is largely as it was before.

Icon

Lines that have been changed relative to the repo are highlighted in amber and new lines highlighted in blue. Code lint suggestions are highlighted in dark blue and lines with a recent commit to the repo (the last 7 days by default) are highlighted in light green, fading with time.

Hovering over a change or lint highlight will overlay the previous or suggested version over the source editor and if you would like to revert the code change or apply the lint suggestion, continue hovering over the highlight until a very small button appears and click on it. The plugin runs a menubar app that contains colour preferences and allows you to turn on and off individual highlights.

Icon

Expandability

The new implementation has been generalised to provide line number highlighting as a service from inside a new Legacy Xcode plugin. The project includes an menubar app "LNProvider" which is run to provide the default implementations using XPC. Any application can register with the plugin to provide line number highlights if it follows the Distributed Objects messaging protocol documented in "LNExtensionProtocol.h". Whenever a file is saved or reloaded, a call is made from the plugin to your application to provide JSON describing the intended highlights, their colours and any associated text. See the document "LineNumberPlugin.pages" for details about the architecture.

Code linting

This repo includes binary releases of swiftformat and clang-format under their respective licenses. To modify code linting preferences, edit the files swift_format.sh and clang_format.sh in the "FormatImpl" directory and rebuild the plugin.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].