Skip to content

tim-sh/ansi-textmate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published