<commit_before>#Twig Eclipse Plugin

The plugin is still in development.


## Current features

* Syntax highlighting
* Code assist for twig keywords
* Template support for language constructs (foreach / block / etc)
* Autoclose twig tags
* "New Twig template" wizard and shortcut
* Extension point to let other plugins provide codeassist suggestions

The plugin requires Eclipse >= 3.6.

## Installation

* Help
* Install new Software...
* Click "add" to add a new software site
* Put the update-site in the location field: http://pulse00.github.com/updatesite/
* Select the "Twig Editor Feature" from the "Twig" node and click finish


All dependencies (PHP Development tools) should be downloaded automatically during the installation process.

Please use the github issue tracker to report bugs and feature requests.


## Contribute

Any contributions to the project are welcome, including:

* Code contributions
* Provide code-templates for standard twig control structures
* Report bugs
* Give feedback to the usage of the plugin<commit_msg>added FAQ how to open non .twig file in the twig editor<commit_after>#Twig Eclipse Plugin

The plugin is still in development.


## Current features

* Syntax highlighting
* Code assist for twig keywords
* Template support for language constructs (foreach / block / etc)
* Autoclose twig tags
* "New Twig template" wizard and shortcut
* Extension point to let other plugins provide codeassist suggestions

The plugin requires Eclipse >= 3.6.

## Installation

* Help
* Install new Software...
* Click "add" to add a new software site
* Put the update-site in the location field: http://pulse00.github.com/updatesite/
* Select the "Twig Editor Feature" from the "Twig" node and click finish


All dependencies (PHP Development tools) should be downloaded automatically during the installation process.

Please use the github issue tracker to report bugs and feature requests.

## FAQ

### How can i use the twig editor for other file extensions than .twig?

1. Open Eclipse Preferences -> General -> Content Types
2. Under Text -> PHP Content Type -> Twig Template add the file association you need
3. Close any currently open editors
4. Reopen the file using "open with... -> Twig Editor" and you should get twig support.


## Contribute

Any contributions to the project are welcome, including:

* Code contributions
* Provide code-templates for standard twig control structures
* Report bugs
* Give feedback to the usage of the plugin
{'fraction_non_alphanumeric': 0.060410793395086586, 'fraction_numerical': 0.004832863471606927, 'mean_word_length': 4.319057815845825, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6659044', 'n_tokens_mistral': 646, 'n_tokens_neox': 607, 'n_words': 336}