Grails gdoc editor support (esp IntelliJ) - vim

Since Grails 1.2 there's a documentation engine included: gdoc. The documentation's syntax is based on the Textile format.
Is there some editor support for this? My first choice would be a plugin for IntelliJ, second option on for vim or gedit. Any hints welcome. I am totally a aware that the format is very simple by itself but having code coloring and content assist would be really nice.

I'm not sure about Intellij, since many of us work on Macs we tend to use TextMate which has an excellent Textile plugin with completion, preview etc.

I know this is almost 3 years old, but just in case... I found that the Mylyn Wikitext plugin was useful for this in Eclipse. Just had to add the .gdoc file extension to it in under the properties.

Related

"Jump to definition" in Rust

After years of coding in modern IDEs (Visual Studio, Xcode, JetBrain's products) I'm quite used to invaluable Jump to definition feature. It is especially invaluable for system libraries and frameworks when you yet learning the core features of the new language.
Is there any way to achieve the same functionality for the Rust combined with any modern IDE or text editor? Any vim, sublime text plugin?
IDE support for Rust is not there yet. There exists at least the Racer project, that provides a jump-to-definition feature among other things.
Racer is intended to be integrated into any IDE/text editor, and ships with an emacs integration.
In Vim and emacs you can use ctags to get you a lot of the way there; the language definitions are in src/etc/ctags.rust and you can produce tags for the Rust distribution with make TAGS.vi (or make TAGS.emacs for emacs’ format). See mk/ctags.mk for more information.
For setting them up and using them in Vim, see :help tags.
There is a project called rusty-tags generating ctags for Rust. At the time of this post, it is still actively maintained.
The RustDT IDE now supports Open Definition functionality, using the Racer tool.
Sublime's RustAutoComplete has a working Go to Definition using a separately installed Racer.
I'm using it and it works.
That being said, in 2014 the language is still in a flux and the Racer functionality is still limited.
I currenly have "auto_complete": false and only use the completion manually (with a keyboard shortcut) in order to avoid some Racer crashes.
Emacs can be integrated with rust-analyzer via lsp-mode. This will allow you to navigate the source code using Rust's type system. I describe a detailed setup in the code navigation section of my Rust with Emacs guide.
dumb-jump works well for rust.

A Linux tool that will display errors as I type, Visual Studio style

I'm looking a tool that will display details of syntax errors in my code as I'm typing it, in the same way that Visual Studio does. I'm currently using Gedit, but am not adverse to acquiring a new text editor. I'm using C++ and HTML/CSS right now, but will be branching out to more languages in the future, so it needs to have support for as many languages as possible. I'd also like to avoid using an IDE as I feel more productive using a text editor and the GNU toolchain. Any suggestions?
You will likely have difficulty finding a simple one-file editor that can do this. An IDE is virtually a necessity, since it integrates with a compiler to detect errors/warnings.
If you use an IDE (and I would recommend Eclipse or maybe KDevelop), you can continue to use the GNU toolchain; you don't need to build your project from the IDE if you don't want to. I regularly use Eclipse for programming and then Ant or Make in a terminal for building.
How about Eclipse?
vim does syntax highlighting well. As far as I know, however, it doesn't have the ability to display the details of the syntax errors in the editor. The constant "hands on keyboard" does speed up programming, though.
vim with the pyflakes plugin does this for python, but I don't know about other languages.

Flex: MXML syntax highlighting, autocomplete and bracket matching functionality on GNU/Linux?

Has anyone been able to get syntax highlighting, autocomplete and bracket matching functionality on GNU/Linux for MXML files?
We are using Eclipse with Flex Builder for Linux (version alpha 5), but we can't edit MXML files on design view, and the text mode just shows the XML as plain text (not even syntax highlighting).
The official project from Adobe seems abandoned, do you know of any alternatives?
UPDATE
As James Ward comments:
Make sure you vote for this feature
request:
http://bugs.adobe.com/jira/browse/FB-19053
JetBrains just launched IntelliJ IDEA version 9.
Which has Flex and Air support. Take a look at it.
So far, IntelliJ IDEA version 9 and Eclipse with Flex Builder seem to be the best solutions for this question.
We were using Eclipse 3.5, but haven't been able to use the MXML syntax highlight or autocomplete even with the patches. However, we could use these features with Eclipse Europa without patches.
The Design view for MXML doesn't work for GNU/Linux yet, afaik.
I hope this situation improves.

Are there any ide's out there with good support for vim/vi bindings?

Finding vim plugin maintenance and configuring is too laborious and relies on external configurations (such as ruby) tricky. What I want is an IDE like Eclipse, Visual Studio, that I can use vim in. I still want to be able to use different modes (command, visual, insert), but I don't want these inbuilt commands to conflict with the IDE's commands.
I've heard PIDA is good for this but looks like a bit of a mission to configure on Mac.
Eclipse has a VIM plugin. Eclipse runs on OS X
http://www.vimplugin.org/
Also, I think the Komodo IDEs and editors have VIM bindings, but I have little experience with them. Apparently, they also run on OS X.
http://docs.activestate.com/komodo/4.4/vikeybind.html
I use Komodo Edit on OS X, Ubuntu and Windows. It's open source, supports a ton of languages and has good Vi/Vim key binding support without getting in the way of itself. It's also easy to add in support for additional key bindings. It's built on the Mozilla code base and can be extended with Add-ons (Remote Drive Tree/Source Tree/MoreKomodo are great examples). I also personally love being able to write macros for myself in either JS or Python to add extra functionality.
The full fledged IDE is worth looking at if you can use the extra features. For most of the things that I work on, I can't use a full fledged remote debugger so Komodo Edit suits my needs.
It also has built in SSH support all in a package that is very responsive on my 5 year old work machine with several 1000 line files open in tabs.
Emacs has a vi emulation mode called Viper ;-)
Besides the vim plugin for Eclipse there is also ViEmu for (amongst others) Visual Studio, if you are not afraid of shelling out some $. Haven't used it though, as vim is my IDE :)
This AutoHotKey script isn't quite what you asked for, but I mention it in case it's helpful.
As you say, PIDA has real Vim, nothing can come close to that. Keybinding emulation only goes so far. It's not that bad to get running on a Mac, Windows is a mission though.
QT creator has Vi bindings.

