Git Product home page Git Product logo

language-cython-for-vscode's Introduction

Language-Cython for Visual Studio Code

Homepage: https://github.com/guyskk/language-cython-for-vscode

The grammar was copied from MagicPython, with a little improvement.

Features

  • Syntax highlighter for Cython

Development

Publish to Vscode Marketplace

  1. Bump version in package.json
  2. Update CHANGELOG.md
  3. Execute vsce package to build package
  4. Log into marketplace and upload the extension package

publish-extension

Publish to open-vsx.org

  1. Document https://github.com/eclipse/openvsx/wiki/Publishing-Extensions#how-to-publish-an-extension
  2. Execute ovsx publish --pat <token> to build and publish package

Enjoy!

language-cython-for-vscode's People

Contributors

aarondewindt avatar dymil avatar guyskk avatar naereen avatar naufraghi avatar xjkdev 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

Watchers

 avatar  avatar  avatar  avatar

language-cython-for-vscode's Issues

comments uses // instead of #

Hi,
Thanks for the cython syntax support !
Just a quick feedback : It should be useful to get a python-like comments when toogle code comments (block & line) instead of a C/C++ like (//, /**)

Highlighting in jupyter

Hey! I've tried to use ext for working with jupyter notebook, but failed to see any changes in highlighting. May be I did something wrong with activating ext? I've just installed it from marketplace. Could not build it because I do not have vsce on Win10. Can you give me any recommendations what to do?

Types highlighting support

Hope that the type name can be highlighted like in C++. This might be quite different from python highlighting since this requires to detect type names. For example the types in following statement:

cdef <typename> <obj>
cdef cppclass <typename>[<template>]
cdef struct <typename>
def/cdef/cpdef <return type> <function>(<arg type1> <arg name1>, <arg type2> <arg name2>, ...)

Publish to Open-VSX

Due to VS Marketplace ToU, thrid-party builds of VSCode or derivatives aren't allowed to connect to it. Instead, most have converged on an open alternative at https://open-vsx.org

If it's not too much trouble, it would be nice if you could publish to Open-VSX as well as the VS Marketplace. See https://github.com/eclipse/openvsx/wiki/Publishing-Extensions#how-to-publish-an-extension for info and https://github.com/HaaLeo/publish-vscode-extension for possible automation opportunities

Improve it (just small changes are needed)

Hi!
Thanks for this extension!

Could it be possible to improve it, to support some syntax that are not yet supported?

  • from ... cimport ... the cimport should be colored as import
  • cdef [type] variable cdef should be colored as keyword
  • cdef function same
  • in def/cdef function definitions, types before variable names should be correctly colored: def test(float x, float y) should color flat

Thanks in advance (if you can fix this)

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.