elifoster / atom-minetweaker Goto Github PK
View Code? Open in Web Editor NEWMineTweaker syntax highlighting and autocompletion for Atom
Home Page: https://atom.io/packages/minetweaker
License: MIT License
MineTweaker syntax highlighting and autocompletion for Atom
Home Page: https://atom.io/packages/minetweaker
License: MIT License
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:
Expected (in Notepad++):
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'");
The pound/hashtag/whatever works as a one lined comment in ZenScript. However, your atom editor seems to not know this.
I think this package might be broken. It's installed, but it's not even listed as a grammar :P
Mod function syntax does not appear to work.
Is it possible to add or enable MineTweaker syntax support for Notepad ++
Currently <> is not supported.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.