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

autocomplete doesn't work #17

Open
sergeymild opened this issue Jun 11, 2024 · 1 comment
Open

autocomplete doesn't work #17

sergeymild opened this issue Jun 11, 2024 · 1 comment

Comments

@sergeymild
Copy link

Hi, thanks for the grate vsc extension. I have a question about autocomplete.
I did everything as you wrote in documentation:

  • install xcode-build-server
  • generate buildServer.json
  • build add and even more, run it on simulator

but when i am trying to write something in vs autocomplete doens't work and also i cant go to any definitions by clicking on some method for example.
Maybe i forgot to make something else?

@hyzyla
Copy link
Collaborator

hyzyla commented Jun 11, 2024

Hi! The extension doesn't do much here at the moment; it mainly provides a command to generate the buildServer.json config file based on the selected schema and workspace. You can manually follow the tutorial on setting up the Xcode build server for VSCode [1].

If you're having issues, you can try restarting the Swift LSP by running the Swift: Restart LSP Server command from the command palette. You can also check the logs for the Apple LSP in the Output panel of VSCode.

Let me know if any of this helps!

  1. https://wojciechkulik.pl/ios/how-to-develop-ios-and-macos-apps-in-other-ides-like-neovim-or-vs-code

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