December 2, 2018 at 8:10 pm #604113
Start typing something like ‘new Array<string>’ and it’ll auto complete a closing html tag ‘new Array<string></string>’. HTML completion should only occur inside strings or comments.December 2, 2018 at 10:10 pm #604129
That must be really annoying but, so far, I’ve been unable to replicate the problem so some extra information would help.
- Which editor are you seeing the problem in and with which type of source file?
- Which release of CodeMix are you using, with which release of eclipse? If you’re using MyEclipse or Angular IDE, please mention the release of that product.
Hopefully, this will give us enough info to be able to determine the cause and get you sorted.December 2, 2018 at 10:16 pm #604130
Latest version installed via npm.
Typescript files (*.ts)December 2, 2018 at 10:30 pm #604131
Thanks for that. I can now replicate the issue and have raised a problem report for development to investigate. We’ll get back to you about the fix to the problem.
Thanks for reporting it and apologies for the inconvenience.December 3, 2018 at 3:57 am #604145
I’m not sure if this would be an option for you but it’s possible to exclude TypeScript files from the auto-closing of tags. If you go to the Preferences page for CodeMix and select Settings>Workspace Settings, click the
Instead of the languages I’ve listed, just list those languages where you want to see automatic closing of tags. The list of languages currently set, may not be in this file, as they are implied, but can be seen by hovering over the value of the auto-close-tag-activationOnLanguage setting, as shown in the attached screenshot.
We will still investigate how to allow auto-close in the appropriate sections of TypeScript files but I hope this helps.
Attachments:You must be logged in to view attached files.