Replies: 2 comments 8 replies
-
|
Hmm, you don't have to compile the app manually, the syntax check happens automatically. The LSP should show all errors immediately. Of course, the sourcekit-lsp is a little bit clunky and it doesn't always see global changes. If you don't see syntax errors then most likely the LSP is not configured properly. I'm also not sure what do you mean by "build the current file". Usually the file is connected with many other files because it uses models, etc. so in a normal project that would be rarely usable, maybe just for some Foundation extensions or simple views. Where is that option in Xcode? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
First, thanks for an amazing NeoVim plugin ❤️
In Xcode, you have the option to build the current file you're viewing. This option is usually much faster than compiling the current target to ensure it doesn't contain any compiler errors. I'd love to have that kind of functionality for ~xcodebuild.nvim.
I might have missed something, and this might be possible today. If so, then I might have simply overlooked it.
Beta Was this translation helpful? Give feedback.
All reactions