Skip to content
/ Lin Public
forked from nek023/Lin

Xcode4 plugin shows completion for NSLocalizedString

License

Notifications You must be signed in to change notification settings

hsarret/Lin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lin

Xcode4 plugin showing completion for NSLocalizedString and localizedStringForKey:value:table:

Installation

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.

Usage

After installation Enable Lin will appear in Edit menu.

lin_ss01.png

Selecting a line with either:

  • NSLocalizedString( @"", )
  • localizedStringForKey: @"" value: table:
  • NSLocalizedStringFromTable( @"", , )
  • NSLocalizedStringFromTableInBundle( @"", , , )
  • NSLocalizedStringWithDefaultValue( @"", , , , )

will show completion (see Warnings section no popup shows).

lin_ss02.png

Narrowing down the lists by key.

lin_ss03.png

You can modify value directly from the popover window. (.strings file containing key will be automatically updated)

lin_ss04.png

Warnings

.strings files must be UTF8

Completion popup won't show with empty .strings files

After modifying a .string file, dont forget to save otherwise new strings won't appear in completion popup

License

Lin is released under the MIT License, see LICENSE.txt.

About

Xcode4 plugin shows completion for NSLocalizedString

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%