Giter Site home page Giter Site logo

caldymos / m1s-vscode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from serpen/vbs-vscode

0.0 0.0 0.0 4.91 MB

VSCode Mach3 Script language extension

Home Page: https://marketplace.visualstudio.com/items?itemName=CalDymos.m1svscode

License: MIT License

Visual Basic 6.0 100.00%

m1s-vscode's Introduction

Mach3 Script Extension for Visual Studio Code

This extension implements basic language features of Mach3 Script for Visual Studio Code.

English | Deutsch

Features

  • Formatting (via context menu)

  • Outline

  • Completion Outline

  • Goto Definition

  • Hover Hover

  • Signatures Signature

  • Color Information ColorProvider

  • Code snippets

  • Higlight of problems / errors

  • full syntax check via Cypress Enable compiler

  • compile script via cypress Enable Compiler

Functions not yet fully implemented (still in progress)

  • Higlight of problems / errors (diagnostic)

How it works

Formatting

  • Right-click in the code window -> select the context menu entry “Format Document”.
    The indents and spelling of keywords are adjusted in the current document.
    Optionally, comments can also be removed and lines can be wrapped with ':' (see Settings)

Completion

  • For auto-completion, the current code, all include files (#expand),
    the 'objectDefs.m1s' file and the 'GlobalDefs.m1s' file are searched for definitions.

Goto Definition

  • Right click on a variable, procedure or include file, select the context menu entry 'Go To Definition'

Full syntax check

  • Right-click in the code window and select the context menu entry 'full syntax check'.
    The settings 'Mach3Dir' and 'UseScreenSet' must be set correctly.
    It is best to create a new folder '.vscode' in the respective workspace (folder) and set the settings in
    this folder via the 'settings.json' file so that they are only valid for this workspace

    If the error message "Unexpected error, quitting" appears,
    the file 'vscce.exe' must be executed once with administrator rights so that the COM interfaces are registered correctly.

Compile script

  • Right-click in the code window and select the context menu entry 'compile Script'.
    The settings 'Mach3Dir', 'UseScreenSet' and 'OutputFolder' must be set correctly.
    It is best to create a new folder '.vscode' in the respective workspace (folder) and set the settings in
    this folder via the 'settings.json' file so that they are only valid for this workspace

    If the error message "Unexpected error, quitting" appears,
    the file 'vscce.exe' must be executed once with administrator rights so that the COM interfaces are registered correctly.

Contribute

You can support this project through PR with your changes or simply add an issue with your idea/bug.

  • Complete Language Source Documentation
  • Translate
  • ...

References / Thanks

This extension is based on the "VBScript Extension for Visual Studio Code" from serpen.

m1s-vscode's People

Contributors

serpen avatar caldymos 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.