Skip to content

[Feature Request] append language extension to language pragma list in the 'add extention' codeaction #1872

Closed
@goolord

Description

@goolord

I realize that I am one of very few haskellers who actually want this so I am willing to implement it myself 😅

basically, it's typical for me to put all of my language extensions in one language pragma like so

{-# LANGUAGE
    OverloadedString
  , GADTs
#-}

under some criteria like
length languageExtensions == 1 && length (head languageExtensions) > 1
I would like the add "LanguageExtension" codeaction to append to this list

currently the codeaction would do something like

{-# LANGUAGE
    OverloadedString
  , GADTs
#-}

{-# LANGUAGE ScopedTypeVariables #-}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions