Giter Club home page Giter Club logo

stonescript's Introduction

Stonescript language (.ssr) for Visual Studio Code

This is a stonescript language support extension. Created to make it easier to write scripts for the Stone Story RPG game.

Features

  • Syntax highlighting
  • Docstrings on hover
  • Code completion
  • Parameter suggestions
  • Dedicated file extension '.ssr', no more messing up with '.txt'
  • Dedicated file icon for '.ssr' files in VS Code

Installation

This repository comes with two .vsix files. To install, go to Extensions page from VS Code, then follow the screenshot to locate 'Install from VSIX...':

vscode-1

Locate stonescript-ssr-1.0.14.vsix and vscode-icons-12.8.9.vsix and install them.

Samples

Theme: Material Dark
Coloring code sample 1

Simple script code sample 2

Hover hover

Completion completion gif

Known issues

  • This is not an actual Lexer / Parser, all code checking based on many regex expressions
  • Somethimes docstring does not match to actual function (especially for variable with ui / BigNumber data types)

Outro

You will still have to convert the '.ssr' files to '.txt' before importing them into the game. Simply change the '.ssr' extension to '.txt' to convert the file

Projects forked from:

https://github.com/Catalyst-42/stonescript for Stonescript editor functionality

https://github.com/vscode-icons/vscode-icons for changing VS Code file icons

stonescript's People

Contributors

catalyst-42 avatar kolyn090 avatar

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.