how to show the html i modify just?
With idea when i modify a html file , I can use icons to see the result. 
but now this icons conldn't work when i modify HTML file. it can't show me the Modified results. it seems that mt HTML file doesn't modify!!!
then I use shift table and icon ,it seems work ,but it doesn't work very well.
How can i make it work like before:i modify my file ,and press icon ,the chrome could show me the modify result, with out SHITF table?
Please sign in to leave a comment.
haven't got what you mean, sorry. What is 'shift table'?
Sorry, my English is so bad. 'shift table' is 'shift' key in keyboard. wen we want to watch the result for your html file, we could press the 'shift' key and click the icon. but my IDEA couldn't work well, the result is wrong, it seems that something not load. and at first i can use the icon without 'shift' key ,but now if i don't press 'shift' key ,it while me the original result not the result when i have modify my HTML file.
so, which setting should i do?
@Elena Pogorelova
so, when you open your file on built-in webserver (http://localhost:63342/), the wrong page is opened, but, when loading using file:// protocol (with Shift), the page is OK? How mane projects do you have opened? Do you have same-named projects, created by copying a project to a different location?
YES!! I copy a project and open it in same window!Ialert the file name ,and others ,but i don't know how to alert the module name.what should i do? @Elena Pogorelova
I see, thanks for clearing it up:)
The problem is that the built-in web server uses the following URL:
localhost:63342/project_name/[file path in the project]/file_name.html. If same-named projects are open, when on opening pages from the other project server attempts to load them from the first project directory. So it seems that it's hosting files from the original project instead of the one you have copied, thus your changes are not reflected>Ialert the file name ,and others ,but i don't know how to alert the module name.what should i do?
I'd suggest the following:
- close all your projects, shut down IDEA
- open your copied project directory in file manager
- rename your .iml file to desired name
- open .idea/modules.xml, make sure to change the file name in both <module fileurl and filepath values accordingly
Or, even better - delete .iml file and .idea folder, then use File | New | Project from existing sources and select your project root folder to have the .idea files auto-created
very thank you for your answer!!!! @Elena Pogorelova