iljapostnovs / VSCodeUI5Plugin

Visual Studio Code Extension for UI5 Development
Apache License 2.0
61 stars 6 forks source link

Bug: Export to i18n doesn't work for project with TypeScript support. #392

Closed mateusz-matyjaszczyk closed 10 months ago

mateusz-matyjaszczyk commented 10 months ago

Describe the bug When pressing Export to i18n (F4) I get an error CleanShot 2024-01-04 at 00 31 00

To Reproduce Steps to reproduce the behavior:

  1. Create MTA project
  2. CD to newly created project
  3. Generate UI5 module with TS support
  4. Inside of any .ts / .xml file press F4 on text you would like to import
  5. Error will be shown

Expected behavior Should work the same way it does for project without ts support.

Screenshots

Desktop (please complete the following information): CleanShot 2024-01-04 at 00 32 47 CleanShot 2024-01-04 at 00 33 03 CleanShot 2024-01-04 at 00 33 21

Additional context MacOs

Project attachment Not sure if this is needed. If yes then please let me know.

iljapostnovs commented 10 months ago

Describe the bug When pressing Export to i18n (F4) I get an error CleanShot 2024-01-04 at 00 31 00

To Reproduce Steps to reproduce the behavior:

  1. Create MTA project
  2. CD to newly created project
  3. Generate UI5 module with TS support
  4. Inside of any .ts / .xml file press F4 on text you would like to import
  5. Error will be shown

Expected behavior Should work the same way it does for project without ts support.

Screenshots

Desktop (please complete the following information): CleanShot 2024-01-04 at 00 32 47 CleanShot 2024-01-04 at 00 33 03 CleanShot 2024-01-04 at 00 33 21

  • OS: [e.g. iOS, Windows]

Additional context MacOs

Project attachment Not sure if this is needed. If yes then please let me know.

Hi,

Please provide minimal project example in order to reproduce the issue

mateusz-matyjaszczyk commented 10 months ago

Somehow it started to working after few restarts...