Xcode4 plugin showing completion for NSLocalizedString and localizedStringForKey:value:table:
add completion for my custom macro: UI_STRING
#define UI_STRING(key) NSLocalizedString(key, nil)
Build the Lin, then the plugin will automatically be installed in ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins
.
Relaunch Xcode and Lin will make your life easier.
After installation Enable Lin
will appear in Edit menu.
Selecting a line with NSLocalizedString
or localizedStringForKey:value:table:
will show completion.
WARNING Completion will show only there is string in any of the localization files WARNING
Narrowing down the lists by key.
You can modify value directly from the popover window. (.strings
file containing key will be automatically updated)
Lin is released under the MIT License, see LICENSE.txt.