Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Barry Burd
    @allmycode_twitter
    I do.
    new-host-11:~ barryburd$ which stack
    /usr/local/bin/stack
    new-host-11:~ barryburd$
    Oops! One minute...
    Got it ... Haskell Stack Run ... (I was looking under 'S' for "Stack")
    Cary Robbins
    @carymrobbins
    fantastic. btw if you type "stack" it should filter that list of configs for you
    i have some additional features i am planning to release soon, one of them being the ability to right-click and choose Run, which will generate the run config for you
    when does your class start?
    if i release it soon that may help you and your class so there's less fiddling with the menus
    Barry Burd
    @allmycode_twitter
    Mid-January.
    Cary Robbins
    @carymrobbins
    ok good
    also, if there's anything along the way that seems like low hanging fruit, let me know and i might be able to squeeze it into a release
    Barry Burd
    @allmycode_twitter
    Error:Could not parse /Users/barryburd/IdeaProjects/HaskallWithHaskForce/stack.yaml: /Users/barryburd/IdeaProjects/HaskallWithHaskForce/stack.yaml (No such file or directory)
    Cary Robbins
    @carymrobbins
    when you create a project in HaskForce, be sure to choose Build with Stack
    Barry Burd
    @allmycode_twitter
    I'll try that ...
    Cary Robbins
    @carymrobbins
    so File > New > Project > Haskell > Build with Stack
    it will use your stack executable to generate a stack.yaml and init the stack project
    i have to run in a few mins, but feel free to drop any other questions here.
    if you have specific feature requests you can also log them on the issue tracker on github https://github.com/carymrobbins/intellij-haskforce/issues
    feature requests/bug reports/etc
    Barry Burd
    @allmycode_twitter
    OK. Thank you.
    Cary Robbins
    @carymrobbins
    No problem!
    Barry Burd
    @allmycode_twitter
    Hello again. Trying to do a clean install on a Windows machine. I'm getting "Compilation completed with 1 error and 0 warnings. Not sure where to look for the error message.
    Cary Robbins
    @carymrobbins
    could you paste a screenshot?
    Cary Robbins
    @carymrobbins
    @allmycode_twitter ^^
    Barry Burd
    @allmycode_twitter
    alt
    alt
    alt
    Oops! Checking that Haskell SDK home path ... (?)
    Cary Robbins
    @carymrobbins
    Ignore the Haskell SDK home path, it's mostly unused and required for some internal intellij stuff
    but the path itself doesn't get used
    i notice that your project doesn't have a stack.yaml
    also, the Haskell Stack Run is for running your compiled binary, not for running ghc
    @allmycode_twitter ^
    be sure to create the project with the project wizard and select Build with Stack
    Barry Burd
    @allmycode_twitter
    I'm pretty sure that I selected Build with Stack. I'll double check.
    Cary Robbins
    @carymrobbins
    maybe there's something wrong with your stack setup
    try to create a project from the command line with stack new
    Barry Burd
    @allmycode_twitter
    alt
    When I create a project with "stack new" (on the left) I get a full project. When I create a project with IntelliJ (on the right) I get only a few files. I'll send screenshots to show you what I'm doing in IntelliJ, step by step.
    Barry Burd
    @allmycode_twitter
    alt
    alt
    alt
    alt
    alt
    Cary Robbins
    @carymrobbins
    haskforce should be using stack under the hood to take care of it, maybe there's some oddity going on with windows
    Barry Burd
    @allmycode_twitter
    Does HaskForce provide any interface to ghci?
    I'll try the same thing again with my Mac.
    Cary Robbins
    @carymrobbins
    HaskForce doesn't provide an inteface to ghci; however, you can always get one by using intellij's built-in terminal and invoking ghci directly
    also, if stack new works, you should be able to just import the project using HaskForce as well, just choose the Stack model when importing
    Barry Burd
    @allmycode_twitter
    I'm seeing the same behavior when I create a project in IntelliJ on the Mac so I must be doing something wrong on both computers. Here's what happens on the Mac when I try to create a new project on the command line: