Skip to content

Feature-Request: Closer Scite-like colorization #237

@donnyh13

Description

@donnyh13

Presently Include-Once, NoTrayIcon, OnAutoItStartRegister, and RequireAdmin are not colored differently than ForceDef, ForceRef, AU3Wrapper, etc. Whereas in Scite they are. To aid in keeping things looking similar and familiar between programs I am wondering if the following would be feasible/ fit with your planned outlook on the project:
Based on the following observations:

  • Presently the token name meta.preprocessor.autoit is only applied to the # (pound sign), which also can cause the Pound sign to be colorized differently.
  • Parameters after Tidy_, AU3Wrapper_, AU3Stripper_ are presently not colorized, generally.
  • #Include 's without a space after them between the quote or < mark are presently not colorized, even though it is acceptable syntax, and they are colored either way in Scite.

I am wondering about doing the following:

  • Apply meta.preprocessor.autoit token name to ForceDef, ForceRef, AU3Wrapper, etc.
  • Apply keyword.control.directives.autoit to Include-Once, NoTrayIcon, OnAutoItStartRegister, and RequireAdmin, thus they would be colored the same as #Include
  • Apply string.parameter.directives.autoit to parameters after Tidy_, AU3Wrapper_, AU3Stripper_?
  • Make the space in the RegExp pattern after #Include optional.

Please see Pull Request #238

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions