GithubHelp home page GithubHelp logo

cross-language-cpp / vscode-djinni Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 3.0 65 KB

Syntax highlighting for djinni interface files in Visual Studio Code

Home Page: https://djinni.xlcpp.dev/vscode-djinni/

License: MIT License

djinni vscode-extension

vscode-djinni's People

Contributors

a4z avatar dependabot[bot] avatar durza007 avatar jothepro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vscode-djinni's Issues

add to mkdocs documentation

The vscode plugin already has a mention on the documentation: https://djinni.xlcpp.dev/vscode-plugin/

As a maintainer I want this repository to have it's own mkdocs documentation that is integrated into the documentation website in the same way as the other components. This makes it easy for me to update the documentation of the plugin in it's code repository while having a single place where all djinni-related docs are displayed.

These things may be worth documenting in the first place:

  • where to get the plugin (link to the vs marketplace)
  • Developer Guide: how to publish a new version of the plugin (with the newly added github actions from #3)

Add release Pipeline

As a maintainer I want to have an automated way to publish the plugin to the visual studio marketplace with a github action. That way any maintainer can easily publish a new version of the plugin by creating a new release on github without having to mess with the details.

The following things need to be done to achieve this:

  • create a cross-language-cpp publisher in the vs marketplace
  • add a github action that automatically builds the plugin on each PR into master, to ensure only buildable code goes into master.
  • add a github action that automatically builds and releases the plugin when a release-tag is created in github

Recognize other languages flags

Hi,

When i use +w that is for WASM generator, everything is white:

image

If i remove, it show colored:

image

Can you add support for any +x?

Thanks.

add file icon for `.djinni` files

As a user I want to see a special file icon for .djinni files in the file-explorer.

Currently .djinni files have a simle text-file icon:
Bildschirmfoto 2021-01-31 um 13 54 23

I would like to have a special icon like in the intellij-plugin:
Bildschirmfoto 2021-01-31 um 13 59 03

Fails to highlight the syntax with record extensions

Example:

Team = record +c { id: i64; image: string; name: string; coach: string; }

The +c breaks syntax highlighting.

A quick fix is replacing line 125:

"begin": "(\\w+)\\s*(=)\\s*(record)\\s*({)",

with

"begin": "(\\w+)\\s*(=)\\s*(record)\\s+((\\+[cjo]\\s+)*)({)",

... in ~/.vscode/extensions/patrikminder.djinni-syntax-highlighting-1.0.1/syntaxes/djinni.tmLanguage.json

But an extension update would be better!

Future development of vscode-djinni

Hi Patrick
First if all, thank you for that plugin! I use and like it.

I wonder if you would be interested to move that repo to https://github.com/cross-language-cpp/ , where we continue to develop djinni and tools/technologies around it as a community project. (You might know that dropbox/djinni is an abandoned project). See also the new documentation pages at https://djinni.xlcpp.dev/

You can of course still be the maintainer of this plugin, if you want.
It would be nice to have that plugin alongside the Intelli J djinni plugin, so it is easier to find and it can be developed / adopted with possible upcoming future changes/extensions to the djinni IDL.

We would be very happy if you could consider that as an option for the future of this plugin.

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.