Skip to content

Commit 91f3844

Browse files
authored
Merge pull request #293 from fortran-lang/dev
Development version
2 parents 3299d5c + f68363d commit 91f3844

File tree

332 files changed

+5033
-1315
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

332 files changed

+5033
-1315
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: actions/setup-node@v1
1212
with:
13-
node-version: 12
13+
node-version: 16
1414
- run: npm ci
1515
# - name: Publish to Open VSX Registry
1616
# uses: HaaLeo/publish-vscode-extension@v0

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
out
2+
dist
23
node_modules
34
.vscode-test
45
*.vsix

.vscode/launch.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"type": "extensionHost",
1010
"request": "launch",
1111
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
12-
"outFiles": ["${workspaceFolder}/out/src/**/*.js"],
13-
"preLaunchTask": "npm: watch-dev"
12+
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
13+
"preLaunchTask": "npm: compile-dev"
1414
},
1515
{
1616
"name": "Launch Tests",
@@ -21,8 +21,8 @@
2121
"--extensionDevelopmentPath=${workspaceFolder}",
2222
"--extensionTestsPath=${workspaceFolder}/out/test"
2323
],
24-
"outFiles": ["${workspaceFolder}/out/test/**/*.js"],
25-
"preLaunchTask": "npm: pretest setup"
24+
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
25+
"preLaunchTask": "npm: pretest"
2626
}
2727
]
2828
}

.vscode/settings.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,35 @@
2929
"[markdown]": {
3030
"editor.defaultFormatter": "esbenp.prettier-vscode"
3131
},
32-
"prettier.configPath": ".prettierrc"
32+
"prettier.configPath": ".prettierrc",
33+
34+
"files.associations": {
35+
"*.fd": "FortranFixedForm"
36+
},
37+
38+
// ***************************************************************************
39+
// Fortran Options
40+
// ***************************************************************************
41+
// Fortran providers
42+
"fortran.provide.hover": "fortls",
43+
"fortran.provide.symbols": "fortls",
44+
"fortran.provide.autocomplete": "fortls",
45+
// // Linter options
46+
"fortran.linter.compiler": "gfortran",
47+
"fortran.linter.includePaths": ["/usr/include/", "/usr/include/*"],
48+
// Add arguments used in compilation
49+
"fortran.linter.extraArgs": [
50+
"-fdefault-real-8",
51+
"-fdefault-double-8",
52+
"-Wunused-variable",
53+
"-Wunused-dummy-argument"
54+
],
55+
// Formatting options
56+
"fortran.formatting.formatter": "findent",
57+
"fortran.formatting.findentArgs": ["-Cn", "--align-paren=1"],
58+
// Fortran-Language-Server specific options
59+
"fortran.fortls.incrementalSync": true,
60+
"fortran.fortls.preserveKeywordOrder": true,
61+
// Other Fortran options
62+
"fortran.preferredCase": "lowercase"
3363
}

