Feature #1048
If package contains following packages "Skylark" or "Turtle" it can lauch web browser
Status: | New | Start date: | 04/26/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Miroslav Fidler | % Done: | 0% | |
Category: | IDE | Spent time: | - | |
Target version: | - |
Description
If we work with web package, ide should open web browser to show the result of our development process...
IDE Run options should be extended.
P.S.
It is only idea...
History
#1 Updated by Zbigniew Rebacz almost 10 years ago
Or maybe even package should have flag "Web".
For "Skylark" it is relatively easy, because we can add flag in new package generation. But to launch web browser in debug mode we should know the port, too :(
#2 Updated by Jan DolinĂ¡r almost 10 years ago
IMHO it would be great if there was "URL to open" field in "Run options" dialog, so user could specify both url and port. It would help me a lot.
The only problem I can see is that it may take some time to start the server - so if you launch the browser right after executing the server, it might still end up with connection refused or ismilar error.
#3 Updated by Zbigniew Rebacz almost 10 years ago
IMHO it would be great if there was "URL to open" field in "Run options" dialog, so user could specify both url and port. It would help me a lot.
It is a solution, but in my opinion it should be more application detectable.
The only problem I can see is that it may take some time to start the server - so if you launch the browser right after executing the server, it might still end up with connection refused or ismilar error.
We can check if the site is online by using something like HttpRequest or something similar (I have never used it :(). Of course we need to wait some time that the site is online. And check it regularly.
I don't have too much time for this (I am currently working on Android Builder). But in the feature I will think how to implement this feature.