Group Abstract Group Abstract

Message Boards Message Boards

Check out this great VS Code extension for Wolfram language

POSTED BY: Xianglong Hu
3 Replies
Posted 3 years ago

Does the plugin support Language Server Protocol's "semantic tokens" yet for better code highlighting?

Visual Studio Code support for semantic token providers is described here.

POSTED BY: Mma Usr
Posted 6 years ago

Very cool! Just started using VS Code and will definitely try this out.

POSTED BY: Jesse Dohmann

This is a quite useful extension if you want to use VS Code as an editor/simple IDE for Wolfram Language. The 0.1.0 version is so far usable from my Windows 10 machine.

  • The docked summary window is in .svg graphcis file format
  • Web Reference -> <Symbol> is clickale and redirects properly to online Wolfram Docu pages
  • The feature is only available for system symbols at this moment

test

  • Auto-completion and hints are displayed during type

autochint

The packages launches a ZeroMQ based socket channel to the wolfram kernel, according to the document, after you launch wolframscript runtime through cmd. The service use loopback call on port 6235. My machine properly displayed Mathematica/Wolfram daemon at:

  • Windows system tray
  • tasklist /SVC

ent

Once you close the VS code application, wolfram.exe and mathematica.exe daemons terminate automatically.

The server log has some error spew related to non-UTF-8 encoded Chinese charaters because of my OS language is zh-CHS. English OS users need no worry in general.

VS code users on this forum can try this extension and make some suggestions for improvements to the developers.

POSTED BY: Shenghui Yang
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard