Skip to content

Commit 9aa401b

Browse files
Merge pull request #120
Temporary remove Experimental Language Fortran setting
2 parents a2fb155 + 91e1990 commit 9aa401b

File tree

3 files changed

+1
-17
lines changed

3 files changed

+1
-17
lines changed

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,6 @@ This is a list of some of the snippets included, if you like to include addition
9090

9191
To trigger code validations you must save the file first.
9292

93-
## Fortran Language Server (Experimental)
94-
95-
This extension uses a host of tools to provide the various language features. An alternative is to use a single language server that provides the same feature.
96-
97-
Set `fortran.useLanguageServer` to `true` to use the Fortran language server from [Chris Hansen](https://github.com/hansec/fortran-language-server) for features like Hover, Definition, Find All References, Signature Help, Go to Symbol in File and Workspace.
98-
99-
- This is an experimental feature and is not available in Windows yet.
100-
- Since only a single language server is spun up for given VS Code instance, having multi-root setup does not work
101-
- If set to true, you will be prompted to install the Fortran language server. Once installed, you will have to reload VS Code window. The language server will then be run by the Fortran extension in the background to provide services needed for the above mentioned features.
102-
- Every time you change the value of the setting `fortran.useLanguageServer`, you need to reload the VS Code window for it to take effect.
103-
10493
## Requirements
10594

10695
For the linter to work you need to have `gfortran` on your path, or wherever you configure it to be.

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,6 @@
133133
],
134134
"description": "Specify what kind of symbols should be shown by the symbols' provider"
135135
},
136-
"fortran.useLanguageServer": {
137-
"type": "boolean",
138-
"default": false,
139-
"description": "Experimental: Not available in Windows. Use Fortran language server from hansec for Hover, Definition, Find All References, Signature Help, File Outline and Workspace Symbol features"
140-
},
141136
"fortran.preferredCase": {
142137
"type": "string",
143138
"default": "lowercase",

src/lang-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class FortranLangServer {
5050
}
5151

5252
export function checkForLangServer(config) {
53-
const useLangServer = config.get('useLanguageServer')
53+
const useLangServer = false //config.get('useLanguageServer')
5454
if (!useLangServer) return false
5555
if (process.platform === 'win32') {
5656
vscode.window.showInformationMessage(

0 commit comments

Comments
 (0)