Skip to content

Feature/path interpolation simple #284

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

Merged
merged 53 commits into from
Nov 17, 2021
Merged

Conversation

gnikit
Copy link
Member

@gnikit gnikit commented Nov 12, 2021

This is an alternative to #238 where instead of overloading the .get function we simply do search and replace.

There is an issue with fast-glob and how it fails when there is lack of read access in a repo. I open a ticket on the repo but in the meantime I have implemented a relatively robust solution which is if fast-glob fails we revert to using glob which is noticeably slower but can handle the intricacies with different read permissions.

gnikit added 30 commits October 12, 2021 12:35
This has now been replaced with `which` which is also platform agnostic.
The only difference is that `which` does not cache the result of the
query. However, realistically speaking calling which once per new
file being opened is a trivial cost.
Moreover, already opened files are cached automatically so no `which` calls
are made when changing between opened files.
We now prompt the user to install fortran-language-server and
Fortran IntelliSense if the packages are missing.

There is a slight issue with the calls being asynchronous, so if they are installed
in the wrong order Fortran IntelliSense first and then fortls an error
is being throw.
Adds support for `findent` and `fprettify`. Fixes #29.
Fixes Rename fortran_fixed-form to FortranFixedForm #259
Fixes Extension does not activate for FixedForm #257
Fixes Linting does not work for fixed format files #258
Create the tag once this is merged to master
1. Fixes conditional trigger for linting
2. Moves which as a dependency
3. Adds logging output for when parts of the extension are enabled
The includePaths and linterExtraArgs are interpolated for VSCode internal
variables. Furthermore, the includePaths is then passed through glob-fast
to epxand any and all glob expressions. glob-fast will only look for
directories and not files.
Also updates the tests to use strictEqual
Adds production, test and dev tscofig compilation
This has now been replaced with `which` which is also platform agnostic.
The only difference is that `which` does not cache the result of the
query. However, realistically speaking calling which once per new
file being opened is a trivial cost.
Moreover, already opened files are cached automatically so no `which` calls
are made when changing between opened files.
We now prompt the user to install fortran-language-server and
Fortran IntelliSense if the packages are missing.

There is a slight issue with the calls being asynchronous, so if they are installed
in the wrong order Fortran IntelliSense first and then fortls an error
is being throw.
Adds support for `findent` and `fprettify`. Fixes #29.
Fixes Rename fortran_fixed-form to FortranFixedForm #259
Fixes Extension does not activate for FixedForm #257
Fixes Linting does not work for fixed format files #258
1. Fixes conditional trigger for linting
2. Moves which as a dependency
3. Adds logging output for when parts of the extension are enabled
Base automatically changed from feature/formatting to master November 17, 2021 01:45
@gnikit gnikit merged commit c60ccb7 into master Nov 17, 2021
@gnikit gnikit deleted the feature/path-interpolation-simple branch April 27, 2022 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant