Getting error on save
See original GitHub issueI’ve installed the extension and sourcekite, but whenever I save my swift file, I get
[Error - 15:12:57] Request textDocument/formatting failed.
Message: Request textDocument/formatting failed with message: Unexpected token s in JSON at position 67
Code: -32603
in the output pane. Any ideas?
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How to Fix the "Word Cannot Complete the Save Due to a File ...
1. Try Saving the File With a Different Name and to a Different Location ... Before getting into technical fixes, try to save...
Read more >How to troubleshoot errors when you save Excel workbooks
Possible reasons why documents don't save · Exit Excel. · Select Start, and point to Programs. · As Excel starts, press and hold...
Read more >I am trying to save a file but getting an error - Stack Overflow
While trying to save a file I get the following error: Error: TypeError: expected str, bytes or os.PathLike object, not _io.TextIOWrapper.
Read more >Error on saving PDF in Acrobat on Windows 10 - Adobe Support
The above-mentioned error appears when Acrobat is denied permission to save PDF files on your computer. You have to add Acrobat to the...
Read more >Error Message: "Unable to save video to gallery" or ... - HelpHub
Issue 1: The app does not have the required permission to access your phone's gallery - or - you are on an old...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

That’s awesome; thank you for the info and the config. Here’s my debugging config in case it helps anyone else:
and the
swiftc with debugbuild script:Thanks for filing an issue and investigating on this! Yes, the output is YAML but has been parsed as JSON (with some intermediate regex mutations in between). This part came from a previous maintainer and until now it has worked far better than expected. I will do some small refactorings and have some additional testing before releasing the fix this weekend.