7
1
I'd like to run a HTML page so I configured the Execute / F5
command as following:
chrome.exe http://localhost:8080/$(FILE_NAME)
It works when the HTML file is located in the root of my Workspace (because my HTTP Web server is set up to do so). But it doesn't work when the file is in a subfolder.
Is there a predefined variable (i.e. $(RELATIVE_PATH)
) that can be used to get the file path relative to the Workspace directory?
Thank you by advance for your help.
3Does
Run
->Launch in Chrome
not help you? – Burgi – 2016-05-03T12:44:20.9874
If you are using PHP, you could use
– harrymc – 2016-05-11T11:56:36.303http://localhost:8080/redirect.php?file=/$(FULL_CURRENT_PATH)
whereredirect.php
takes off the excessive part. See the article Configuring Notepad++ to run php on localhost.1A similar answer would be to use a .bat file to do the string manipulation and call Chrome. Simple to do if you are interested. – harrymc – 2016-05-11T14:52:24.130
@Supersharp Ctrl+Shift+Alt+R – rahuldottech – 2016-05-12T17:46:58.720