Giter VIP home page Giter VIP logo

ejs-snippets's Introduction

Brigowatz Building cool stuff is my game!

I'm a Full Stack Web Developer who primarily works in the front end. I am a reformed teacher turned programmer who loves all things code and technology. I was born and raised in Wisconsin and then saw the light by becoming a Gopher at The University of Minnesota (Row the Boat!). I have lived in South Korea for the past 12 years and made a great life with my amazing wife and hilarious son.

I am have done work as a the lead developer for a fashion AR / VR platform. Currently, I am a software engineer for a pretty cool WebRTC platform. I also try to blog when time allows for FreeCodeCamp and contribute to open-source software when I'm not entertaining a toddler. I also love cooking and brewing beer.

reactnodejavascripttypescripthtmlcssnpmgraphqlpostgresgitgit

ejs-snippets's People

Contributors

theranbrig avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ejs-snippets's Issues

How can I use the snippets ?

I've tried to debug it on vscode and then I created an ejs file to test using the snippets but that's still not working.

Tag interpretation inside js script tag

Hi,
I've a bad interpretation of ejs tags when inserted inside a script tag.
Using VSCode 1.67.2 and EJS language support v1.3.1

when writing this line inside a .ejs file, i've got an IDE error

<script>
    isAgora = <%= (datas.cours.isAgora)??'false' %>;
</script>

IDE return 4 errors and underline <%= and >;
Error tooltip is "expression expected javascript"

Meanwhile, execution is correct, that's just an IDE false positive error !

help

i can't make your extensions work ... ejs + tab nothing is happennig !
I am a beginner, I may not have done what was needed? I just installed the app and nothing happens

Include statement, not correct

Hi,

I have found that include statement is not working as snippet.
now is ejsinc→ | <% | include statement

but it think it should be <%-

Thank you
Adrian Badulescu

Remove the whitespace following HTML output

Currently the output snippet is adding a whitespace after the ejs closing tag:

<%= $1 %> $2

I think this whitespace in this case should be stripped away <%= $1 %>$2, let the developer hit the space. Scenario - while building an URL string you can end up with hard to find bug:

<a href="https://example.com/someVar=<%= $1 %> &anotherVar=1">My URL</a>

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.