Giter VIP home page Giter VIP logo

plugin-twigcs's Introduction

Plugin-Twigcs

Build Status Codacy Status Branch Master MIT License

Maven BuildMaven Package

An Eclipse plugin to validate Twig (*.twig) files with the Twigcs component.

  • Errors are visible in the Editor.

    Editor

  • And displayed in the Problems view.

    Problems View

  • Some Quick Fix are also available.

    Quick Fix

Installation

Installation of Twigcs

  • Install Twigcs component globally as explain in the Twigcs Github site.

    composer global require friendsoftwig/twigcs

Installation from the Update Site

  • Start Eclipse PDT and select the menu Help -> Install New Software...

  • Click the Add.... button.

  • Enter the location https://www.bibi.nu/twigcs/v1.0.0 as the image below.

    Add Site Repository

  • Select the newly added repository.

  • Check the Twigcs category or the Twigcs Feature check box (depend if the Group items by category option is checked).

    Install

  • Follow the wizard instructions. The Eclipse will be restarted.

  • Update the Workspace Preferences to define the path to the Twigcs batch file.

  • Enable Twigcs nature to the project.

  • Update the Project Properties to define witch folders are validate.

Installation from the Zip file

  • Download the update site zip file from the releases tab.

  • Start Eclipse PDT and select the menu Help -> Install New Software...

  • Click the Add.... button.

  • Click the Archive... button and select the downloaded zip file.

    Add Zip Repository

  • Select the newly added repository.

  • Check the Twigcs category check box.

  • Follow the wizard instructions.

Workspace preferences

The workspace preferences allow user to define how the Twigcs component run. The most important and required property is the path to the batch file.

Workspace Preferences

Enable Twigcs Nature

To enable validation, You must add the Twigcs nature to the project.

  • Select the project You want to update in the Explorer View.

  • Display the context menu.

  • Select Configure -> Enable Twigcs validation.

    Enable Twigcs

Project properties

For each project, user can select witch folders are included for the validation or excluded. The user must select at least one included folder.

If needed, the user can also override the default Twigcs preferences.

Project Properties

plugin-twigcs's People

Contributors

codacy-badger avatar laurentmuller avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.