简体   繁体   中英

How to enable editing of HTML files in IntelliJ Idea

Using IDEA 13 EAP, whenever I select an HTML file for editing, a blank window is displayed with 'Enter your URL here', rather than the HTML within the file. Is this intended behaviour?

在此处输入图像描述

The problem was that *.html files were assigned to the 'webbrowser' file type in the IDE settings. After changing this, the issue was resolved.

In my case, "*.html" is not associated with filetype "HTML".

In "Editor" - "File Types" - "HTML" - "File name patterns", there was none. After adding "*.html", I am now able to edit HTML file(after clicking it, the text content shows in editor panel).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM