The Intellij idea has a nice “browser open feature” that I often use for my static html files. Any html file can be opened in a browser in two ways: 1. The idea has an internal web server that serves static content at http://localhost:63342/<relative path to content>
. 2. Via file:///<absolute path>
url.
After a recent update (14.0.2), the browser started opening pages as file:///<absolute path>
, although the internal web server is still present, and all I need to do is edit the URL. Very annoying. I searched a lot, but still can’t understand how I can influence this behavior, so all my static pages will open in the browser as http://localhost:63342/<relative path to content>
source share