- This topic has 6 replies, 3 voices, and was last updated 5 years, 3 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
January 29, 2020 at 7:06 am #640138
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 SupportJanuary 29, 2020 at 7:26 am #640139
martinwestacottParticipantHi Swapna,
Thank you and yes, please let me know when the pre-release build is ready.
– Martin
March 24, 2020 at 1:32 am #648351
brabenetzParticipantYeah, let us know when it’s implemented. thanks.
March 24, 2020 at 1:35 am #648352
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 SupportMarch 25, 2020 at 11:16 am #648673
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,
HaraldMarch 26, 2020 at 5:50 am #648879
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