You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lint-stage hook sould now be able to work when we commit.
If a commit fails then run `npm run lint-fix` to try and autofix
and then `npm run format`.
All of these actions should be run
automatically via the git hook but I am listing the steps in case
the hook fails.
You *always* want to look at this file **before** contributing. In here you
1
+
##CONTRIBUTING
2
+
3
+
You _always_ want to look at this file **before** contributing. In here you
4
4
should find steps that you need to take to set up your development environment
5
5
as well as instructions for coding standards and contribution guidelines.
6
6
7
-
8
7
## Setup instructions
9
-
First of all, this is a Visual Studio Code extension that uses TypeScript and tools based on [Node.js](https://nodejs.org/en/) with dependencies from npm. So you will need to have Node installed on your `$PATH`.
8
+
9
+
First of all, this is a Visual Studio Code extension that uses TypeScript and tools based on [Node.js](https://nodejs.org/en/) with dependencies from npm. So you will need to have Node installed on your `$PATH`.
10
+
10
11
1. Fork the repo
11
12
2. Clone your fork
12
13
3. Create a branch
13
-
4. Run `npm install`
14
-
14
+
4. Run `yarn install`
15
+
5. To test the extension run `yarn test:grammar && yarn test`
By default the `gfortran` executable is assumed to be found in the path. In order to use a different one or if it can't be found in the path you can point the extension to use a custom one with the `fortran.gfortranExecutable` setting.
If you want to pass extra options to the `gfortran` executable or override the default one, you can use the setting `fortran.linterExtraArgs`. By default `-Wall` is the only option.
45
42
46
-
```jsonc
43
+
```jsonc
47
44
{
48
-
"fortran.linterExtraArgs": ["-Wall"],
45
+
"fortran.linterExtraArgs": ["-Wall"]
49
46
}
50
47
```
51
48
52
49
You can configure what kind of symbols will appear in the symbol list by using
53
50
54
-
```jsonc
51
+
```jsonc
55
52
{
56
-
"fortran.symbols": ["function", "subroutine"]
53
+
"fortran.symbols": ["function", "subroutine"]
57
54
}
58
55
```
59
56
@@ -69,7 +66,7 @@ and by default only functions and subroutines are shown
69
66
70
67
You can also configure the case for fortran intrinsics auto-complete by using
71
68
72
-
```jsonc
69
+
```jsonc
73
70
{
74
71
"fortran.preferredCase":"lowercase"|"uppercase"
75
72
}
@@ -79,7 +76,7 @@ You can also configure the case for fortran intrinsics auto-complete by using
79
76
80
77
This is a list of some of the snippets included, if you like to include additional snippets please let me know and I will add them.
0 commit comments