Skip to content

Commit e69709c

Browse files
authored
Merge pull request #504 from fortran-lang/gnikit/issue485
Update README.md with Fortran-Lang Discourse
2 parents 8bc4d31 + ace7571 commit e69709c

14 files changed

+1494
-128
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
3535

3636
### Changed
3737

38+
- Rewrote README to include links to fortran-lang and other projects
39+
([#485](https://github.com/fortran-lang/vscode-fortran-support/issues/485))
40+
([#501](https://github.com/fortran-lang/vscode-fortran-support/issues/501))
3841
- Changed `linter.compilerPath` to use the full path to the compiler instead of the root
3942
([#500](https://github.com/fortran-lang/vscode-fortran-support/issues/500))
4043
- Changed all instances of the publisher to `fortran-lang`

README.md

Lines changed: 48 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<img src="assets/modern-fortran-logo.png"/>
2+
<img src="assets/modern-fortran-logo.svg" width=800/>
33
</p>
44

55
<div align="center">
@@ -22,11 +22,27 @@
2222
- Hover support, Signature help and Auto-completion
2323
- GoTo/Peek implementation and Find/Peek references
2424
- 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>
3046

3147
## Language Server integration
3248

@@ -143,6 +159,9 @@ More details about how to set up the debugger can be found in Microsoft's websit
143159
- C/C++ extension debugger information: <https://code.visualstudio.com/docs/cpp/cpp-debug>
144160
- Build tasks for easy compiling: <https://code.visualstudio.com/docs/editor/tasks>
145161

162+
<details>
163+
<summary><b>Example: Launch.json</b></summary>
164+
146165
```jsonc
147166
{
148167
// 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
173192
}
174193
```
175194

195+
</details>
196+
176197
## Formatting
177198

178199
Two formatters are supported [`findent`](https://github.com/gnikit/findent-pypi)
179200
and [`fprettify`](https://github.com/pseewald/fprettify). Both of them can be
180201
installed with `pip` automatically through the extension.
181202

203+
<details>
204+
<summary><b>Demo: formatters in action</b></summary>
205+
182206
| findent | fprettify |
183207
| :-------------------------------: | :---------------------------------: |
184208
| ![alt](./assets/findent-demo.gif) | ![alt](./assets/fprettify-demo.gif) |
185209

210+
</details>
211+
186212
The formatter is controlled by the user option
187213

188214
```jsonc
@@ -221,13 +247,13 @@ by following these VS Code [instructions](https://code.visualstudio.com/docs/edi
221247
If you think a snippet should be shipped by with the extension feel free to
222248
submit a [feature request](https://github.com/fortran-lang/vscode-fortran-support/issues/new?assignees=&labels=feature-request&template=feature_request.md&title=)
223249

224-
### Program skeleton
225-
226-
![program snippet](https://media.giphy.com/media/OYdq9BKYMOOdy/giphy.gif)
227-
228-
#### Module skeleton
229-
230-
![module snippet](https://media.giphy.com/media/3ohzdUNRuio5FfyF1u/giphy.gif)
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>
231257

232258
## Advanced options
233259

@@ -257,16 +283,18 @@ For debugging you need to have one of the following debuggers installed:
257283
- **macOS**: GDB or LLDB
258284
- **Windows**: GDB or Visual Studio Windows Debugger
259285

260-
## Issues
286+
## Contributing
261287

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)
263291

264-
## Notice
292+
## Support Us
265293

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:
267295

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
269297

270-
## LICENSE
298+
Or
271299

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)

assets/README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# Creating High Quality GIF animations
1+
# Information about asset creation
2+
3+
## Creating High Quality GIF animations
24

35
Two scripts have been included inside the `tools` folder for ease of use, but the following instructions should allow for more custom-made GIFs
46

@@ -35,3 +37,21 @@ considerably less sharp and artifact-free.
3537
ffmpeg -i animation.mp4 -vf palettegen palette.png
3638
ffmpeg -i animation.mp4 -i palette.png -filter_complex "fps=15,scale=-1:-1:flags=lanczos[x];[x][1:v]paletteuse" output.gif
3739
```
40+
41+
## SVG assets
42+
43+
Assets containing the word `workspace` e.g. `readme.workspace.svg` are the master
44+
document from which all other assets with similar names e.g. `readme.fpm.svg` are
45+
derived.
46+
47+
> Note:
48+
> **The derived `SVG`s are converted to Paths in order to avoid any
49+
> potential problems with missing fonts.**
50+
51+
Normal workflow:
52+
53+
1. Edit the `.workspace.svg` file
54+
2. Copy the final asset to a separate `SVG` file.
55+
3. Adjust the `SVG` file size to just the size of the asset.
56+
4. Convert the final Object to Path.
57+
5. The final asset is ready to use.

assets/modern-fortran-logo.png

-17.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)