GithubHelp home page GithubHelp logo

Comments (4)

haberdashPI avatar haberdashPI commented on June 24, 2024

Thank you!

I don't have any immediate plans for markdown. If you end up doing one for Markdown, let me know!

I'm pretty sure it would be easy to combine the plugins, enabling/disabling them with some options, but I don't know for certain. I think that would make sense to do when these are a little more battle tested. If you do make a Markdown extension, perhaps we can combine our efforts to make a comprehensive extension, once it seems like they are all working well.

Note that each language has it's own little hiccups (though I can't imagine Markdown would be difficult), because of how the two syntax files (e.g. Python and Julia) interact. For example, I had some difficulty getting the python plugin to work because """ was being treated as the start of a python docstring, instead of the end of a py""" code snippet. I suspect that ultimately tree-sitter support will make that a lot easier to handle.

from vscode-python-in-julia.

tshort avatar tshort commented on June 24, 2024

Thanks, @haberdashPI. I started looking into it a bit more. It looks like julia-vscode gets its grammar file from atom-language-julia. How often is that updated?

Recently, it looks like Atom added support for py""", R""", and js""". See here.

So, I'm thinking that maybe I should add md""" to atom-language-julia first, and then make a PR to get it into vscode-julia (possibly along with the rest of the Atom updates). Does that make sense?

from vscode-python-in-julia.

tshort avatar tshort commented on June 24, 2024

Also, the tree-sitter stuff is quite cool.

from vscode-python-in-julia.

haberdashPI avatar haberdashPI commented on June 24, 2024

I made some PR's to atom's syntax file a while back to make these plugins possible. They ensure the regex's I specify in the plugin resolve properly. So it shouldn't be necessary to add anything to atom's syntax file.

The support for highlighting within the atom syntax file is essentially a replacement for what I did in the plugin, with the caveat that those syntax definitions do not tell VS Code how to handle bracket closing and commenting within the embedded language. (So the colors will make sense, but, e.g. commands to comment will not work properly).

from vscode-python-in-julia.

Related Issues (2)

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.