ivanhofer / inlang-plugin-typesafe-i18n

the official `typesafe-i18n` plugin for `inlang`
MIT License
11 stars 2 forks source link

add config options to enable the ide extension #5

Open ivanhofer opened 1 year ago

ivanhofer commented 1 year ago

@felixhaeberle as you know the ide setup best, can you please add the necessary config to make the IDE extension work with the typesafe-i18n plugin?

felixhaeberle commented 1 year ago

@ivanhofer Do you have an typesafe-i18n example repo somewhere which I can use?

ivanhofer commented 1 year ago

You can try https://github.com/ivanhofer/typesafe-i18n-demo-sveltekit

felixhaeberle commented 1 year ago

@ivanhofer Thanks, looking into it.

felixhaeberle commented 1 year ago

@ivanhofer I added a draft PR https://github.com/ivanhofer/inlang-plugin-typesafe-i18n/pull/6 – what do you think about the matcher and the id insertion process?

Additionally, I had a hard time testing this because their is an open bug which I investigate so feel free to try it out but I can't guarantee atm that this works. #7