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 227074 - Cannot configure HTML version/doctype in project properties
Summary: Cannot configure HTML version/doctype in project properties
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-06 03:08 UTC by ecerichter
Modified: 2017-07-18 14:58 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
In editor, it is possible to set HTML default. (52.18 KB, image/png)
2013-03-14 13:10 UTC, ecerichter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ecerichter 2013-03-06 03:08:28 UTC
Product Version = NetBeans IDE Dev (Build 201303042300)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_13
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01

I know this is configurable, since when the light bulb turns on in JSP pages and in HTML files, I can set project HTML version/doc type.
But I can't find it in Project -> Properties.
I think this was never exposed, because I don't even remember to see this in previous versions.

I'm reporting as a defect but it would also fit as a improvement. Feel free to choose.
Without knowing a better place to report to, I'm posting against generic infrastructure, but would be a better place "Web project properties".

Kind regards,

Edson Richter
Comment 1 Milos Kleint 2013-03-06 06:40:08 UTC
web projects related?
Comment 2 David Konecny 2013-03-06 21:14:19 UTC
Marek, this is editor area right?  If not pass back.
Comment 3 ecerichter 2013-03-14 13:10:31 UTC
Created attachment 132606 [details]
In editor, it is possible to set HTML default.
Comment 4 Marek Fukala 2013-07-12 11:51:20 UTC
As was pointed out, in the editor you may choose the default html version for the files. As the only usage of this setting in by the editor itself I haven't created an UI for this in the project properties. I agree it should possibly be there, though not critical issue. I must admit I'm not sure who should do that - project properties UI owner or me? Davide? Anyway, turning to enhancement.
Comment 5 athompson 2017-07-18 14:56:44 UTC
Currently, I see no way to actually set the default HTML version since the light bulb suggestions also don't have any effect. Am I missing something?
Comment 6 athompson 2017-07-18 14:58:41 UTC
I'm trying with a standard Maven web project.

Product Version: NetBeans IDE Dev (Build 201707050001)
Java: 1.8.0_131; Java HotSpot(TM) 64-Bit Server VM 25.131-b11
Runtime: Java(TM) SE Runtime Environment 1.8.0_131-b11
System: Mac OS X version 10.12.5 running on x86_64; UTF-8; en_US (nb)
User directory: /Users/alvin/Library/Application Support/NetBeans/dev
Cache directory: /Users/alvin/Library/Caches/NetBeans/dev