Files
sourcekit-lsp/Sources/SourceKitLSP/Swift/CodeActions/ConvertJSONToCodableStruct.swift
Alex Hoppen e3c498e3f1 Address my own review comments to #1179
Addresses a few minor comments and the following major ones:
- Add test cases for the syntax refactorings
- Don’t report code actions for refactorings that don’t actually modify the source
- Instead of just looking at the parent of the token of the selected range, walk up the syntax tree to find the syntax node to refactor. This makes the refactorings available in a lot more locations.
2024-05-08 14:56:09 -07:00

13 KiB