Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hashhar/vscode-gitattributes

A simple extension that lets you pull .gitattribute files from https://github.com/alexkaratarakis/gitattributes and create a combined .gitattribute file.
https://github.com/hashhar/vscode-gitattributes

gitattributes language-support vscode vscode-extension

Last synced: about 1 month ago
JSON representation

A simple extension that lets you pull .gitattribute files from https://github.com/alexkaratarakis/gitattributes and create a combined .gitattribute file.

Awesome Lists containing this project

README

        

# gitattributes extension for Visual Studio Code

An extension for Visual Studio Code that assists you in working with
`.gitattributes` files.

## Features

- Language support for `.gitattributes` files.
- Allows adding a `.gitattributes` file by pulling files from the
[alexkaratarakis/gitattributes](https://github.com/alexkaratarakis/gitattributes)
repository.

## Usage

Start command palette (with Ctrl+Shift+P or
F1) and start typing `gitattributes` to see all available commands
this extension offers.

## Extension Settings

This extension contributes the following settings:

```JavaScript
{
// Number of seconds the list of `.gitattributes` files retrieved from github will be cached
"gitattributes.cacheExpirationInterval": 86400
}
```

## Roadmap

### v0.1

Basic implementation that allows to pull a single `.gitattributes` file.

### v0.2

Support adding multiple `.gitattributes` files and merging them into a single
file.

### v0.3

Add language support for `.gitattributes` files.

### v0.4

Merge `.gitattributes` files smartly by moving `* text=auto` to the top.

### v0.5

Support for caching entire `.gitattributes` repository and updating only when
new commits are available.

## Changelog

See [CHANGELOG.md](CHANGELOG.md)

## Licence

See [LICENSE](LICENSE)

## Credits

Icon based on the Git logo by [Jason Long](https://twitter.com/jasonlong).