|
1 | 1 | <p align="center">
|
2 |
| - <img src="assets/modern-fortran-logo.png"/> |
| 2 | + <img src="assets/modern-fortran-logo.svg" width=800/> |
3 | 3 | </p>
|
4 | 4 |
|
5 | 5 | <div align="center">
|
|
22 | 22 | - Hover support, Signature help and Auto-completion
|
23 | 23 | - GoTo/Peek implementation and Find/Peek references
|
24 | 24 | - Project-wide and Document symbol detection and Renaming
|
25 |
| -- Native Language Server integration with [`fortls`](https://github.com/gnikit/fortls) |
26 |
| -- Linting support for GCC's [`gfortran`](https://gcc.gnu.org/wiki/GFortran), and Intel's [`ifort`](https://www.intel.com/content/www/us/en/developer/tools/oneapi/fortran-compiler.html) and `ifx` |
27 |
| -- Debugger [C/C++ extension](https://github.com/Microsoft/vscode-cpptools) |
28 |
| -- Formatting with [findent](https://github.com/gnikit/findent-pypi) or [fprettify](https://github.com/pseewald/fprettify) |
29 |
| -- Code snippets (more can be defined by the user [see](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_create-your-own-snippets)) |
| 25 | +- [Native Language Server integration](#language-server-integration) with [`fortls`](https://github.com/gnikit/fortls) |
| 26 | +- [Linting support](#linting) for GCC's [`gfortran`](https://gcc.gnu.org/wiki/GFortran), and Intel's [`ifort`](https://www.intel.com/content/www/us/en/developer/tools/oneapi/fortran-compiler.html), `ifx` |
| 27 | +- [Interactive Debugger with UI](#debugging) |
| 28 | +- [Formatting](#formatting) with [findent](https://github.com/gnikit/findent-pypi) or [fprettify](https://github.com/pseewald/fprettify) |
| 29 | +- [Code snippets](#snippets) (more can be defined by the user [see](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_create-your-own-snippets)) |
| 30 | + |
| 31 | +## Get Started & Seek Support |
| 32 | + |
| 33 | +<p float="left"> |
| 34 | + <a href="https://fortran-lang.org/learn/"><img src="./assets/readme.tutorial.svg"/></a> |
| 35 | + <a href="https://github.com/fortran-lang/vscode-fortran-support/discussions"><img src="./assets/readme.github.svg"/></a> |
| 36 | + <a href="https://fortran-lang.discourse.group/"><img src="./assets/readme.discourse.svg"/></a> |
| 37 | +</p> |
| 38 | + |
| 39 | +### Useful Tools |
| 40 | + |
| 41 | +<p float="center"> |
| 42 | + <a href="https://gnikit.github.io/fortls"><img src="./assets/readme.fortls.svg"/></a> |
| 43 | + <a href="https://fpm.fortran-lang.org"><img src="./assets/readme.fpm.svg"/></a> |
| 44 | + <a href="https://github.com/fortran-lang/stdlib"><img src="./assets/readme.stdlib.svg"/></a> |
| 45 | +</p> |
30 | 46 |
|
31 | 47 | ## Language Server integration
|
32 | 48 |
|
@@ -143,6 +159,9 @@ More details about how to set up the debugger can be found in Microsoft's websit
|
143 | 159 | - C/C++ extension debugger information: <https://code.visualstudio.com/docs/cpp/cpp-debug>
|
144 | 160 | - Build tasks for easy compiling: <https://code.visualstudio.com/docs/editor/tasks>
|
145 | 161 |
|
| 162 | +<details> |
| 163 | +<summary><b>Example: Launch.json</b></summary> |
| 164 | + |
146 | 165 | ```jsonc
|
147 | 166 | {
|
148 | 167 | // Use IntelliSense to learn about possible attributes.
|
@@ -173,16 +192,23 @@ More details about how to set up the debugger can be found in Microsoft's websit
|
173 | 192 | }
|
174 | 193 | ```
|
175 | 194 |
|
| 195 | +</details> |
| 196 | + |
176 | 197 | ## Formatting
|
177 | 198 |
|
178 | 199 | Two formatters are supported [`findent`](https://github.com/gnikit/findent-pypi)
|
179 | 200 | and [`fprettify`](https://github.com/pseewald/fprettify). Both of them can be
|
180 | 201 | installed with `pip` automatically through the extension.
|
181 | 202 |
|
| 203 | +<details> |
| 204 | + <summary><b>Demo: formatters in action</b></summary> |
| 205 | + |
182 | 206 | | findent | fprettify |
|
183 | 207 | | :-------------------------------: | :---------------------------------: |
|
184 | 208 | |  |  |
|
185 | 209 |
|
| 210 | +</details> |
| 211 | + |
186 | 212 | The formatter is controlled by the user option
|
187 | 213 |
|
188 | 214 | ```jsonc
|
@@ -221,13 +247,13 @@ by following these VS Code [instructions](https://code.visualstudio.com/docs/edi
|
221 | 247 | If you think a snippet should be shipped by with the extension feel free to
|
222 | 248 | submit a [feature request](https://github.com/fortran-lang/vscode-fortran-support/issues/new?assignees=&labels=feature-request&template=feature_request.md&title=)
|
223 | 249 |
|
224 |
| -### Program skeleton |
225 |
| - |
226 |
| - |
227 |
| - |
228 |
| -#### Module skeleton |
229 |
| - |
230 |
| - |
| 250 | +<details> |
| 251 | +<summary><b>Demo: snippets in action</b></summary> |
| 252 | +<p float="left"> |
| 253 | + <img alt="program snippet" src="https://media.giphy.com/media/OYdq9BKYMOOdy/giphy.gif" width=400/> |
| 254 | + <img alt="module snippet" src="https://media.giphy.com/media/3ohzdUNRuio5FfyF1u/giphy.gif" width=320/> |
| 255 | +</p> |
| 256 | +</details> |
231 | 257 |
|
232 | 258 | ## Advanced options
|
233 | 259 |
|
@@ -257,16 +283,18 @@ For debugging you need to have one of the following debuggers installed:
|
257 | 283 | - **macOS**: GDB or LLDB
|
258 | 284 | - **Windows**: GDB or Visual Studio Windows Debugger
|
259 | 285 |
|
260 |
| -## Issues |
| 286 | +## Contributing |
261 | 287 |
|
262 |
| -Please report any issues and feature request on the GitHub repo [here](https://github.com/fortran-langiguelangel/vscode-fortran-support/issues/new) |
| 288 | +- [Guidelines](https://github.com/fortran-lang/vscode-fortran-support/blob/master/CONTRIBUTING.md) |
| 289 | +- [Code of conduct: Contributor Covenant](https://github.com/fortran-lang/.github/blob/main/CODE_OF_CONDUCT.md) |
| 290 | +- [License](https://github.com/fortran-lang/vscode-fortran-support/blob/master/LICENSE) |
263 | 291 |
|
264 |
| -## Notice |
| 292 | +## Support Us |
265 | 293 |
|
266 |
| -The syntax highlight support was imported from [TextMate bundle](https://github.com/textmate/fortran.tmbundle) |
| 294 | +You can support further development of the extension by fiscal donations: |
267 | 295 |
|
268 |
| -The idea of using `gfortran` comes from this awesome [fortran plugin](https://github.com/315234/SublimeFortran) for Sublime Text. |
| 296 | +<a href="https://numfocus.org/donate-to-lfortran"><img src="./assets/readme.lfortran.svg" width=90></a> to our [**LFortan**](https://numfocus.org/donate-to-lfortran) project on NumFOCUS |
269 | 297 |
|
270 |
| -## LICENSE |
| 298 | +Or |
271 | 299 |
|
272 |
| -MIT |
| 300 | +<a href="https://github.com/fortran-lang/vscode-fortran-support"><img src="./assets/readme.github.sponsor.svg" width=120></a> directly sponsoring developers through [**GitHub Sponsors**](https://github.com/fortran-lang/vscode-fortran-support) |
0 commit comments