Skip to content

Commit 7909703

Browse files
committed
build: update version to 3.4.0
1 parent 30fa0fe commit 7909703

File tree

3 files changed

+109
-2
lines changed

3 files changed

+109
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "linter-gfortran",
33
"displayName": "Modern Fortran",
44
"description": "Fortran language support, syntax highlighting, Language Server support, Debugging, Diagnostics and much more.",
5-
"version": "3.2.0",
5+
"version": "3.4.0",
66
"publisher": "fortran-lang",
77
"license": "MIT",
88
"author": {

src/extension.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,6 @@ function detectDeprecatedOptions() {
181181
}
182182

183183
async function showWhatsNew() {
184-
const uri = vscode.Uri.file(path.join(__dirname, '../updates/RELEASE_NOTES-v3.3.md'));
184+
const uri = vscode.Uri.file(path.join(__dirname, '../updates/RELEASE_NOTES-v3.4.md'));
185185
vscode.commands.executeCommand('markdown.showPreview', uri);
186186
}

updates/RELEASE_NOTES-v3.4.md

+107
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
# What's New (PRE RELEASE) <!-- omit in toc -->
2+
3+
## 🎉 Modern Fortran Release of v3.3 🎉! <!-- omit in toc -->
4+
5+
- [Run and Debug individual files](#run-and-debug-individual-files)
6+
- [LFortran Linter support](#lfortran-linter-support)
7+
- [Log Channel improvements](#log-channel-improvements)
8+
- [Colourized Logs](#colourized-logs)
9+
- [Setting verbosity level](#setting-verbosity-level)
10+
- [Improved Installation of dependencies using VS Code Tasks](#improved-installation-of-dependencies-using-vs-code-tasks)
11+
- [`fypp` linting support](#fypp-linting-support)
12+
- [Improved linter diagnostics](#improved-linter-diagnostics)
13+
- [Performance Improvements](#performance-improvements)
14+
- [Improved performance of the linter](#improved-performance-of-the-linter)
15+
- [Update native symbol provider](#update-native-symbol-provider)
16+
- [Added options](#added-options)
17+
- [Hide Release Notes](#hide-release-notes)
18+
- [Added Fortran Logo icon](#added-fortran-logo-icon)
19+
20+
## Run and Debug individual files
21+
22+
You can now run and debug individual files. This is useful for debugging small snippets of code. To do this, right-click on the file and select `Run File` or `Debug File` from the context menu.
23+
24+
## LFortran Linter support
25+
26+
The LFortran linter is now available in the extension. It can be enabled by setting the `fortran.linter.compiler` setting to `lfortran`.
27+
28+
## Log Channel improvements
29+
30+
The `Modern Fortran` log channel has had a small revamp.
31+
32+
### Colourized Logs
33+
34+
Logs are now colorised to make reading them easier
35+
36+
![image](https://user-images.githubusercontent.com/16143716/190214202-0cce3ee4-80da-4f4a-88bb-c36abd09c8f6.png)
37+
38+
### Setting verbosity level
39+
40+
You can now choose the verbosity level of the extension by setting the following option in the settings
41+
42+
```json
43+
{
44+
"fortran.logging.level": "Error"
45+
}
46+
```
47+
48+
## Improved Installation of dependencies using VS Code Tasks
49+
50+
The extension dependencies are now installed using Visual Studio Code's Tasks. That means that the commands are run from within the VS Code terminal, inheriting any environment variables already present. Particularly useful when using Python virtual environments.
51+
52+
## `fypp` linting support
53+
54+
Adds some initial support for `fypp` when using `gfortran`. More compilers will follow soon!
55+
56+
![image](https://user-images.githubusercontent.com/16143716/190215420-085043a5-8250-4777-a0f0-7a94ec740987.png)
57+
58+
## Improved linter diagnostics
59+
60+
Add support for parsing plain text diagnostics from `gfortran` v11+
61+
thus allowing the display of multiline diagnostics
62+
63+
```fortran
64+
module err_mod
65+
private
66+
implicit none ! <- Error here previously not shown
67+
contains
68+
subroutine foo(arg1, arg2)
69+
integer, intent(in) :: arg1, arg2
70+
print*, 'arg1:', arg1, 'arg2:', arg2
71+
end subroutine foo
72+
subroutine proc_with_err()
73+
call foo()
74+
end subroutine proc_with_err
75+
end module err_mod
76+
```
77+
78+
![image](https://user-images.githubusercontent.com/16143716/190216547-324a70c3-df57-4c13-800d-efbd57b52562.png)
79+
80+
## Performance Improvements
81+
82+
Some additional performance improvements have been made to the extension.
83+
84+
### Improved performance of the linter
85+
86+
Converted the linter into using asynchronous processes, which should improve the overall performance and responsiveness of the diagnostics.
87+
88+
## Update native symbol provider
89+
90+
The native symbol provider (one used when `fortls`) is not present) has been updated
91+
to use the new VS Code API.
92+
93+
## Added options
94+
95+
### Hide Release Notes
96+
97+
Hide release notes when the extension in being installed or updated.
98+
99+
```json
100+
"fortran.notifications.releaseNotes": true
101+
```
102+
103+
## Added Fortran Logo icon
104+
105+
Added a new icon for the Fortran Language files
106+
107+
![image](https://user-images.githubusercontent.com/16143716/192509653-609b25c2-f1bb-4370-ba2d-2781d7505814.png)

0 commit comments

Comments
 (0)