Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
11 of 22 tasks
tajmone opened this issue May 26, 2021 · 0 comments
Open
11 of 22 tasks

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

tajmone opened this issue May 26, 2021 · 0 comments

Comments

@tajmone
Copy link
Owner

tajmone commented May 26, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant