brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

is there a fortran mode? #13380

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by foice Wednesday Sep 16, 2015 at 12:26 GMT Originally opened as https://github.com/adobe/brackets/issues/11713


Hello, I have seen some traces of a fortran syntax highlighting in the repository, but my bracket does not open a .f file as a fortran file and the fortran mode is not listed among the available modes (should be between Embedded ruby and Groove, i suppose).

Am I the only one lacking this mode?

core-ai-bot commented 3 years ago

Comment by petetnt Wednesday Sep 16, 2015 at 14:11 GMT


It's not defined by default (the references you see are related to jQuery-UI's demos) but Fortran support is available as an extension.

Go to File -> Extensions and search for Fortran (I made it as an extension just now, however I didn't notice that there's also another older one that also defines other languages such as Haxe too).

core-ai-bot commented 3 years ago

Comment by foice Wednesday Sep 16, 2015 at 16:55 GMT


Great! thanks for pulling this out. I noticed that comments are not colored and also "line junctions character" are not colored. If I may, this makes it a lot less usable that regular vi or emacs syntax coloring.

core-ai-bot commented 3 years ago

Comment by petetnt Wednesday Sep 16, 2015 at 16:59 GMT


You could try changing your theme (usually comments are rather plain in normal themes) and filing an issue to the CodeMirror repo which provides the syntax highlighting for Fortran for the "line junctions character" issue.

core-ai-bot commented 3 years ago

Comment by foice Wednesday Sep 16, 2015 at 17:28 GMT


will experiment with the theme. thanks for suggesting that.

you said there also another extension that covers fortran syntax, do you recall what is that?

core-ai-bot commented 3 years ago

Comment by petetnt Wednesday Sep 16, 2015 at 18:16 GMT


The other is part of brackets-language-extensions and can be found by searching for Fortran too: sadly this won't help you in your other case as it uses the same CodeMirror syntax highlighting as my extension.

core-ai-bot commented 3 years ago

Comment by foice Wednesday Sep 16, 2015 at 20:49 GMT


Do'h

core-ai-bot commented 3 years ago

Comment by Owl67h2 Friday Aug 28, 2020 at 21:36 GMT


I added fortune to brackets