Solved Notepad++ not formatting YAML files properly

Discussion in 'Bukkit Help' started by MysteryManX, Oct 24, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    MysteryManX

    I was just editing my groups/permissions file, and when I checked it with a YAML parser, it failed? For some reason Notepad++ isn't formatting it correctly. I always use the return/enter key when moving to a new line..

    Any idea/suggestion why it could be doing this?

    File: http://pastebin.com/L54TDYzt formatting.png
     
  2. Offline

    drtshock

    This should work
    http://pastebin.com/X9fBNjWY
    It was because you had tabbed over to add that permission. Yaml doesn't support that, you need to use the space bar, as annoying as it is.
     
  3. Offline

    MysteryManX

    Oh :( does that count for Shift + Enter too?
     
  4. Offline

    drtshock

    Not sure, never tried. I just know that I had a ton of troubles with pex before I realized that. Now all my permissions are in mysql so I don't have to worry about it :)
     
  5. Offline

    Jade

    To change a tab (Whenever you press it, and autos);
    Settings > Preferences > Language Menu/Tab Settings > (Should look like this [​IMG])
    Check the box that says "Replace by space", click close, you can now tab or enter properly for YAML/YML
     
    MysteryManX and drtshock like this.
  6. Offline

    drtshock

    I always wondered if that was possible. I am very glad you posted that.
     
  7. Offline

    Jade

    Any time! :D
     
  8. Offline

    MysteryManX

    Worked perfectly! Thank you good sir! Have a free cookie :3 *gives cookie*
     
  9. Offline

    Jade

    [cake] > [​IMG]
    Anyway, mark as solved, please! ^^
     
Thread Status:
Not open for further replies.

Share This Page