GithubHelp home page GithubHelp logo

melmass / vscode-vex Goto Github PK

View Code? Open in Web Editor NEW
57.0 11.0 8.0 431 KB

Houdini VEX Support for VSCode

Home Page: https://marketplace.visualstudio.com/items?itemName=melmass.vex

License: MIT License

vscode snippets houdini vex

vscode-vex's Introduction

VEX Syntax for VSCode

Buy Me A Coffee

Features

  • VEX Language Support (Syntax).
  • Base Snippets.
  • Functions descriptions with attributes.

Icon available in the Material Icon Theme

Releases

[0.6.0]

  • Updated for H19.

[0.5.2]

  • Updated for H18.5.

[0.5.1]

  • Updated for H18.

[0.3.0]

  • Updated for H16.
  • fix: issue with single quotes.

[0.2.0]

  • Added functions snippets with description

[0.1.0]

  • Initial release

vscode-vex's People

Contributors

melmass avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vscode-vex's Issues

Indentation is shifted when function completion is used

I recently installed this nice plugin!

However, I have a small problem.
When I type in a function, use completion, and press Enter, the indentation space seems to be shifted to the left!

The number of spaces that are shifted seems to depend on the number of function arguments entered.
If the number of arguments is 1, there is no problem.
If the number of arguments is 2 or more, 1 less space than the number of arguments is shifted.
(If I change to tab indentation, this bug does not occur.)

The indentation settings in VS Code should be fine.

Could you please investigate?

Enhance syntax support for attribute arrays

Hi, I have applied custom colors to match the syntax highlight in Visual Studio Code with the Houdini editor.
I have noticed that Visual Studio syntax doesn't recognize the attribute arrays likle - s[]@NAMEs.
Visual studio doesn't have textmate scope for such items so the color highlight doesn't match.
Could be nice to add this item to syntax to have 1-to-1 matching.
Houdini
VisualStudio

Connection to Wrangler ?

Will there be a connection between a Wrangler Node & this extension for Visual Studio Code coming so one can send code from Visual Studio Code to the wrangler or vise versa ?

Send to vex dialog ?

Is it possible to add functionality to send to a wrangler node or any node which accepts vex so that one could do their vex code in vscode then simply send to the selected node which accepts a vex code input ?

Pull requests ?

Many thanks for putting this together @melMass!
I'm also looking to extend the currently available list of functions ( #4 )

Do you accept pull requests or should I fork and make my own?

Let me know

Sven

Option to add semicolons on completion

Could you add argument type labels to a function's argument placeholder text? See example below.
In the snippets description block--could you add the return type of functions?
Is it possible to add the semicolon on functions as part of the snippet?

Examples:
addpoint(int geohandle, vector pos);
addvertex(int geohandle, int prim_num, int point_num);

Thanks for all your hard work!

Better Comments in VEX Extension

Hi, I was hoping you communicate with the author of the extension Better Comments to add the comment feature into this VEX extension.

[Suggestion] Add more Functions descriptions

I test VSCode and Sublime text, and I find in sublime have much more functions descriptions, but in vscode just one, if possible, hope to add more option in same function, sorry my poor English, you can see the image in flow.
vscode
sublime

shader support?

Does vscode-vex supports shader edit?
And I am wondering how to open vscode as external editor for shader editing
(modifying the houdini.env?)
thanks for the great plugin :)

Function / Variables Type

Would be great in autocopletition if was present an indication of the type of the data. string , int ...
for example in
xyzdist(geometry, origin, prim, uv) is not present the indication of the return variables &prim, &uv as in the original help, xyzdist(geometry, vector origin, int &prim, vector &uv)

Thanks melMass.

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.