alex-trueman / sublime-dm-macro Goto Github PK
View Code? Open in Web Editor NEWSublime Text 3 syntax definition, snippets, and commenting for Datamine macros
License: MIT License
Sublime Text 3 syntax definition, snippets, and commenting for Datamine macros
License: MIT License
Need to expand the list of obsolete and depreciated commands highlighted as errors in syntax. Obsolete commands are those that are no longer included in Datamine and will cause macros to fail in the latest version. Depreciated commands are still present but have been replaced by better options. Use of depreciated command should be highlighted so that developers can start removing them from their work. Perhaps depreciated commands could also include commands not officially depreciated?
Obsolete: ANYJOI
, TRIANR
, VARDIR
, VARHOL
, DIGIT
Depreciated: GENTRA
, AED
, SORTX
Current snippets are of single commands (with the exception of the loop snippet), some with multiple formats depending on use case. It would be useful to add more complex snippets of macro code for common tasks. These should be kept to fairly simple and generic applications that many users will find useful.
that's probably minor thing - but I always trying to use forbidden commands inside EXTRA - like !let etc
it'd be nice to check if there are lines starting with "!" between EXTRA and GO and highlight it as an error
Menu option for README currently opens README.md in Sublime Text. Would be more useful to link to GitHub for richer display of README with figures and formatting.
A code line exceeding 80 characters is invalid in Datamine macros. If a code line less than 80 characters has an appended comment that makes the line exceed 80 characters, the code is still valid. Currently the syntax definition will flag this line as invalid.
Tried fixing this with a negative lookbehind for the "line to long validation" but it didn't work; although, the syntax is valid. Problem is that lookbehind can't use wildcards.
(?<!\s#).{81,}
Add more content to README, specifically, screen capture GIFs demonstrating:
Ctrl+/
New functions in EXTRA not highlighted
maxia(n1,n2,n3...) - returns maximum while ignoring absent values
minia(n1,n2,n3...) - return minimum while ignoring absent values
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.