web browser
Is there a simple view in browser button included in PHPStorm for vanilla HTML?
I've read how to hide it in WebStorm, and how to add the live edit plugin.
Just a simple view in browser button like most ide have?
Please sign in to leave a comment.
Hi there,
Right click and then "Open in Browser" ? Also available via "View | Open in Browser"
If you really need on actual toolbar -- just put it there (by customizing it).
You can also assign shortcut to that or any other action (e.g. "Other | Open in default browser") in "Settings/Preferences | Keymap"
Neither of those options seems to be available. I really have looked everywhere.
You must be doing something wrong .. or somehow misconfigured your IDE
I just upgraded recently and the only customising I have done is to add plugins for WordPress and Twig.
I did not customize any of the menus?
Screenshot shows that you have "Open in Browser" group available (it's a group as it shows a list/submenu with actual browsers to choose from).
1. Open (or create if you do not have one) some "test.html" file
2. Do you have "Open in Browser" item available when you check "Mean Menu -> View"?
3. Do you have "Open in Browser" item available if you right click in editor / right click on that file in project View panel?
P.S. From your screenshot I see that you have a file named "1.4-even-listeners.html" (so it's a HTML file) ... but it has Twig file icon.
Try resetting it ("Settings | Editor | File Types") .. so it has HTML file icon. Unless you did this on purpose (e.g. in old version)...
P.P.S. If you want to customize menus or toolbars (add another item .. or reset to default) -- "Settings | Appearance & Behavior | Menus and Toolbars"
P.P.P.S. You can always start from scratch by deleting your IDE settings.
Directories used by the IDE to store settings, caches, plugins and logs
RE:Twig file icon. Its a workaround for Craft CMS that uses twig within HTML files so I can get syntax highlighting to work. I thought I set it up project specific. If you have a better workaround let me know.
So how to fix the missing view in browser button. This option seem's like the best choice to return to default.
"P.P.P.S. You can always start from scratch by deleting your IDE settings." sound's like the option that will return my ide to default.
- If I were to do this will it keep and still recognize the plugins I have added?
Hi,
> - If I were to do this will it keep and still recognize the plugins I have added?
No, it won't. You will need to add plugins again manually.
What do you have in File | Settings | Tools | Web Browsers? Could you show a screenshot of this screen please?
> - If I were to do this will it keep and still recognize the plugins I have added?
No, it won't. You will need to add plugins again manually.
You can preserve the content of plugins folder (copy it elsewhere) and then copy it back when new fresh config files will be created (while IDE is closed, of course).
This will not preserve the plugins settings though.
As for the rest of the settings -- you can safely backup and then restore such settings like Color Sheme, Keymap, External Tools, Live Templates, File Templates and some other -- they should not affect other IDE settings in any way.