wildwebdeveloper: Errors in tsx since upgrading to 1.0.0

Since upgrading to 1.0.0 (using Eclipse 4.25.0) I see these errors in my React tsx files:

refers_to_umd_global

In one file of my project, after working on other issues, this error is permanently gone without following the advice to add the import. All other tsx files I open show that error.

How can I get rid of this?

I see also other errors which were also suddenly highlighted after upgrading to 1.0.0. Some of them are right and need to be resolved. But why they were not highlighted before?

other errors

Additionally, the production build does not highlight those “new” errors.

I’m using “typescript”: “^4.7.4” “react”: “^18.2.0”, “react-dom”: “^18.2.0”, “react-jsx”: “^1.0.0”, and this is my tsconfig.json

{
  "compilerOptions": {
    "target": "es6",
    "lib": [
      "dom",
      "dom.iterable",
      "esnext"
    ],
    "baseUrl": "src/",
    "allowJs": true,
    "skipLibCheck": true,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "strict": true,
    "forceConsistentCasingInFileNames": true,
    "noFallthroughCasesInSwitch": true,
    "module": "esnext",
    "moduleResolution": "node",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "noEmit": true,
    "jsx": "react-jsx",
    "sourceMap": true
  },
  "include": [
    "./src/**/*.ts"
  ],
  "exclude": [
    "node_modules",
    "build"
  ]
}

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 31 (11 by maintainers)

Commits related to this issue

Most upvoted comments

@sinhote : No problem. I removed WWW manually. To do so, got to Help->Install New Software->Already Installed search for “Wild” and remove it.

Afterwards I added this repo

https://download.eclipse.org/wildwebdeveloper/releases/1.0.0

at Help->Install New Software and installed all packages. That workes in November. Please make a backup of your Eclipse- and your workspace-folder before doing the patch. There is no guarantee that it will work with current plugins or with your plugins installed in particular.

I managed to track that down. This worked for me.

change languageId from typescript to typescriptreact in eclipse\plugins\org.eclipse.wildwebdeveloper\plugin.xml for contentType tsx

<contentTypeMapping
  languageId="typescriptreact"
  contentType="org.eclipse.wildwebdeveloper.tsx"
  id="org.eclipse.wildwebdeveloper.jsts">
</contentTypeMapping>

Also I had to delete this folder as somehow it is caching the original value: eclipse\configuration\org.eclipse.core.runtime

Unfortunately not. I downgraded the plugin. Meanwhile I had a bunch of updates and my current version is

grafik

which is working fine. Since I need a running IDE without worries I do not update any more. Maybe in future I will give it another try.

Independent from this, Wild Web Developer uses that bundled typescript version instead of the version given in each project’s package.json. As long as your projects do fine with this its OK, but especially maintaining older code is a problem. So, at the moment the setup and the projects I’m working on are matching fine, but yes I’m worried about the future.