-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Development version #293
Merged
Development version #293
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Also adds output on successfull install. There is still a problem with the install tool returning a promise that is being fullfied after we have executed the formatter (that is if the tool is missing) which results into the user having to call the formatter twice to format the document.
Cache the results from include directory path resolution and glob pattern matching to save on compute.
- Symbols are always turned on through `fortls` so now the options are to use the `fortls` symbols or `fortls` + `Built-in` i.e. `Both` which does not make much sense but some people might end up using it. - Added the `-f(free|fixed)-line-length-<n>` arguments to be included automatically when when the `fortran.fortls.maxLineLength` is specified. - Added the flag for Intel's preprocessor `-fpp` to be included automatically.
Not sure if that has any real impact on performance. Fixes Convert extension to async #285
Tests have been added for both the regex matches and specific groups but also for the diagnostics array that is fed into VSCode
This was
linked to
issues
Nov 24, 2021
One of the issues I have noticed with this PR while using the dev branch for my work, the linter tries to lint header files and |
Also fixes forts missing warning disables fortls parsing if fortls is installed #365 and adds more options for configuring the options through the UI.
Closes Formatter and Fortran Server do not install #354
This is a proper async implementation of the formatting interface for simple edits. It can be extended to ranges as well, with minimal code. Closes Using formatter findent with format code on save produces error "Failed to save" file #364
This was referenced Apr 19, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The helper.ts file was cluttered, filled with routines and variables
that belonged to the tools file. This have now been moved.
In addition, the old interface with the language server has been removed
in preparation for the new interface that will be added.
Changes
fortls
therefore eliminating the need to use FORTRAN IntellisenseTODO:
fortls
interface settings, e.g.fortls.preserveKeywordOrder
has been deprecated so remove and replace with sort_keywordsRemove the PREPROCESSOR linter regex. They produce warnings for for standalone files, think ofinclude 'somefile'
Activate the extension always