razetime / bqn-vscode

BQN programming language vscode plugin (symbol input, syntax highlighting)
MIT License
22 stars 6 forks source link

How to tell vscode about bqn? #13

Closed borgauf closed 1 year ago

borgauf commented 1 year ago

This is my settings.json

"security.workspace.trust.untrustedFiles": "open",
"window.zoomLevel": 2

}

{ "editor.formatOnSave": true, "haskell.hlint.logLevel": "warn", "haskell.hlint.run": "onSave", "haskell.formattingProvider": "ormolu", "bqn.executablePath": "/usr/local/bin/bqn",

// May be necessary

// "haskell.hlint.executablePath": "" }

on my Ubuntu 22.10. But it errors out with Ctr-Shift-Enter with The terminal process failed to launch: Path to shell executable "cbqn" does not exist. Should I just do a symbolic link? Total Beginner to vscode, BTW.

razetime commented 1 year ago

i'm sorry, this feature is a little broken now. However, some fixes from #12 will be merged soon, and i will notify you on this thread when it's pushed to marketplace.

razetime commented 1 year ago

It should be available now, is the problem fixed?

borgauf commented 1 year ago

I've created a symbolic link between bqn and cbqn on my Ubuntu system and now it appears to work with Ctr-Shif-Return. But now I can't figure out how to get a glyph tablet up. How can I display the symbol table in VS Code? Sorry I'm a total beginner.

razetime commented 1 year ago

There was an idea adding the symbol table to the sidebar. As of now if you press \ and then do Ctrl+Space, you should get completion prompts for all the primitives.

razetime commented 1 year ago

I've added a symbol table as a todo. Some new instructions are in the README as well. thanks