Text editors with vim mode?

I've come across ViEmu, and I read the very motivating article: Why, oh WHY, do those #?#! nutheads use vi?
Anyway, I've come to like the command mode in vim, specially the motions, and I also like the idea behind ViEmu, which is to bring "vim mode" into a typical text editor.
What other editors have a similar "vim mode" or a plugin that provides the functionality?
I am a huge fan of vim myself, so whenever I am trying a new IDE, I am instantly looking for a vim plugin. Here is a short list of plugins that I found:
Atom - vim-mode
Eclipse - Vrapper / Vimplugin / Eclim
Idea / WebStorm / pyCharm / RubyMine / CLion / PhpStorm / AppCode - IdeaVim
NetBeans - jVi
Notepad++ - ViSimulator
Visual Studio - ViEmu / vsvim
Xcode - Xvim
Also, a couple of editors/IDEs have built-in vim mode:
AbiWord word processor supports vi keybindings.
Kate text editor includes a vi mode.
QtCreator has FakeVim mode.
Sublime Text has vintage mode.
Even Emacs has viper-mode!
bash, gdb, mysql-client, and many other applications use the GNU Readline library to interact with the user. Readline includes a vi mode.
In Bourne-style shells like ksh and zsh, type set -o vi to enable vi-like command-line editing.
ViEmu works also in Microsoft Outlook, Microsoft SQL Server and Word!
Bonus - web browsers! Really, try it, it is awesome!
Firefox - vimperator
Chromium/Chrome - cvim / vimium
Sadly, all of vi plugins for Opera seem outdated.
Please let me know if I forgot something, I would be happy to extend the list. For a more extensive list (sometimes sadly outdated), please see this article.
It's worth noting that there's a lot more to vi than keybindings. As this blog post notes, there isn't any IDE plugin that emulates all the features vi.
Editra has vim mode
Check out excellent Vrapper plugin for Eclipse.
Vrapper is an eclipse plugin which acts as a wrapper for eclipse text editors to provide a Vim-like input scheme for moving around and editing text.
Unlike other plugins which embed Vim in Eclipse, Vrapper imitates the behaviour of Vim while still using whatever editor you have opened in the workbench. The goal is to have the comfort and ease which comes with the different modes, complex commands and count/operator/motion combinations which are the key features behind editing with Vim, while preserving the powerful features of the different Eclipse text editors, like code generation and refactoring.
Vrapper tries to offer Eclipse users the best of both worlds.
I primarily use:
Visual Studio with ViEmu
NetBeans with jVi
Sublime Text has a vintage mode for vi style editing.
for Firefox users :
setup It's all text! to use external vim - it will let you edit those textboxes in vim
Vimperator is also quite cool.
Emacs has viper-mode, which offers multiple levels of Vi emulation (from more Vi-like to more Emacs-like). The manual describes it as follows:
Viper Is a Package for Emacs Rebels;
it is a VI Plan for Emacs Rescue
and/or a venomous VI PERil.
It seems the eclim plugin can help you embed the real GVim into Eclipse.
http://texteditors.org/cgi-bin/wiki.pl?ViFamily includes a long list of vi clones and a long list of vi implementations. This second list includes perhaps a dozen text editors with "Vim modes".
Komodo Edit has a reasonably good Vi emulation mode. It's also very good for code sense etc.. and supports a plethora of languages. Linux and Windows... and damn, I should be on commission with these guys... wait a minute, it's freeware... Damn! Damn! Damn!
Anyway... Good editor, Linux & Windows, Free, Vi (and Emacs) emulation.
Qt Creator has a "vim mode" for editing, but it currently lacks some abilities; as well, I feel handicapped without the settings I have in my .vimrc.
I'm using viPlugin for Eclipse. Unfortunately, it's not free, but it works pretty well for all the basic Vim commands.
There is also freeware Vimplugin for Eclipse — it embeds Vim into Eclipse, but you lose all navigation and code-completion functionality that Eclipse provides, so its usefulness is disputable.
Slickedit has extremely good vim emulation. One of the soundest purchases I have ever made.
I have found the vim mode in Sublime Text 2 to be fantastic along with the great extensions and awesome performance makes it one of the best $59 I've spent all year.
Yzis a vi-like editor inspired by vim.
Yzis aims to be a powerful, fast
editor with all of Vim's features and
hopefully, at some point, more.
(quoted from Yzis' website)
EDIT : the yzis project seems to be dead. The internet archive has copy of the yzis page.

Resources