Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nathanhosselton/njhmultitheme
An Xcode plugin (defunct) for contextual themes
https://github.com/nathanhosselton/njhmultitheme
Last synced: 3 months ago
JSON representation
An Xcode plugin (defunct) for contextual themes
- Host: GitHub
- URL: https://github.com/nathanhosselton/njhmultitheme
- Owner: nathanhosselton
- License: mit
- Created: 2015-04-19T01:09:25.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-26T03:24:30.000Z (almost 9 years ago)
- Last Synced: 2023-02-27T11:47:13.766Z (almost 2 years ago)
- Language: Objective-C
- Homepage:
- Size: 179 KB
- Stars: 11
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
# NJHMultiTheme
Set separate Xcode themes for Swift and Objective-C source files.![](https://raw.githubusercontent.com/nathanhosselton/NJHMultiTheme/master/Screenshot.png)
The selected theme will become active whenever the corresponding source file type has focus.
![](https://raw.githubusercontent.com/nathanhosselton/NJHMultiTheme/master/animated.gif)
## Installation
* Via [Alcatraz](http://alcatraz.io) (recommended)
* Or simply download and build the project## Use
1. Use the new Edit menu items to select the themes you want to use.
2. Go about your business.## Removal
Use Alcatraz or in Terminal, run:
```
rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/NJHMultiTheme.xcplugin
```## Considerations
While the vast majority of use cases will see MultiTheme function as you would expect, there are edge cases where behavior is not as refined as I would like.
* When switching projects and landing on a different file type, theme changing is not as quick and may sometimes flicker. Clicking into the source editor will settle this.
* When multiple file types are opened in the Assistant Editor, only the current theme will be used. This is simply a limitation with themes in Xcode. However, manual manipulation of the additional source editor spaces could allow for an effective display of multiple themes at once, which is something I might look into for a future enhancement.