fortran-lang / vscode-fortran-support

Fortran language support for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=fortran-lang.linter-gfortran
MIT License
214 stars 30 forks source link

Publish Extension at Eclipse Open VSX #190

Open kernie opened 4 years ago

kernie commented 4 years ago

Hi there,

your extension is quite useful to Fortran devs and I appreciate it much in my daily work.

I found a VSCODE fork https://vscodium.com that is completely published under a MIT license and I would like to use your extension in VSCODIUM. However, it is under discussion if extensions of the MS Marketplace may be legally installed in VSCODIUM, which is technically easily possible.

The legal discussion could be effectively circumvented if your extension could also be published at https://open-vsx.org (https://github.com/eclipse/openvsx/wiki/Publishing-Extensions) .

What are your thoughts about it?

Thanks, Maarten

kvrigor commented 4 years ago

I'm also interested with this.

krvajal commented 3 years ago

I will look into it.

gnikit commented 2 years ago

This is easily doable, I have started the process of claiming our publisher and we should be good to go. Our license MIT which is compatible with open-vsx

gnikit commented 2 years ago

We have obtained the publisher ID fortran-lang but we have a problem since we rely on the vscode-cpptools extension for the Debug Adapters. We would probably have to remove the C++ extension all together as a dependency if we were to publish on Open VSX.

Related issues:

https://github.com/microsoft/vscode-cpptools/issues/6518 https://github.com/microsoft/vscode-cpptools/issues/6388

LaserEyess commented 8 months ago

I manually edited the packages.json file to remove the ms-vscode.cpptools dependency and this extension works perfectly fine without it, including debugging. I am using https://github.com/WebFreak001/code-debug and debugging features such as breakpoints, variables, registers, call stack, etc. seem to be working perfectly fine. I'm assuming other debuggers work just as well assuming the compiler supports Fortran.

Personally, after reading the linked issues, I think it is very clear Microsoft is not acting in good faith with their license restrictions. This package, being a true FOSS package without further restrictions, should therefore not depend on it.

@gnikit I'm willing to rework some of the docs to give examples of debugging with tools outside of Microsoft's, if it would be acceptable to then drop the dependency.

RemiLacroix-IDRIS commented 5 months ago

This would also make Modern Fortran available in Code Server.