ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Pokemon​Team​Syntax

by forsureitsme ST3

Syntax highlighting for Pokemon Team's importables for Sublime Text 3.

Details

  • 2.5.0
  • github.​com
  • github.​com
  • 10 months ago
  • 20 minutes ago
  • 2 years ago

Installs

  • Total 460
  • Win 357
  • OS X 61
  • Linux 42
Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2
Windows 0 0 2 1 0 0 2 1 1 1 1 0 1 0 0 0 1 0 0 1 1 3 0 0 1 0 1 0 0 1 0 0 0 0 0 1 0 0 1 1 1 0 0 0 1 2
OS X 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0
Linux 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

PokemonTeamSyntax Version

Downloads

Syntax highlighting for Pokemon Team's importables in Sublime Text, by setting the syntax on the lower right corner, or saving the file with the .pktm extension.

It was roughly tested in ST3 only. Please, help me out in testing it in other editors, such as ST2 and TextMate.

PokemonTeamSyntax

Install

It's recommended to install it through Package Control, since it can update automatically when new releases are available. However, you can manually install it by downloading it and extracting to your Packages Folder(Preferences > Browse Packages).

Changelog

  • 2.5.0
    • Pokestars added
  • 2.4.0
    • Sun & Moon changes. I didn't even bother to get the whole changelist because it's really too much.
  • 2.3.0
  • 2.2.0
  • 2.1.0
    • Added the following items, by the latest update from Pokemon Showdown Client Repository.
    • Energy Powder
    • Berserk Gene
    • Berry
    • Bitter Berry
    • Burnt Berry
    • Dragon Scale
    • Gold Berry
    • Ice Berry
    • Mint Berry
    • Miracle Berry
    • Mystery Berry
    • Pink Bow
    • Polkadot Bow
    • PRZ Cure Berry
    • PSN Cure Berry
  • 2.0.0
    • Completions: You can now auto-complete by typing part of what you want and using your auto-completion shortcut.
    • Rules were slightly tweaked and now the @ is not colored with the item.
  • 1.2.0
    • Moved from YAML to JSON.
    • Fixed an issue(#5) where Flash makes the move Flash Cannon behave weirdly. The same happened to Charge and Charge Beam, andThunderwithThunderbolt.
    • Included a Contribute section in the README, for those who want to help.
    • Updated to latest(09/11/2015) data from Pokemon-Showdown-Client.
  • 1.1.1
    • Forgot to include Timid nature to the dictionary
  • 1.1.0
    • Things will only be colored only if they are valid
    • IVs/EVs numbers followed by one of the stats (HP, Atk, Def, SpA, SpD and Spe)
    • Happiness and Level value must be a number
    • Shiny value must be either Yes or No
    • Items, like Eviolite will be colored, EvioILte won't.
    • Properties, if followed by a colon will be colored, but their values will only be valid if they have a space between the colon and the value. Valid properties are: Ability, EVs, IVs, Shiny, Happiness and Level.
    • Natures must be followed by the word Nature
    • Moves must have a space between the hiphen and the name.
    • Species names are colored if followed by a space or a closing parenthesis()), still couldn't find a better solution for this.
  • 1.0.1
    • Fixed Move Nature Power was wrongly being recognized as a Nature.
  • 1.0.0
    • Initial release.

Contribute

Don't edit the PokemonTeamSyntax.tmLanguage, it needs to be built with build.js. You may edit any properties of PokemonTeamSyntax.sublime-completions file, except the completions one, since the build script is going to overwrite it.

If you use Sublime Text 3, I included a project file which lets you build right away with your Build shortcut.

# Install node, or make sure it's installed by running:
node -v

# Clone the repository
git clone https://github.com/forsureitsme/PokemonTeamSyntax.git
npm install
node build.js