This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 255980

Summary: HTML entities conversion feature
Product: editor Reporter: pepebeans
Component: Formatting & IndentationAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P1    
Version: 8.0.2   
Hardware: PC   
OS: Windows 8.1   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: screenshot of this feature

Description pepebeans 2015-10-17 10:20:54 UTC
Created attachment 156765 [details]
screenshot of this feature

Hi,
It would be a very nice feature for both PHP and HTML files, to have an optional HLTML entity converion option.
I have seen this feature in "Coda 2" editor.
It is very simple, yet very powerful in terms of speeding your code completion.
It goes like this.
One example.

You type: "EspaƱol" and select the text with doble click or simply drag your mouse pointer along the word of your choice.
Once you select your text. Do a right click on the text and you get an option called "Process > Encode entities" and it is atomatically converted to:

"Espa&ntilde;ol"

So, you can selet an entire phrase, but this feature will only take care of the chararcters that need to be processed in order to be correctly interpreted by the browser.

I want to stress, this feature, would be very useful for BOTH, php and html projects.

See attachment.

Thanks.