Git Product home page Git Product logo

sublime-dm-macro's People

Contributors

alex-trueman avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

sublime-dm-macro's Issues

Obsolete and depreciated command highlighting

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

Add snippets of more complex macro code

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.

  • loop though file by record
  • loop given maximum iterations
  • initialize audit file; write audit file
  • create date/time strings
  • end macro cleanup
  • ...

use of commands within EXTRA - GO block

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

Code line with appended comment is flagged as invalid is line exceeds 80 characters

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,}

Improve content of README

Add more content to README, specifically, screen capture GIFs demonstrating:

  • syntax highlighting features
  • commenting command Ctrl+/
  • snippet insertion and fields

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.