- This topic has 6 replies, 3 voices, and was last updated 4 years, 7 months ago by support-swapna.
-
AuthorPosts
-
martinwestacottParticipantHi,
I’m getting validation errors highlighted in the Eclipse editor with code like this:
const nextStatements = statements?.next_ones as NextStatementResource;
Eclipse currently highlights errors at the question mark and also at the end of line. This, however, is valid TypeScript code based on optional chaining – see https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#optional-chaining. I’ve installed an extension in VS Code so that it handles this correctly and doesn’t complain (https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-next) but how can I fix this in Eclipse with CodeMix?
Thanks for any suggestions or help offered.
– Martin
support-swapnaModeratorMartin,
Sorry that you are seeing this issue.
The extension you mentioned is not compatible with the current CodeMix version. We are going to release an update to CodeMix soon which will support it. We can share the prerelease build with you when it is ready.
Apologies for inconvenience caused. Please let us know if you have any further questions.
–Swapna
Genuitec Support
martinwestacottParticipantHi Swapna,
Thank you and yes, please let me know when the pre-release build is ready.
– Martin
brabenetzParticipantYeah, let us know when it’s implemented. thanks.
support-swapnaModeratorOur latest release, CodeMix CI 2020.3.3 is compatible with the said extension. Please update via Help > Check for Updates, and then install the extension via Help > CodeMix Extensions page.
Please let us know how it works for you.
–Swapna
Genuitec Support
brabenetzParticipantyes,
downloading the extension as *.vsix file and then import it with CodeMix Extensions page worked perfectly.
Not even an Eclipse restart was needed!
Thanks,
Harald
support-swapnaModeratorHarald,
Glad that it works. Thank you for getting back to us.
Installing extensions do not require the IDE restart. Reloading CodeMix engine is enough to apply the extension.
Please let us know if you see any issues with CodeMix.–Swapna
Genuitec Support -
AuthorPosts