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.
- Clone the Repository:
git clone https://github.com/tim-sh/ansi-textmate.git
- Install the Bundle:
- Open your IDE or editor
- Install the TextMate bundle by selecting the corresponding menu entry
- in WebStorm or IntelliJ IDEA: File > Settings… > Editor > TextMate Bundles > +
- Select the src folder of this project to import the bundle.
- Restart the IDE/editor if required for the changes to take effect.
After installation, the bundle automatically applies syntax highlighting to files with specific extensions (currently .txt and .log).
Contributions to improve the bundle or add more features are welcome. Please submit pull requests or open issues in the GitHub repository.
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.