Skip to content

autocomplete in use statment providing complete function signature instead of only the name in case of an interface #150

Closed
@JHenneberg

Description

@JHenneberg

Autocomplete in use statment providing complete function signature instead of only the name in case of an interface:

program main
  use some_mod, only: some_sub(x, y) ! autocomplete should give only `some_sub`
  implicit none
end program main

module some_mod
  implicit none

  private
  public :: some_sub
  interface some_sub
    module procedure a_subroutine
    module procedure b_subroutine
  end interface

contains

  subroutine a_subroutine(x)
    implicit none

    integer, intent(in) :: x

    write(*,*) 'x = ', x
  end subroutine a_subroutine

  subroutine b_subroutine(x, y)
    implicit none

    integer, intent(in) :: x, y

    write(*,*) 'x = ', x
    write(*,*) 'y = ', y
  end subroutine b_subroutine

end module some_mod

Probably related to #6 .

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions