sweetpad-dev / sweetpad

Develop Swift/iOS projects using VSCode
https://marketplace.visualstudio.com/items?itemName=sweetpad.sweetpad
MIT License
117 stars 3 forks source link

autocomplete doesn't work #17

Open sergeymild opened 2 weeks ago

sergeymild commented 2 weeks ago

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

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 commented 2 weeks ago

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