Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.4 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.4 KB

ANSI Color Escape Syntax Highlighting for IDEs and Editors

Introduction

This TextMate bundle provides syntax highlighting for text files containing ANSI color escape codes. It's designed to enhance the readability of logs, scripts, or any text outputs that use ANSI color codes. This bundle matches the escape sequences and assigns scope names for the escape sequences themselves and the text in between, respectively.

Installation

  1. Clone the Repository:
    git clone https://github.com/tim-sh/ansi-textmate.git
  2. Install the Bundle:
    1. Open your IDE or editor
    2. Install the TextMate bundle by selecting the corresponding menu entry
      • in WebStorm or IntelliJ IDEA: File > Settings… > Editor > TextMate Bundles > +
    3. Select the src folder of this project to import the bundle.
  3. Restart the IDE/editor if required for the changes to take effect.

Usage

After installation, the bundle automatically applies syntax highlighting to files with specific extensions (currently .txt and .log).

Contributing

Contributions to improve the bundle or add more features are welcome. Please submit pull requests or open issues in the GitHub repository.

License

Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.