The central location for E2E training, feature updates, member feedback and site support
It used to have here in the forum and every other technical forum on the internet have it.
you put a [ CODE ] tag, then you copy/paster you code and then you finalise the tag with [ / CODE ]
But this simply does not exist on here (at least I cannot find it, and believe me, I did search for it) and it makes 95% of the posts (including mines) look very messy and difficult to read.
so... what happen to it? why is not implemented? when will TI implement it?
We are looking at improved options to allow for streamlined posting of code in our rich text editor as well as for better rendering. One option we tested of late had too many bugs in it unfortunately so we are continuing to work to see if we can stabilize it.
You can manually insert the code going directly into the HTML option in the rich text editor and putting in opening and closing <code> tags.
For other options working with code here is some other options users also use:
Thanks for your feedback!
Blake Ethridge, Social Media Community Engagement Manager, Texas Instruments
E2E Blog - Stay up to date on all E2E news and updates | About E2E | Updating Your Avatar
when I read your answer I was first happy to at least have some alternative (even if it's undocumented) so I went for some testing and realized that it doesn't solve the problem because:a) you actually have to go inside the HTML editor, if it was a nicely formated HTML, maybe would be do-able, but it's a machine generated HTML that is very hard to track. Funny because on the Preview, it shows formatted, but to appear on the actual post, it must be edited from the HTML.b) the code tag only works on single lines. I mean, if you're copying and pasting 10 lines of code into the forum, if you have to manually enter 10 < code > and 10 </ code >c) the final formatting only does change the charset for a fixed width charset and does not put indentation, colors or any of those nice code visualisations.
well, considering is a developers forum I would say that is first priority for the forum. But I only have soft-references in server-side platforms and it might be more difficult that it looks.
thanks for the reply and I'm looking forward for improvements.
Will keep you updated as we make progress for a solution(s) for easier posting/rendering of code.
I would just like to second the motion that some kind of 'code' formatting option is needed.
However, experience on other forums shows that average users are extremely poor (and that's being generous!) at using such facilities!
So, not only is the facility needed - it also needs to be blindingly obvious!
If you could manage to come up with some way to automatically detect code and, at least, pop up a warning if the 'code' tags (or whatever) aren't used - that would be brilliant!!
Thanks for the feedback and good additional feedback notes and suggestions. We are still reviewing this and hopeful to find something that would work and be stable but haven't found anything yet.
Well - I guess if it was easy, everyone would be doing it!
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.