flix / vscode-flix

Apache License 2.0
20 stars 22 forks source link

Allow custom compiler path #210

Closed iacore closed 1 year ago

iacore commented 2 years ago

This extension doesn't support custom compiler path yet. I hope it does, because I put flix.jar in some other place.

I'm not sure how should I add this feature. I tried, but failed. See https://github.com/flix/vscode-flix/pull/209

Also, I hope this extension looks for flix on PATH.

magnus-madsen commented 2 years ago

Do you think we should add an option the plugin where you can specify the path?

iacore commented 2 years ago

Yes. Also add bundling and don't include every file in this repo.

magnus-madsen commented 2 years ago

Yes. Also add bundling and don't include every file in this repo.

What do you mean by bundling?

iacore commented 2 years ago

With rollup or esbuild and .vscodeignore. Currently running vsce package includes every file in this repo.

magnus-madsen commented 2 years ago

With rollup or esbuild and .vscodeignore. Currently running vsce package includes every file in this repo.

Right. That is tracked in https://github.com/flix/vscode-flix/issues/70.

manoj2601 commented 1 year ago

Maybe I can help with this issue. We can add a box in the extension settings where the users can provide the custom path for Flix compiler. (if they want to put flix.jar in some other places).

Users can provide the custom path as follows: image

PR for this issue #225

magnus-madsen commented 1 year ago

At the moment, we do not plan to support this feature.