History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-12266
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Alexey Pegov
Reporter: Keith Lea
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Add method of inserting DOCTYPE declaration for different versions of HTML/XHTML standards

Created: 18 Aug 05 18:18   Updated: 28 Nov 06 12:48
Component/s: XML editing
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Duplicate
 
This issue is duplicated by:
IDEA-6044 HTML DOCTYPE completion Resolved

Build: 3,448
Severity: Medium


 Description  « Hide
I'd like to be able to easily insert a DOCTYPE for some version of HTML or XHTML, while editing an HTML/XHTML file. This could be implemented in any of a few ways:
1. Right-click in file, "Change DOCTYPE" - would be messy, would clutter context menu
2. Intention which appears when cursor is at the top of the file
3. Completed when pressing Ctrl+Space at top of the file or when anywhere inside <!DOCTYPE
4. Code menu or Tools menu item
In the menu, IDEA would show a menu containing "XHTML 1.0 Strict" "XHTML 1.0 Transitional" "HTML 4.0 Strict" etc, and when I chose one, IDEA would replace any existing DOCTYPE declaration and replace it with the appropriate new DOCTYPE.

The current URI completion is unsatisfactory, even almost useless because the public ID must be entered manually, which a user is equally likely to know by heart as the URI.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.