Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example of working config? #22

Open
konrad1977 opened this issue Jan 26, 2022 · 2 comments
Open

Example of working config? #22

konrad1977 opened this issue Jan 26, 2022 · 2 comments

Comments

@konrad1977
Copy link

konrad1977 commented Jan 26, 2022

I managed to get some autocomplete working but not for properties of a class/struct. It also stops working very often.

Does anyone have any pointers how to get it to work? Any other better options?

@tornikegomareli
Copy link

Same problem here, If I will add custom class autocomplete is not working for them. Also for UIKIt classes, there is no autocompletion if I want to override viewDidLoad, or just need to access view from self.

@konrad1977
Copy link
Author

konrad1977 commented Jan 31, 2022

@tornikegomareli Unfortunately lsp-sourcekit stops working all the time. I switched to Eglot while they try to fix it. Apples SourceKit-LSP seemes very limited or my config does something strange, I only get first level autocomplete. So if I am in a struct/class/enum it will autocomplete properties and functions of that specific instance, but let say you are in your AppDelegate and that one has a UIViewController instance it wont autocomplete properties for that UIViewController, which is a huge bummer.

According to Apple LSP alot of features should be supported, but never got them to work in emacs.

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

No branches or pull requests

2 participants