Embedded browser 0.1.5 released

Changes:
- Opening selection/clipboard content in browser.
- Browser is shown in nonmodal dialog instead of toolwindow to prevent crashes.
- Bug fixes.

5 comments

Pretty cool. Here are some issues I found and ideas for improvement:

General:
- The last line and the bottom of the scrollbar of the browser is cut off (Windows XP/IE).
- The browser doesn't display a horizontal scrollbar even when it should.
- Allow the user to enter windows paths like "c:\something.htm" in the URL field
- It would be nice to use Mozilla even when it's not the system's default browser

Evaluate JavaScript Expression:
- This should have a history of previously evaluated code fragments
- The entered script is not run when pressing -]]>
- The evaluation result should distinguish "primitive" types and object types, and show
the DOM/object browser for object types
- It doesn't seem to like objects/arrays at all. Evaluating "document", "document.all",
"document.getElementsByTagName('h1')" all return "void". Maybe this is by design and
would be addressed by the previous point
- : Add smarter JS error highlighting and completion based on the context of
current page. I know the JS support is not able to do that right now, but I suppose you
got some good connections to change that ;)

DOM Browser:
- It has an encoding issue. See the attached screenshot. The file is saved in windows-1252
but the node displays UTF-8 code. Evaluating "document.all[0].innerHTML" however displays
the text correctly
- Add a "real" DOM browser that just displays the (W3C) DOM document structure. The
generic object browser is cool, but is a bit hard to use for just browsing the DOM.

The "Open selection or clipboard content in browser" action sounds interesting. I guess
this could be useful for an integration with the XSLT plugin. I'll give that a look ;)

Sascha



Attachment(s):
encoding.PNG
0

After installing the plugin, I got:

java.lang.ExceptionInInitializerError
at
com.intellij.ide.startup.StartupActionScriptManager$UnzipCommand.execute(StartupActionScriptManager.java:5)
at
com.intellij.ide.startup.StartupActionScriptManager.executeActionScript(StartupActionScriptManager.java:15)
at
com.intellij.ide.plugins.PluginManager.initClassloader(PluginManager.java:285)
at com.intellij.ide.plugins.PluginManager.bootstrap(PluginManager.java:306)
at com.intellij.ide.plugins.PluginManager.main(PluginManager.java:270)
at com.intellij.ide.plugins.PluginManager.main(PluginManager.java:7)
at com.intellij.idea.Main.main(Main.java:9)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)

Caused by: java.util.MissingResourceException: Can't find bundle for base
name messages.IdeBundle, locale en_GB

at
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:549)
at com.intellij.ide.IdeBundle.]]>(IdeBundle.java:17)
... 13 more

Is something I'm missing here? ... and of course idea doesn't start anymore
:)


0

It seems like some problem with your IDEA install.

0

AdvancedTools wrote:

- Opening selection/clipboard content in browser.


This only seems to work if the selection contains max. 2Kb of data.

Sascha

0

Will look for this issue, thank you for the feedback.

0

Please sign in to leave a comment.