Closed ckruse closed 10 years ago
I will check it. But I think we should just disable flycheck
for time being, it fails a lot of checks for Xcode
based projects, due to missing compilation settings. I have some ideas about how to improve it, but it needs some concepts of compilation database, like clang
tooling does for example.
How can I disable it? It is highly annoying, every time I save a file or open one or entering a line break I get this error…
You can disable flycheck-mode
, remove swift
from flycheck-checkers
(related source)
Thanks. For the record: add this code to your swift-mode
hook to disable flycheck for Swift:
(setq flycheck-checkers (remove 'swift flycheck-checkers))
I will check it tomorrow and fix or disable it, going to sleep early today :)
Just for your interest: with Emacs 24.4 I get this error:
eval-after-load: Symbol's value as variable is void: flycheck-swift-sdk-path
This makes swift-mode
completely unusable currently
Yeah, I noticed that too. Fixed in #56
No, it's not yet fixed. I had to comment out the complete eval-after-load
block to be able to use swift-mode
again.
With the latest changes I get the following error whenever I open a Swift file:
The exact folder differs, but the message is always the same.