Skip to content

Map Fortran subroutines to vscode Function kind #141

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 1 commit into from
Feb 24, 2020

Conversation

letmaik
Copy link
Contributor

@letmaik letmaik commented Jun 22, 2019

Fixes #140.

The LSP doesn't offer different symbol kinds that would map neatly to Fortran subroutines and functions. Currently, subroutines are mapped to method and functions to function. As discussed in #140 this has the wrong semantics since method should refer to a procedure that's associated with an object (in Fortran type-bound procedure) whereas function does not have that association. This PR maps subroutines to function as well. Note that this does not affect the icon but merely the tooltip in the outline or the breadcrumb.

@pedro-ricardo pedro-ricardo mentioned this pull request Jun 22, 2019
9 tasks
@pedro-ricardo pedro-ricardo requested a review from krvajal June 26, 2019 13:50
@pedro-ricardo pedro-ricardo mentioned this pull request Feb 24, 2020
12 tasks
@pedro-ricardo pedro-ricardo changed the base branch from master to release/2.1.2 February 24, 2020 19:16
@pedro-ricardo pedro-ricardo removed the request for review from krvajal February 24, 2020 19:16
@pedro-ricardo pedro-ricardo merged commit bf52b35 into fortran-lang:release/2.1.2 Feb 24, 2020
@pedro-ricardo pedro-ricardo mentioned this pull request Feb 27, 2020
13 tasks
pedro-ricardo added a commit that referenced this pull request May 15, 2020
### Check List
- Highlight
- [x] `select` keyword - *Merge #165 to fix #149*
- [x] `rank` keyword -  *Merge #165*
- [x] `forall` keyword - *Merge #170 to fix #169*
- Symbol List
- [x] Symbols bug in VSCode +1.40 - *Merge #161 to fix #154*
- [x] Symbols classification - *Merge #141 to fix #140*
- [x] Long named symbols - *Merge #151*
- Settings
- [x] Add more options - *Merge #152*
- Dependencies
- [x] Merge `dependabot` PR's
    - [x] lodash - *Merge #144*
    - [x] mixin-deep - *Merge #146*
    - [x] handlebars - *Merge #155* 
- Code Completion
- [x] Array constructor - *Fix #148*
- New Features
- [x] Breakpoints - *Merge #150*
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.

Incorrect symbol kind of module subroutines
2 participants