Assuming that you don’t see any output this is normal and means it works as expected. Just make sure you have node.js installed and then run: $ git clone $ cd sourcekit-lsp/Editors/vscode/ $ npm run createDevPackage $ code -install-extension out/sourcekit-lsp-vscode-dev.vsixĬontrary to what you might read elsewhere you don’t need to edit the source code of the extension at all. Open a terminal and run: xcrun sourcekit-lsp. ![]() Building it from source is not that hard. There is an unofficial SourceKit-LSP - Unofficial CI build but this did not work for me. Now it is time to build the SourceKit-LSP extension. Open a terminal and run: $ xcrun sourcekit-lspĪssuming that you don’t see any output this is normal and means it works as expected. This is the easiest way to hit the ground running since sourcekit-lsp comes prebundled with Xcode. Make sure you have Xcode and VSCode installed. Since this guide focuses on iOS and this is currently possible only with a Mac for the rest of the guide we will assume we are running on a Mac. ![]() The steps needed to enable VSCode for iOS development are basically 3: Auto-completion does not work as expected
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |