swift-mode
swift-mode copied to clipboard
Emacs support for Apple's Swift programming language.
After some investigation of my own swift-stuff for emacs I noticed that `"uname -a"` is different in iTerm compared to emacs shell. iTerm (rosetta) returns x86_64 while Emacs returns arm64....
When trying to call function`jit-lock-fontify-now`, this errror will occur. Here is the backtrace log: Debugger entered--Lisp error: (error "Lisp nesting exceeds ‘max-lisp-eval-depth’") #f(compiled-function (matched names) #)(nil #) #f(compiled-function (elt) #)(#)...
Example code with cursor as []: ``` // []Start my application. public func application( ``` Hit C-M-SPC, C-M-@ or `mark-sexp`, marked region in between [] ``` // [Start my application....
I've been trying to start a refactoring mode for Swift that would work something like [js2r-refactor](https://github.com/magnars/js2-refactor.el) by Magnar. I keep thinking that `Swift-mode` would need to be updated to find...
Now that Emacs 29 has built-in treesitter support and there's a Swift grammar [here](https://github.com/alex-pinkus/tree-sitter-swift), it looks like we'd need a `swift-ts-mode` to actually take advantage of it. I found some...
I was the primary developer of [this file](https://github.com/apple/swift/blob/main/utils/swift-mode.el) when I was on the Swift project, and there are some nice bits in there that might benefit your mode. In particular,...
(c.f. https://github.com/emacs-lsp/lsp-sourcekit/issues/31) When I use completion with sourcekit-lsp I often get things of the form `${1:SomeType}` in my emacs buffer where Xcode would show a placeholder to be filled in....