Git Product home page Git Product logo

sublime-alan-if's Issues

Fix Name Clashes with Alan Language by Alan Tech. Inc.

Tweak the Alan syntax definition to avoid any potential conflicts with the Alan programming language by Alan Technologies, Inc (alantech/alan#548).

File Names

In the event of an upcoming package for Alan Tech's Alan lang we should rename all the syntaxes files and their internal names to avoid conflicts in case a user installs both this package and theirs.

  • ALANAlan.sublime-syntax
    • Rename Syntax to Alan IF.sublime-syntax
      • name: ALan IF
    • Rename all associated ST files and themes accordingly.
  • ALAN SolutionAlan Solution.sublime-syntax
    • Rename Syntax to Alan IF Solution.sublime-syntax
      • name: ALan IF Solution
    • Rename all associated ST files and themes accordingly.
  • ALAN TranscriptAlan Transcript.sublime-syntax
    • Rename Syntax to Alan IF Transcript.sublime-syntax
      • name: ALan IF Transcript
    • Rename all associated ST files and themes accordingly.

Scopes

Likewise, we should change the base scope name used by this package.

  • ALANsource.alanif
    • Fix all other package files that rely on scope for their functionality:
      • Build files.
      • Color schemes.
      • Comments Preferences.
      • Completions.
      • Indentation rules.
      • Snippets.
      • Symbols.
      • Syntax tests.

The scopes of the other syntaxes are fine, and not at risk of clashing:

  • ALAN Solutionsource.a3s
  • ALAN Transcriptsource.a3t

Adopt New Official Extensions for ALAN3 Solution and Transcript Files

Switch to the upcoming official extensions .a3s and .a3t for ALAN3 solution files and transcripts, respectively (see alan-if/alan#2):

  • Update syntaxes:
    • Alan Transcript.sublime-syntax:
      • Add .a3t as main extension (but keep .a3log).
      • Change scope from .a3log to .a3t.
      • Update scopes and references in all package files.
    • Alan Solution.sublime-syntax:
      • Add .a3s as main extension (but keep .a3sol).
      • Change scope from .a3sol to .a3s.
      • Update scopes and references in all package files.
  • Rename snippets-a3sol/ folder.
  • Update documentation accordingly.

NOTE — Initially I'll add the new extensions along with the old ones (.a3sol and .a3log) for a grace period, so that old projects would still be usable in Sublime ALAN.

Add EditorConfig Settings

Enforce code styles consistency to the repository:

  • Add and enforce EditorConfig rules.
  • Add code styles validation script (via EClint).
  • Enable Travis CI code styles validation (via EClint).
    • Add Travis badge (and others) to README.
  • Git hooks for local commit validation (via EClint).

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.