opral / inlang-sherlock

Issue tracker for Sherlock
https://marketplace.visualstudio.com/items?itemName=inlang.vs-code-extension
2 stars 0 forks source link

Inline annotations for monorepo #99

Open ampcpmgp opened 3 weeks ago

ampcpmgp commented 3 weeks ago

Thank you for the very useful extension.

I have one question.

Are inline annotations available for monorepo like nx?

I would like to know if there is a workaround.

felixhaeberle commented 3 weeks ago

Hey, can you provide more information on what do you want to do exactly or how Sherlock should behave in your opinion?

ampcpmgp commented 3 weeks ago

I have multiple Inlang Projects in a repository built with nx and Inline Annotations is not showing up.

The directory hierarchy of my repository is roughly as follows

apps/
  app-1/
  app-2/
libs/
  i18n/
    app-1/
      project.inlang/
      src/paraglide/
    app-2/
      project.inlang/
      src/paraglide/

And when I tried it with files under apps/app-1, I got some strange behavior, like displaying import errors when there are any.

Why does this happen?

https://github.com/user-attachments/assets/7b0b87fb-9e1e-46fe-bb5b-fc6721d30e16

And how can I make it work?

Translated with www.DeepL.com/Translator (free version)

ampcpmgp commented 6 days ago

@felixhaeberle Is there any progress here? A team member has a question about this matter. If there is any information missing, please let me know so I can prepare additional information.