[
https://issues.jboss.org/browse/JBIDE-10553?page=com.atlassian.jira.plugi...
]
Yahor Radtsevich resolved JBIDE-10553.
--------------------------------------
Resolution: Done
*Resolved*
The algorithm of guessing follows:
# If Internal Web Browser View is active, than open the same URL in BrowserSim;
# If Internal Web Browser Editor is active, than open the same URL in BrowserSim;
# If any other editor is active and opened file has extension .htm or .html, than open it
with BrowserSim;
# If the selection is a file and it has extension .htm or .html, than open it with
BrowserSim.
BrowserSim launch via toolbar/command should guess which url based on
current selection/editor
----------------------------------------------------------------------------------------------
Key: JBIDE-10553
URL:
https://issues.jboss.org/browse/JBIDE-10553
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Reporter: Max Rydahl Andersen
Assignee: Yahor Radtsevich
Fix For: 3.3.0.Beta1
Right now when you launch browsersim it simply opens on a blank page.
It should look at the current editor/selection to see if it has something that should be
opened.
i.e. when having a browser editor open on some url we should take that url and open -
that would allow you to use Run As ... as "normal" and from there start mobile
browser if wanted to.
similar if having a file selected we should open that file.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira