panicinc / icarus

Swift, C, C++, and Objective-C Support for Nova
MIT License
69 stars 5 forks source link

Issues doesn't seem to be working for Objective-C #3

Closed eablokker closed 1 year ago

eablokker commented 1 year ago

I'm working with Objective-C in Nova and I'm not seeing issues like I do in Xcode. If I open my .m file in Xcode I see issues like "Unused variable" warnings for example, popping up at the edge of the editor. But I see no such warnings in Nova. I keep switching back over to Xcode while editing so I can see the issues.

Is this supposed to be a feature of Icarus or no? Is there something else I need to do to get it working? I have Xcode and its command line tools installed.

eablokker commented 1 year ago

Now that I think about it, I'm not getting any completions either in Objective C. Something is definitely not working. Syntax highlighting is good though.

Trying it out with Swift. I am seeing some issue notices in Swift, and some completions, but definitely not all that Xcode has. Maybe that's by design? Just not sure if something is wrong.

eablokker commented 1 year ago

Ok nevermind, I am seeing issues appear in the sidebar at build time when there are build errors. I am not seeing them interactively as I'm editing however, like in Xcode. It seems Xcode might be continuously building in the background or something in order to show the issues.

Also suddenly started seeing some completions in Objective-C too. Not sure why they came back. Might be some intermittent issue.

I'm also seeing the language server crash often and notifying me to restart it.

eablokker commented 1 year ago

Ok Objective-C seems to be working pretty consistently now, with issues showing up after build, and completions showing up. The difference seems to be that I don't have Xcode also running in the background with the same project and files open. Xcode running at the same time seems to screw it up.