-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #246 from fortran-lang/feat/hover-types-n-mods
feat: add hover for types and modules
- Loading branch information
Showing
7 changed files
with
154 additions
and
2 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
!> module doc for doxygen_doc_mod | ||
!! | ||
!! with info | ||
module doxygen_doc_mod | ||
implicit none | ||
|
||
!> Doc for a_t | ||
type :: a_t | ||
end type | ||
end module | ||
|
||
|
||
module ford_doc_mod | ||
!! Doc for ford_doc_mod | ||
implicit none | ||
|
||
type :: b_t | ||
!! Doc for b_t | ||
end type | ||
|
||
end module | ||
|
||
|
||
program main | ||
use doxygen_doc_mod | ||
use ford_doc_mod | ||
|
||
type(a_t) :: a | ||
type(b_t) :: b | ||
end program |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module some_mod | ||
implicit none | ||
|
||
type, abstract :: base_t | ||
end type | ||
|
||
type, abstract, extends(base_t) :: extends_t | ||
end type | ||
|
||
type, extends(extends_t) :: a_t | ||
end type | ||
end module |