Skip to content

Add configuration files for code highlighting #1620

@jlperla

Description

@jlperla

Jupyter notebook support is coming along well since they fixed https://github.com/microsoft/vscode-python/issues/12760#issuecomment-654995857. I haven't had other bugs since.

But syntax highlighting is not functional. According to microsoft, this is a vscode setup issue (and not specific to jupyter). See https://github.com/microsoft/vscode-python/issues/5078#issuecomment-668126575 for example.

For example, in C:\Users\MYUSERNAME\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions I see a list of a whole bunch of languages, but not julia. Should the configuration files there (or perhaps copying them over?)

If you do the following:

  • add a C:\Users\MYUSERNAME\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\julia folder
  • copy from the C:\Users\MYUSERNAME\.vscode\extensions\julialang.language-julia-1.0.4 the following into that folder
    • package.json
    • julia.configuration.json
    • syntaxes folder

Then syntax highlighting in jupyter seems to work great. Can those files be copied over easily in the installation process?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions