Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Simplify Lin #15

Open
remaerd opened this issue Mar 4, 2014 · 5 comments
Open

Simplify Lin #15

remaerd opened this issue Mar 4, 2014 · 5 comments

Comments

@remaerd
Copy link

remaerd commented Mar 4, 2014

I like the idea of Lin. And the popup window is really cool. But I think Lin should try to do less in my opinion.

I think Lin should works similar to KSImageNamed: When I try to use NSLocalizedString(), It will show us an auto-complete menu of Localised Strings. If we input a string that do not exist in the current Strings file, It will create those localise strings place holder for us; Showing a popup menu in the editor will block our workflow from typing code, and causing more bugs which make it harder to fix.

@nek023
Copy link
Owner

nek023 commented Mar 4, 2014

Yes, you're totally right.
I've been avoiding Xcode's autocompletion because it looks difficult for me to implement.
But... maybe it's time to challenge.
I'll try. Thanks.

@remaerd
Copy link
Author

remaerd commented Mar 4, 2014

I don't have any experience about writing plugins so I don't know how hard to implement auto-complete. But I think KSImageNamed is open source which you can take a look at the code.
https://github.com/ksuther/KSImageNamed-Xcode/tree/master/KSImageNamed

Wish you all my best.

@tonyarnold
Copy link

I actually really like the ability to add new localisations in-situ. I agree that the list in the popover should be keyboard navigable, but that should be possible without restoring to a plain autocomplete popup.

@nek023
Copy link
Owner

nek023 commented Mar 7, 2014

Yes, so my first task is making the current version perfect.
After that, there is chance to implement auto-complete popup.

@amarcadet
Copy link

FuzzyAutomplete has auto-complete implemented too, maybe you could find some interesting code inside.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants