I’m used to seeing syntax highlighted in Firefox, when using the Asciidoctor.js plugin, but not directly in VIM.
#Use intellij key map for pycharm code
What I didn’t expect, however, was that the syntax highlighting would extend to source code blocks. So I’m aware of the quality of the syntax highlighting. Sure, I’ve been using PhpStorm, one of the IntelliJ IDEs for some time as my primary PHP editor, and have used IntelliJIDEA for Java and Kotlin. I honestly didn’t expect the syntax highlighting to be as good as it is. Where the Plugin Shines Excellent Syntax Highlighting Support Hopefully, it’s infectious (in the good way). It takes a lot of effort to do what and team have done and I really appreciate their hard work and dedication. What’s more, here’s what AsciiDoc (and Antora) project lead, Dan Allen, says about it: However, when you consider that the functionality of the plugin is combined with all of the pre-existing functionality available in IntelliJ IDEs, and with the functionality of any additional you may add, I hope that you start to see just how powerful a technical writing setup it presents. Now, on their own, these are some pretty awesome features. A configurable AsciiDoc preview for proof-reading AsciiDoc content.An AsciiDoc context-sensitive editor, with syntax highlighting, auto-completion, and in-line validation messages.It also supports Antora, the documentation CMS build with AsciiDoc. The plugin is primarily developed and maintained by Alexander Schwarz (ahus1), who’s a very active member of the AsciiDoc and Antora communities.Ī plugin for the IntelliJ platform ( IntelliJ IDEA, RubyMine, and PhpStorm, etc.) that provides support for the AsciiDoc markup language. What is the AsciiDoc Plugin for IntelliJ?
#Use intellij key map for pycharm trial
So, after he kept suggesting it for over 6 weeks, I decided to trial it for 4 weeks, exclusively, as my AsciiDoc editor, and see why he was so enthusiastic. However, Dan is very enthusiastic, and often very convincing. To be honest, I’d wanted to improve my VIM configuration, not to start with another tool. He’s been strongly advocating for the AsciiDoc Plugin for IntelliJ. However, of all the suggestions which I’ve received, the one I’ve heard the most, and the one that’s been advocated for most strongly, is by AsciiDoc and Antora project lead, Dan Allen. In the search for solutions to these, often minor, shortcomings in VIM, I’ve been seeking answers and workarounds in the Antora users Gitter forum and the AsciiDoc sub-channel in the Write the Docs Slack channel. However, this isn’t a deal-breaker, as I’ve also been using (and advocating) the Asciidoctor.js Live Preview plugin for Firefox and Chrome.Īs you can see in the image below, I can write and preview, virtually, at the same time. What’s more, it has no native preview functionality. However, there are little things that it doesn’t do, or I’ve either not found a plugin, or coded up a plugin to do.įor example, have I attempted to include an image or file using an incorrect file path. I love how VIM is so lightweight, so configurable, so easy to use. I’ve used it when working with my technical documentation clients and for the books and courses which I’ve created. In this post, I share everything that I learned.įor the longest time, I’ve been using VIM to write and maintain AsciiDoc content. I gotta add that I'm using IdeaVim Plugin and I have three different options that are called "Comment with (Line|Block) comment", all under a different hierarchy ( Code-> Folding, Plugins-> IdeaVim and just Other.I’ve been reviewing the AsciiDoc plugin for IntelliJ over the last four weeks. So I tried to remap to Cmd+ Shift+ L which wasn't mapped already, but the comment toggling won't work. First problem of course is that Cmd+ Shift+ 7 is already mapped unlike Cmd+ Shift+. However for Cmd+ / (toggle line comment Cmd+ Shift+ 7 on german layout), this is not working. I helped myself out by mapping Cmd+ Shift+, instead of Cmd+. pressing Cmd+ can only be achieved by pressing Cmd+ Shift+, on a german layout, so this keymapping for opening the projects structure doesn't work. Mostly because there is a key that is available without pressing Shift on an us layout. When using default shortcuts of IntelliJ Idea, some of them are not working properly on a German Keyboard. It's not fixed on Idea14, don't know about 15. So cmd+\ translates to cmd+- on German layout. So for example commenting is cmd+- as - is on the same key on German layout as / on us. But the problem is that the key bindings are not bound to the characters a key would produce but to the key itself.