Customizing the HTML Editor

User 209241 Photo


Registered User
4 posts

I have been using your products for many years now and I have always been happy with the HTML Editor. However, as my skills grow, I would like to suggest some enhancements to your HTML editor that would help set it apart from the others.

One feature I really like is the ability to customize the CSS3, HTML5 selectors so that I can determine what is displayed or auto-completed when I am writing code. This saves me a LOT of time.

However, I have started using tools such a LESS and others that use some of the same Document highlighters as the CSS file, but I cannot find a way to tell Coffee Cup to honor my settings so that, when I load a LESS file, it uses the CSS3 auto-complete and Document highlighting.

Having this ability to add file type, additional highlighting rules, etc. would surely make this toll very powerful and useful to me as a web developer. And I feel that other developers would agree.

Cheers,
Eric
http://wwww.siamcomm.com
http://www.siamcomm.com - Web Services & Tools
http://wintermutecorp.net - Low Cost Cloud Web Hosting with Great Support
User 38401 Photo


Senior Advisor
10,951 posts

Hiya Eric,

In the Preferences for the program you can hit the Files tab and adjust the file associations as needed there. Not sure if that will adjust whether the program will "work" with your specified file types, but that's where you would tell it to use the HTML Editor to open them.
To make something "compatible" with the HTML Editor would be something they would need more information for to be able to add them. Don't know any programs that do that on the fly so I'll assume that's not what you are meaning.

On the main menu of the program (top left area of the window) you'll see the Edit selection. Click that and choose the Add/Edit HTML Tag Markup.. choice on the menu. That is where you Edit/Add/Etc. any tags you wish to alter or add.

Hope that helps :)
User 209241 Photo


Registered User
4 posts

Thanks Jo Ann,

This is almost there ... yes I knew about the file associations. And yes I knew about the Add/Edit HTML Markup.

My problem is that every time I need to edit a file like "stylesheet.less", I need to tell CoffeeCup HTML editor to use the CSS highlighter. And then all that does is highlight my code the way I have told it to highlight CSS files. It does not provide ANY auto complete features for my Less files using the CSS auto complete settings. It does also NOT default to using the CSS highlighter if I go back and open up another LESS file.

This will become more of an issue as more developers begin using tools like LESS and SASS (for example).

Any idea on how this functionality will be handled in the future ... if at all?
http://www.siamcomm.com - Web Services & Tools
http://wintermutecorp.net - Low Cost Cloud Web Hosting with Great Support

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.