Skip to content

An extension to support OML in VSCode-based IDEs.

License

Notifications You must be signed in to change notification settings

manuel-j-diaz/oml-luxor

 
 

Repository files navigation

OML Luxor Extension

Build Status Release

An extension to support OML in VSCode-based IDEs.

Getting started

Install nvm.

  curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.5/install.sh | bash

Install npm, node, and yarn.

  nvm install 12
  nvm use 12
  npm install -g yarn

Install vsce if you plan to package the extesnion

  npm install -g vsce
  

Clone

  git clone --recursive https://github.com/opencaesar/oml-luxor.git
  cd oml-luxor

Build

./build.sh

This will create a file, extension/oml-luxor-<version>.vsix.

Clean

./clean.sh

Install in VSCode

Open the Extensions area of the VSCode desktop IDE and drag and drop the vsix file to install it.

Note: if a previous version of the extension was installed, uninstall it first.

Install in Gitpod.io

Launch your repo with gitoid.io, then open the Extensions area of the web IDE and drag and drop the vsix file to install it.

Note: if a previous version of the extension was installed, uninstall it first.

Debug

See extension/src/oml-lsp-extension.ts for:

    // For localhost debugging, uncomment the following:

    //   return this.activateLanguageClientViaSocket(
    //     context,
    //     clientOptions,
    //     OmlLspVscodeExtension.doRegistrations
    //   );

    // For localhost debugging, comment the following:
    
    return this.activateLanguageClientViaExecutable(
        context,
        clientOptions,
        OmlLspVscodeExtension.doRegistrations
      );

For debugging where the oml-server is started separately via io.opencaesar.oml.dsl.ide.launch.OmlRunSocketServer:

    // For localhost debugging, uncomment the following:

      return this.activateLanguageClientViaSocket(
        context,
        clientOptions,
        OmlLspVscodeExtension.doRegistrations
      );

    // For localhost debugging, comment the following:
    
    // return this.activateLanguageClientViaExecutable(
    //     context,
    //     clientOptions,
    //     OmlLspVscodeExtension.doRegistrations
    //   );

About

An extension to support OML in VSCode-based IDEs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 82.3%
  • JavaScript 13.8%
  • Shell 3.9%