Best YAML editor for Windows users?

Is there an editor that can indent automatically?

+41
editor yaml
Feb 10 '10 at 9:18
source share
6 answers

Notepad ++ can handle the selection of YAML syntax, and I assume that it also automatically indents.

+34
Feb 10 '10 at 9:22
source share

Notepad ++ by default inserts tabs as indentation, invalidating YAML (it will mark an invalid line in red). If you use it as an .yml editor, you must configure "substitute with spaces" in the settings.

+13
Oct 11
source share

Sublime Text 2 also supports syntax highlighted YAML files that are indented right out of the box. If you have tabs as the default use for padding in Sublime Text, John Thomas on Coder Wall explains how to fix this. I copied what he wrote below for your convenience:

Languages ​​such as YAML require indented text using spaces. Tabs are not allowed. So, if you usually use Sublime Text 2 with tabs as the default indentation, here's how you can force a particular language to always use spaces. I will use the .yml file as an example, but you can follow the same steps for any type of file.

  • When editing a .yml file in Sublime Text 2, go to the Sublime Text 2 menu. Go to Settings -> Settings - Advanced -> Specifc Syntax - User
  • Sublime Text 2 will open the language-specific settings file in which you select the settings to edit. In this case, I will edit the YAML.sublime-settings File, which will only apply the settings for the YAML Syntax Language.
  • Use the following code to adjust the indentation options:

    "tab_size": 2, "translate_tabs_to_spaces": true 
+8
Jun 14 '13 at 20:07
source share

I love PhpStorm beta ... very nice and cross-platform to download

+4
May 26 '10 at 17:37
source share

Well, geany is definitely my first choice. The best code editor ever (and not an IDE, though) does many languages.

There is also Yedit that looks cool, but I haven't tried it yet! And this is the eclipse plugin!

+2
May 20 '11 at 23:47
source share

If you need a YAML editor for the PHP ORM framework Doctrine or Propel, you can try ORM Designer . This is a visual editor for the ERD model with support for import / export to YAML files.

0
May 24 '10 at 20:48
source share



All Articles