GithubHelp home page GithubHelp logo

aranchelk / purescript-vscode-plugin-development-helper Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 36 KB

Info to help contribute to the PureScript Visual Studio Code plugin

Shell 89.29% Makefile 10.71%

purescript-vscode-plugin-development-helper's Introduction

Intro

Prereqs

  • Visual Studio Code
  • nodejs
  • Posix environment with bash, make, and realpath

Instructions

Forking projects

If you've forked one or both associated projects replace the repo address(es) in the ENV file with the correct URI(s)

Setup

make setup

Build from the command line

make build

Launch a test instance of VSCode running your newly built extension

From the command line

make try-extension

From VSCode

open vscode-ide-purescript in Visual Studio Code and hit F5 (or menu Run -> Start Debugging)

Notes

  • vscode-ide-purescript is a thin wrapper, most functionality is in purescript-language-server
  • The project uses PureScript versions installed in the individual project directories
    • There may be more preferable versions than the ones defined in ENV, consult the docs and and config for each project
  • vscode notifies the language server when files need to be processed adding features that process additional file types requires a change inside of vscode-ide-purescript
fileEvents:
    [ workspace.createFileSystemWatcher('**/*.purs')
    , workspace.createFileSystemWatcher('**/*.js')
    ]
  • If building inside of VSCode, issues will likely be visible in the VSCode "terminal" panel
  • If builds work correctly via Make, but not inside VSCode, check that you're using local versions of npm and associated tools: vscode setting detail

purescript-vscode-plugin-development-helper's People

Contributors

aranchelk avatar

Watchers

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