bug: ambiguous discussion of Language Server Integration #896
Replies: 2 comments 3 replies
-
There are fallbacks for some of the functions, and they are (obviously) not as good as using a language server, hence why we don't recommend using them. Using the If you don't want to use the Language Server (for now that is only or via the JSON settings file "fortran.fortls.disabled": true
Yes. The problem is that some users don't have the The option Is meant to address the above problems. Instead of the user having to edit their global
The extension prompts it does not install
Not really common practice amongst users, but see 2. from above.
Python comes pre-installed with most major OSs, and if not the user can install it quite trivially via multiple ways. I can't see users being particularly happy with the idea of a "random" VS Code extensions installing large development environments in their computers just to get the extension to perform a certain way. We use prompts, walkthroughs, documentation and Q&A to instruct users on how to configure their underlying dev environment. |
Beta Was this translation helpful? Give feedback.
-
First, thanks for the information. Second, the reason I reported this as a bug is that I think the documentation needs to be clearer. On to some of the specifics. I think you're saying that if Does the default install attempt for
The other wild-card in this, at least on I wasn't suggesting By the way, she was very pleased to see the syntax coloring, even if the other features aren't working yet for her! |
Beta Was this translation helpful? Give feedback.
-
Is there an existing issue for this?
Description
The extension page contains a discussion of
Language Server Integration
, screenshot below. The discussion is ambiguous in several ways.So if the language server is unavailable, what happens? The current wording suggests both that there may be fallbacks for those functions, so they would still work, and that the functions won't work without the server.
Does this need to be done before installing the extension?
This suggests the plugin will automatically install the language server, but it is not clear that that is the case.
If the extension does ordinarily automatically install
fortls
, what happens if it is already installed?And the advice about setting
fortran.fortls.path
seems as if it's something that can only be done once the extension is installed, so it wouldn't help with the installation process itself. But maybe VSCode lets one set options before the corresponding package is installed?Screenshots
Expected Behaviour
Clear instructions about what to do to setup the extension properly, including when to do those things.
Version of Modern Fortran
3.2.0
Version of Visual Studio Code
1.78.2
Platform and Architecture
Windows
Additional Information
I previously interpreted the instructions as meaning that I should install
fortls
before installing the extension. Looking at them more closely, it now seems to me that it is installed automatically (though presumablyPython
is not).Beta Was this translation helpful? Give feedback.
All reactions