8000 GitHub - exercism/vscode-jikiscript: VSCode language support for JikiScript
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

exercism/vscode-jikiscript

Repository files navigation

VSCode JikiScript

Add language support for Exercism's Bootcamp language: JikiScript

Example highlighted code

Features

  • Syntax highlighting as of Level 10 (updated: 2025-03-16)
  • Snippets for common actions
  • Language support (.jiki, .jikiscript, .jikis and embedded markdown)

Strong contextual support

The highlighter can detect illegal use of break, continue, next and return in any scope.

// Illegal
return
break
continue
next
function test do
  // Illegal
  break

  // Fine
  return
end
if true do
  // Illegal
  break
end
repeat_forever do
  // Illegal
  return

  // Fine
  continue
end

Known Issues

Missing colors

If operators such as >= or and are not highlighted, support for keyword.operator.* is missing in your theme. You can use custom theming for syntax highlighting. See the section Custom Theming.

Strict whitespace

The following code will not highlight properly:

if(pos["direction"] == "up") do

But the following does work:

if (pos["direction"] == "up") do

The highlighter will enforce good use of whitespace, so please make sure you have word boundaries around all keywords.

Illegal highlighting

As you write your code, highlighting may indicate something is illegal. This is often because your code is incomplete.

Custom theming

The following can be added to your editor.tokenColorCustomizations, either directly inside textMateRules, or nested underneath your theme(s):

{
  "scope": "support.function.jikiscript",
  "settings": {
    "fontStyle": "underline"
  }
},
{
  "scope": [
    "support.constant.my.jikiscript",
    "punctuation.separator.namespace.jikiscript",
  ],
  "settings": {
    "fontStyle": "bold"
  }
},

Release Notes

See CHANGELOG.md

Sponsor this project

  •  

Contributors 2

  •  
  •  
0