You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 17, 2024. It is now read-only.
The plugin calls the Generation executable which you could also call manually in your project directory, specifying the input file's path (Localized.yml) as the first argument and the path of the output file (Localized.swift) as the second one.
After compiling, you should get autocomplete for the Swift file generated via the plugin without requiring you to run the executable manually.
After compiling, you should get autocomplete for the Swift file generated via the plugin without requiring you to run the executable manually.
I can't get this to work with sourcekit-lsp, maybe some editors do a trick I am not seeing? I think it is related to this issue swiftlang/sourcekit-lsp#665
I am working around this by adding to my build-commands:
rm -f Sources/Target/Localized.swift
swift build [...]
ln -s .build/plugins/outputs/folder/Target/GenerateLocalized/Localized.swift Sources/Target/Localized.swift
Is there a way to manually generate the Loc type so I can get autocomplete? Rather than it being generated at the compile step.
The text was updated successfully, but these errors were encountered: