diff --git a/README.md b/README.md index 2dea7f05..2d7a1be7 100644 --- a/README.md +++ b/README.md @@ -90,17 +90,6 @@ This is a list of some of the snippets included, if you like to include addition To trigger code validations you must save the file first. -## Fortran Language Server (Experimental) - -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. - -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. - -- This is an experimental feature and is not available in Windows yet. -- Since only a single language server is spun up for given VS Code instance, having multi-root setup does not work -- 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. -- Every time you change the value of the setting `fortran.useLanguageServer`, you need to reload the VS Code window for it to take effect. - ## Requirements For the linter to work you need to have `gfortran` on your path, or wherever you configure it to be. diff --git a/package.json b/package.json index 4fb17bca..0fa7f939 100644 --- a/package.json +++ b/package.json @@ -133,11 +133,6 @@ ], "description": "Specify what kind of symbols should be shown by the symbols' provider" }, - "fortran.useLanguageServer": { - "type": "boolean", - "default": false, - "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" - }, "fortran.preferredCase": { "type": "string", "default": "lowercase", diff --git a/src/lang-server.ts b/src/lang-server.ts index 432d0a58..18d8935d 100644 --- a/src/lang-server.ts +++ b/src/lang-server.ts @@ -50,7 +50,7 @@ export class FortranLangServer { } export function checkForLangServer(config) { - const useLangServer = config.get('useLanguageServer') + const useLangServer = false //config.get('useLanguageServer') if (!useLangServer) return false if (process.platform === 'win32') { vscode.window.showInformationMessage(