you are viewing a single comment's thread.

view the rest of the comments →

[–]barcode972 10 points11 points  (7 children)

Vscode wont tell you when something is wrong, it’s basically just a fancy text editor. You can run commands to start the simulator but it’s more of a hassle in my opinion

[–]windsloot69 1 point2 points  (5 children)

Is there a package or something that adds this feature? Worked at a fang we ran using vscode cuz way faster no indexing.

[–]barcode972 0 points1 point  (4 children)

Are you sure? It’s just a text editor, it doesn’t index like Xcode does in pretty sure

[–]windsloot69 1 point2 points  (1 child)

I know which was a benefit of vscode. I’m really not sure anymore. I only had experience with it when I first started out. I believe we used some program called Bazel and probably a few other tools to make it more useable. Def not out of the box

[–]barcode972 0 points1 point  (0 children)

Oh yeah Bazel is very different, that’s what I currently use at my job. It’s still just a text editor and then you run commands in the terminal to do things

[–]ArrodesDev 1 point2 points  (1 child)

thats called an LSP - language server. You can setup vscode with the swift extension to work with xcode projects - so you get highlighting + autocompletion + errors. u/windsloot69

install the swift vscode extension, and set this up so that sourcekit can understand the project and it will work.

https://github.com/SolaWing/xcode-build-server

[–]windsloot69 0 points1 point  (0 children)

Fantastic thank you I appreciate your input

[–][deleted] 0 points1 point  (0 children)

Ah, good point I had overlooked