Giter Club home page Giter Club logo

-vscode-.soy-language-server-client's Introduction

Soy file support (Google closure template)

General file support for .soy files. See section below for details.

Functionality

  • Syntax highlight
  • Syntax check: inline error and warning underline
  • Go to definition support
  • Find References
  • Code autocompletion
  • Snippets
  • Outline
  • File/folder excludes from parsing

Syntax highlight

  • Highlight of keywords, variables, html entities, comments, etc.

Definition lookup

  • Go to definion
  • Peek definition

References lookup

  • Find all references

Code Autocompletion

  • Autocomplete for template calls

Commands

  • Soy File Support: Reparse workspace: Useful after external changes (eg: switching branches) to find all new template data
  • Soy File Support: Show extension changes: Opens your favourite changelog to show what's new :)
  • Soy File Support: About: Opens the readme file

Error highlights

  • Missing $ sign in variable declarations
  • Missing closing tag for let declarations and params
  • Extra space before closing tag for lets and params
  • Unnecessary / character for let and param blocks
  • Self closing for templates and deltemplates
  • Empty declaration
  • Missing colon
  • Some common wrong stuctures of {elseif}, eg: {else if}

Information highlights

  • TODO comments
  • Breaking Change comments

Autoclosing brackets and strings

Snippets

All snippets start with the character s to be able to quickly search for them.

Snippets:

  • sfor - foreach block
  • sforin - for .. in block
  • sif - if block
  • sife - if-else block
  • sl - let statement - single line
  • slb - let statement - block
  • sp - param statement - single line
  • spb - param statement - block
  • sps - param signature
  • sc - call block
  • sdelc - delcall block
  • sdelcempty - delcall block with allowemptydefault="true"
  • stemp - template skeleton
  • sdeltemp - deltemplate skeleton

-vscode-.soy-language-server-client's People

Contributors

axellew avatar bhainesva avatar blodwynn avatar netgrafe avatar roland-orosz-epam avatar spadgos 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.