-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fortran support #806
Comments
A PR adding to TM4E a TextMate grammar to get fortran syntax highlighting would be very welcome. Would you like to submit one? |
Adding TextMate and too language configuration https://github.com/fortran-lang/vscode-fortran-support/blob/main/language-configuration.json to benefit from auto close, etc |
I'm not in favor of adding more languages from other sources to the TM4E language pack due to the required Eclipse IP review process for each and every update. Occasionally updating all languages from https://github.com/microsoft/vscode/tree/main/extensions in one go is fine, but having to do the same for more languages from other sources is cumbersome. Btw. I added Fortran syntax highlighting to https://marketplace.eclipse.org/content/extra-syntax-highlighting-plugin where upstream updates are automatically included and are immediately available. |
Thank you very much for this. Actually, I looked first to the extra-syntax-highlighting-plugin, didn't find Fortran there and thought, it first has to be added to TM4E. So this actually solves my "problem". As I obviously do not understand the relations between the different projects/plugins: Is there an explanation, what needs to be added where to support a new language? Also what is needed to for different levels of support like syntax highlighting, code generation, ... |
TM4E provides the ability to perform syntax highlighting using textmate grammars. It comes with a language pack that contains all textmate grammars that are copied from the vscode source repo. so it supports highlighting the same languages out of the box as vscode. tm4e provides an extension point that allows other plugins such as the extra-syntax-highlighting-eclipse-plugin to install additional textmate grammars for other languages. so they extra-syntax-highlighting-eclipse-plugin requires tm4e which does the actual syntax highlighting. if you want more than just syntax highlighting such as auto completion, refactoring, code generation, syntax validation,... an additional plugin needs to providea language server that is registered with the lsp4e plugin. such a plugin would for example be the wildwebdeveloper plugin offering typescript language support. |
Eclipse "terminated" the PTP (Parallel Tools Platform) project, including the support for Fortran (https://www.eclipse.org/projects/tools/reviews.php, search for November 29, 2023, Eclipse Parallel Tools Platform Eclipse Parallel Tools Platform (PTP) Termination, the link itself seems to not exist any more).
There is a project to support Fortran in VS Code: https://github.com/fortran-lang/vscode-fortran-support
Just an idea: Could support for Fortran also be added to TM4e based on that project?
The text was updated successfully, but these errors were encountered: