Syntax highlighting for Hugo in WebStorm - ide

I have been looking around the internet for a WebStorm plugin that will help with syntax-highlighting when working with Hugo. I have not been able to find one. Does anyone know of a Hugo WebStorm plugin that exists? Thanks for your help.

There is Go Template plugin from JetBrains. It allows to highlight and autocomplete the basic syntax at least. The plugin works with *.gohtml files, file extensions can be customised in "Editor/File Types" preferences.

Related

How can I import Emmet snippets into IntelliJ?

I usually using Eclipse as default IDE but now I need to migrate to IntelliJ in my work.
I've worked with custom Emmet snippets created by myself in Eclipse, I exported them as an XML file in order to load on IntelliJ, but I was not able to found where to import it.
Do anyone know how to do it, please?
Importing of Eclipse templates currently is not supported. Only Code Style can be imported. Here is the post from 2014 in JetBrain's blog regarding that. Current progress could be checked at YouTrack.
Here is similar question on StackOverflow.

IntelliJ Ctrl-Click on method and autocompletion in HTML doesn't work

I've started using IntelliJ for angular2 development recently but there seem to be a bug. I know from WebStorm that if I have following html:
<button (click)="onHaveClicked()">Button</button>
I should be able to jump to the method implementation in my typescript file using ctrl-click. But this shortcut isn't working at all. I've tried multiple different files.
Also autocompletion in html doesnt work at all. It's showing no angular attributes like ngFor etc. Angular2 is of course installed.
Was somebody with the same problem able to solve it?
IntelliJ doesn't come with Angular support built in. You can however enable it by installing the plugin. Settings -> Plugins -> Install Jetbrains Plugin -> Search for Angular.
This is a general thing with IntelliJ and the other editors. The specialized editors (like PhpStorm and WebStorm) comes with what you need for that editor by default. IntelliJ, which is more general, it often has to be installed manually.

Syntax highlighting for scala.html and routes files in IntelliJ / Play framework

I am new to both IntelliJ and the Play framework. I noticed that after installing IntelliJ and importing my first Play application, syntax highlighting is not working properly for both *.scala.html files and the routes files. I was able to modify the settings for the *.scala.html files to have them recognized as Scala files, but this isn't actually correct because the scala templating system is not pure Scala.
Here's a screenshot, in case it helps:
In the official Play video tutorials there seems to be a special syntax highlighting setting for these template files, but I don't know how to add this to IntelliJ. Here's a screenshot from this tutorial and how I would like the syntax highlighting to look:
Also, I couldn't find any solution for the routes file. Any help would be most appreciated!"
P.S. I enabled the Vim emulator during installation of IntelliJ. I don't know if this had any effect on the syntax highlighting defaults...
Playframework full support in only available in IntelliJ ultimate edition a commercial one.
Community edition (free version) that you probably are using doesn't have any support for playframework it only supports Scala (language).
Routes and *.scala.html files are part of the framework not the language.
You may like to purchase IntelliJ ultimate edition or would like to go for Scala IDE (based on eclipse) which is an open source IDE for java and scala, it seems to have full support for play 2.x.
For *scala.html syntax highlighting
Preferences > Plugins > Install Jetbrains plugin...
Then install the Scala plugin
Restart IntelliJ and syntax highlighting should work.
For routing file highlighting
Preferences > Editor > File Types
Under the registered patterns for HTML Routing Support For Play 2 Framework if *.routes isn't already there, add it. Or add however you plan on naming your routes files.

What IDEs have support for the Hack Language?

Has anyone managed to find an IDE for Hack Language used on HHVM ?Is there any plugin available for the well-known IDEs like Eclipse,Netbeans,etc?
Thank you!
Edit : By the time SiebelsTim has embedded typechecker and made a basic syntax highlighting for Sublime. You can find the plugin here
Here are the plugins for vim, emacs and Sublime 1.
More support in other IDEs will be probably added in the future. I'm especially waiting for plugins for PHPStorm and Netbeans.
1 = I don't use these editors, so please don't ask me how to install the plugins.
EDIT: There is now a page in HHVM docs with links to various plugins.
I've created a plugin for Github's Atom Editor, it can be found on GitHub.
It allows you to configure remote SSH Machines too (a great feature if you're on windows and running HHVM in a VirtualMachine).
for netbeans integration there is already an issue opened
https://netbeans.org/bugzilla/show_bug.cgi?id=243133

Export a list of IntelliJ plugins

One feature I miss from Eclipse is exporting a list of installed plugins; I haven't been able to find a way to do this in IntelliJ.
For developers who need to use different machines (including different OSs) this would be helpful. Other than the availables.xml and disabled_plugins.txt is there any other way to get a list of what plugins are installed and active? Having to use two files to deduce the answers is a bit cumbersome.
Open the settings, go to plugins, filter them by "Enabled", then select the entire list (CTRL+A would work), and copy them with CTRL+C.
This will give you a nice list of enabled plugins along with their versions. Something like:
BashSupport (1.6.13.182)
Behat Support (182.4129.45)
Blade Support (182.4129.45)
Codeception Framework (182.4129.45)
CoffeeScript (182.4129.45)
Command Line Tool Support (182.4129.45)
[...]
There is no easier way to do it right now, please vote for this feature request.
I think there is plugin now here:
Intellij plugin export
You can download and install that, after restart IDEA, you can see the option under File -> Export Plugins...
i find intellij plugin in this directory (windows 7):
C:\Users\{USER_NAME}\.IntelliJIdea{IDEA_VERSION}\config\plugins