An open API service indexing awesome lists of open source software.

https://github.com/ldez/atom-language-ignore

Syntax highlighting for 'ignore' files : gitignore, npmignore, dockerignore, coffeelintignore, ...
https://github.com/ldez/atom-language-ignore

atom gitignore ignore-files syntax-highlighting

Last synced: 21 days ago
JSON representation

Syntax highlighting for 'ignore' files : gitignore, npmignore, dockerignore, coffeelintignore, ...

Awesome Lists containing this project

README

        

# Ignore files Package for Pulsar/Atom

[![Build status (Windows)](https://ci.appveyor.com/api/projects/status/hqhpnne2dungfbj1?svg=true)](https://ci.appveyor.com/project/ldez/atom-language-ignore)
[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/ldez/atom-language-ignore/blob/master/LICENSE.md)

[![language-ignore](https://image.pulsar-edit.dev/packages/language-ignore)](https://web.pulsar-edit.dev/packages/language-ignore)

Adds syntax highlighting to 'ignore' files.

![language-ignore-gitignore](https://cloud.githubusercontent.com/assets/5674651/14763858/4ae7eae4-09a3-11e6-9adf-94f3d5cdf1d6.png)

## Supported files

- `.gitignore`: references [gitignore](https://git-scm.com/docs/gitignore) and [Ignoring-Files](https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository#Ignoring-Files)
- `.npmignore`: works just like a `.gitignore` [references](https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package)
- `.dockerignore` : works just like a `.gitignore` [references](https://docs.docker.com/engine/reference/builder/#dockerignore-file)
- `.coffeelintignore`: works just like a `.gitignore`.
- `.slugignore`: does not support negated `!` patterns. [Heroku - Slug Compiler](https://devcenter.heroku.com/articles/slug-compiler#ignoring-files-with-slugignore)
- `.atomignore`: works just like a `.gitignore`. [tree-ignore](https://atom.io/packages/tree-ignore)
- `.hgignore`: references [hgignore](https://www.mercurial-scm.org/wiki/.hgignore) (currently only glop patterns)
- `.vscodeignore`: works just like a `.gitignore` [references](https://code.visualstudio.com/docs/tools/vscecli#_advance-usage)
- `.eslintignore`: works just like a `.gitignore` [references](https://eslint.org/docs/user-guide/configuring#ignoring-files-and-directories)
- `.prettierignore`: works just like a `.gitignore` [references](https://prettier.io/docs/en/ignore.html#ignoring-files)
- `.gcloudignore` : supports importing other `.gitignore` style files [references](https://cloud.google.com/sdk/gcloud/reference/topic/gcloudignore)

## Install

Settings/Preferences > Install > Search for `language-ignore`

Or

```bash
pulsar -p install language-ignore
```

## Troubleshooting

If you have problem with the `.dockerignore` files:

- In your Pulsar configuration: `Edit` > `Config...`
- Add the following lines in the `[core]` section:
```coffee
customFileTypes:
"text.ignore": [
".dockerignore"
]
```

Example:

```coffee
"*":
core:
customFileTypes:
"text.ignore": [
".dockerignore"
]
```