.vscode/tasks.json

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,34 +11,23 @@
1111
},
1212
"isBackground": true,
1313
"problemMatcher": "$tsc-watch",
14-
"detail": "tsc -watch -p tsconfig.json"
14+
"detail": "webpack --mode development --watch --progress"
1515
},
1616
{
1717
"label": "npm: compile-dev",
1818
"type": "npm",
1919
"script": "compile-dev",
2020
"group": "build",
2121
"problemMatcher": "$tsc",
22-
"detail": "tsc -p tsconfig.json"
22+
"detail": "webpack --mode development"
2323
},
2424
{
2525
"label": "npm: pretest",
2626
"type": "npm",
2727
"script": "pretest",
2828
"group": "test",
2929
"problemMatcher": "$tsc",
30-
"detail": "tsc -p tsconfig.test.json"
31-
},
32-
{
33-
"label": "npm: pretest setup",
34-
"type": "shell",
35-
"dependsOn": ["npm: compile-dev", "npm: pretest"],
36-
"dependsOrder": "sequence",
37-
"group": {
38-
"kind": "test",
39-
"isDefault": true
40-
},
41-
"detail": "setup for test launch"
30+
"detail": "npm run compile-dev && tsc -p tsconfig.test.json"
4231
},
4332
{
4433
"type": "npm",

.vscodeignore

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
.vscode/**
22
.vscode-test/**
3-
out/test/**
3+
out/**
4+
node_modules/**
5+
tools/**
46
test/**
57
src/**
68
**/*.map
9+
**/*.ts
710
.gitignore
8-
tsconfig.json
11+
**/tsconfig*.json
12+
**/.eslintrc.json
13+
.husky/
14+
.github/
15+
.editorconfig
16+
.prettierrc
17+
.prettierignore
918
vsc-extension-quickstart.md
19+
CONTRIBUTING.md
20+
coverconfig.json

CHANGELOG.md

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,46 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [3.0.0]
11+
12+
### Fixed
13+
14+
- Fixes linting regex to capture a wider spectrum of errors
15+
([#295](https://github.com/krvajal/vscode-fortran-support/issues/295))
16+
- Fixes linter activation from `Disabled` to some compiler `X` without having
17+
to restart the extension
18+
([#296](https://github.com/krvajal/vscode-fortran-support/issues/296))
19+
- Fixes nopass pointer erroneous syntax highlighting
20+
([#318](https://github.com/krvajal/vscode-fortran-support/issues/318))
21+
- Fixes `%` accessor highlighting for type-bound subroutines
22+
([#325](https://github.com/krvajal/vscode-fortran-support/issues/325))
23+
- Fixes `fortls` not spawning when `ignoreWarning` was set to true
24+
([#365](https://github.com/krvajal/vscode-fortran-support/issues/365))
25+
- Fixes formatting on Windows (needed .exe extension)
26+
([#354](https://github.com/krvajal/vscode-fortran-support/issues/354))
27+
- Fixes `onSave` formatting errors
28+
([#364](https://github.com/krvajal/vscode-fortran-support/issues/364))
29+
30+
### Changed
31+
32+
- Updates `README` text and animations, changes `SECURITY` and updates `package.json`
33+
- Changes the interface of the extension to accommodate for the newest features
34+
([#292](https://github.com/krvajal/vscode-fortran-support/issues/292))
35+
- Changes main parts of the extension to being asynchronous
36+
([#285](https://github.com/krvajal/vscode-fortran-support/issues/285))
37+
- Changes Language Server prompt from `fortran-language-server` to `fortls`
38+
- Updates VS Code engine to handle `vsce --pre-release`
39+
40+
### Added
41+
42+
- Adds support for Intel (ifort) and LLVM (flang) compilers
43+
([#291](https://github.com/krvajal/vscode-fortran-support/issues/291))
44+
- Adds native support for the fortran-language-server (`fortls`) making
45+
unnecessary the usage of Fortran Intellisense extension
46+
([#290](https://github.com/krvajal/vscode-fortran-support/issues/290))
47+
- Adds commands for re/starting/stopping the Language Server
48+
- Added more options for configuring the `fortls` settings through the UI
49+
1050
## [2.6.2]
1151

1252
### Added
@@ -344,7 +384,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
344384

345385
- Initial release
346386

347-
[unreleased]: https://github.com/krvajal/vscode-fortran-support/compare/v2.6.2...HEAD
387+
[unreleased]: https://github.com/krvajal/vscode-fortran-support/compare/v3.0....HEAD
388+
[3.0.0]: https://github.com/krvajal/vscode-fortran-support/compare/v2.6.2...v3.0.0
348389
[2.6.2]: https://github.com/krvajal/vscode-fortran-support/compare/v2.6.1...v2.6.2
349390
[2.6.1]: https://github.com/krvajal/vscode-fortran-support/compare/v2.6.0...v2.6.1
350391
[2.6.0]: https://github.com/krvajal/vscode-fortran-support/compare/v2.5.0...v2.6.0

0 commit comments

Comments
 (0)