Giter Site home page Giter Site logo

elifoster / atom-minetweaker Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 61 KB

MineTweaker syntax highlighting and autocompletion for Atom

Home Page: https://atom.io/packages/minetweaker

License: MIT License

ZenScript 100.00%
atom atom-syntax minecraft-mod

atom-minetweaker's People

Contributors

elifoster avatar xbony2 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

davealbion

atom-minetweaker's Issues

Formatting not terminated properly

The following code breaks the string highlighting. I believe it to be rooted in the format.red function in some way after a quick test in Atom.

Result:

nei

Expected (in Notepad++):

nppnei

Code to reproduce:

#Name: NEI.zs
#Author: Feed the Beast

import mods.nei.NEI;

print("Initializing 'NEI.zs'...");

#tooltips
<minecraft:golden_axe>.addTooltip(format.("Used For Crafting Only!"));
<minecraft:golden_shovel>.addTooltip(format.red("Used For Crafting Only!"));
<minecraft:diamond_hoe>.addTooltip(format.red("Used For Crafting Only!"));
<minecraft:diamond_sword>.addTooltip(format.red("Used For Crafting Only!"));
<minecraft:diamond_shovel>.addTooltip(format.red("Used For Crafting Only!"));
<minecraft:diamond_axe>.addTooltip(format.red("Used For Crafting Only!"));
<minecraft:diamond_pickaxe>.addTooltip(format.red("Used For Crafting Only!"));
<minecraft:golden_pickaxe>.addTooltip(format.red("Used For Crafting Only!"));
<minecraft:iron_shovel>.addTooltip(format.red("Used For Crafting Only!"));
<minecraft:iron_axe>.addTooltip(format.red("Used For Crafting Only!"));
<minecraft:iron_pickaxe>.addTooltip(format.red("Used For Crafting Only!"));
<minecraft:iron_sword>.addTooltip(format.red("Used For Crafting Only!"));
<minecraft:golden_sword>.addTooltip(format.red("Used For Crafting Only!"));
<minecraft:golden_hoe>.addTooltip(format.red("Used For Crafting Only!"));
<Railcraft:tool.steel.sword>.addTooltip(format.red("Used For Crafting Only!"));
<Railcraft:tool.steel.pickaxe>.addTooltip(format.red("Used For Crafting Only!"));
<Railcraft:tool.steel.axe>.addTooltip(format.red("Used For Crafting Only!"));
<Railcraft:tool.steel.shovel>.addTooltip(format.red("Used For Crafting Only!"));
<Railcraft:tool.steel.hoe>.addTooltip(format.red("Used For Crafting Only!"));
<IC2:itemToolBronzeSword>.addTooltip(format.red("Used For Crafting Only!"));
<IC2:itemToolBronzePickaxe>.addTooltip(format.red("Used For Crafting Only!"));
<IC2:itemToolBronzeAxe>.addTooltip(format.red("Used For Crafting Only!"));
<IC2:itemToolBronzeSpade>.addTooltip(format.red("Used For Crafting Only!"));
<IC2:itemToolBronzeHoe>.addTooltip(format.red("Used For Crafting Only!"));
<ThermalFoundation:tool.swordInvar>.addTooltip(format.red("Used For Crafting Only!"));
<ThermalFoundation:tool.axeInvar>.addTooltip(format.red("Used For Crafting Only!"));
<ImmersiveEngineering:tool:3>.addTooltip(format.red("Some items in book may not reflect changed recipes. Refer to NEI!"));

print("Initialized 'NEI.zs'");

Comment

The pound/hashtag/whatever works as a one lined comment in ZenScript. However, your atom editor seems to not know this.

Is broken

I think this package might be broken. It's installed, but it's not even listed as a grammar :P

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.