GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - publicodes/language-server: LS and VSCode client for Publicodes

BranchesTags
Open more actions menu

Latest commit

 

History

152 Commits
152 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
client
client
 
 
icons
icons
 
 
scripts
scripts
 
 
server
server
 
 
syntaxes
syntaxes
 
 
.eslintignore
.eslintignore
 
 
.eslintrc.js
.eslintrc.js
 
 
.gitignore
.gitignore
 
 
.vscodeignore
.vscodeignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
language-configuration.json
language-configuration.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

Publicodes VSCode - LS

Report Bug โ€ข Publicodes โ€ข The VSCode extension

A VSCode extension providing language server capabilities for Publicodes.

Features

  • ๐ŸŽจ Semantic highlighting (based on the Publicodes tree-sitter grammar)
  • ๐Ÿงช Diagnostics (on save)
  • ๐Ÿ“š Code completion (keywords and rule names)
  • ๐Ÿ’ก Go to definition
  • ๐Ÿ” Hover information (resolved name, current node value and description)

Recognized extension files are: .publicodes, .publicodes.yaml, .publicodes.yml

Syntax Highlighting Configuration

Your colorscheme needs to support semantic highlighting to have the best experience with this extension.

Here is the recommended configuration for the default Dark+ and Dark Modern themes. Simply add this to your settings.json (accessible via the command palette (Ctrl+Shift+P) and typing Preferences: Open Settings (JSON)):

{
  ...
  "editor.semanticTokenColorCustomizations": {
    "rules": {
      "*.readonly:publicodes": {
        "italic": true,
      },
      "*.definition:publicodes": {
        "bold": true,
      },
      "namespace:publicodes": {
        "foreground": "#4ec99a"
      },
      "type:publicodes": {
        "foreground": "#4EC9B0",
        "italic": true,
      },
      "operator:publicodes": "#c7c7c7ad",
      "string:publicodes": {
        "foreground": "#CE9178",
      },
      "string.readonly:publicodes": "#569cd6",
      "number:publicodes": "#e67f7f",
      "property:publicodes": "#569CD6",
      "property.static:publicodes": "#9CDCFE",
      "method:publicodes": "#569CD6",
      "macro:publicodes": {
        "foreground": "#9CDCFE",
        "italic": true
      }
    }
  },
}

To run in local

  1. In your terminal, install the dependencies with yarn install.
  2. In VSCode:
  • select Launch Client from the drop down (if it is not already).
  • press โ–ท to run the launch config (F5).

About

LS and VSCode client for Publicodes

marketplace.visualstudio.com/items?itemName=EmileRolley.publicodes-language-server

Topics

language-server-protocolpublicodesvscode-lsp

Resources

Readme
MIT license
Activity
Custom properties

Stars

6 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402775 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.