Giter VIP home page Giter VIP logo

Comments (4)

nwolverson avatar nwolverson commented on July 29, 2024

If you edit your user or workspace config, take the default commend and add .cmd (so pulp.cmd ...).

That's assuming it's in your PATH, otherwise you should add it or specify a full path (without spaces at this time...)

I think there is no build on save at the moment, there is a build command you can invoke from the command palette (or set yourself a keybinding).

from vscode-ide-purescript.

vstastny avatar vstastny commented on July 29, 2024

I added this row into Workspace settings:
"pulp.cmd": "..."
I guess I did it incorrectly since it has no effect. I am sorry, i am new to vs code. Could you please advice? Also I do not know where should the pulp.cmd be located. On my machine, pulp files are located in ..\AppData\Roaming\npm\node_modules\pulp. All of them are .js or .purs.

from vscode-ide-purescript.

nwolverson avatar nwolverson commented on July 29, 2024

So obviously it should look like the existing setting (you are taken to the list of defaults when you edit your settings). So the value to use would be:

{
    "purescript.buildCommand": "pulp.cmd build --no-psa --json-errors",
}

If npm global install location is set into your path you're good, otherwise I guess you can check where pulp in a command line (bear in mind you need to use the .cmd version).

from vscode-ide-purescript.

vstastny avatar vstastny commented on July 29, 2024

Works. Thank you again.

from vscode-ide-purescript.

Related Issues (20)

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.