Coder Social home page Coder Social logo

eduardsergeev / vscode-haskutil Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 6.0 2.26 MB

QuickFix actions for Haskell in VSCode

Home Page: https://marketplace.visualstudio.com/items?itemName=Edka.haskutil

License: MIT License

TypeScript 94.62% Haskell 5.38%
vscode-extension haskell quickfix

vscode-haskutil's Introduction

VSCode Haskutil

Build Status Coverage Status vscode-ghc-simple on Visual Studio Marketplace Installs

'QuickFix' actions for Haskell editor

Requirements

This extension uses diagnostics (errors and warnings) from PROBLEMS tab which is populated by other Haskell extensions such as Simple GHC, Haskero, ghcid or ghcide. Please install one of them along with this extension.

Features

Individual features can be turned on and off via haskutil.feature.[feature] flags

Add missing import

Add missing import
Uses Hoogle to search for matching modules. Configurable via hoogle-vscode extension configuration (can be configured to use local instance of hoogle for example).

Organize imports

Organize imports
Sorting and alignment are configurable via haskutil.sortImports and haskutil.alignImports respectively. Imports can also be organized on file save with haskutil.organiseImportsOnSave: true (dafault is false).

Remove unused imports

Remove unused imports
Removes unused imports identified by warnings. haskutil.alignImports controls if remaning imports are also aligned.

Add missing LANGUAGE extension

Add extension
Adds LANGUAGE pragma suggested by error. List of supported pragmas is defined by haskutil.supportedExtensions.

Organize LANGUAGE extensions

Organize extensions
Splitting, sorting and alignment of extensions are configurable via haskutil.splitExtensions, haskutil.sortExtensions and haskutil.alignExtensions respectively. Extensions can also be organized on file save with haskutil.organiseExtensionOnSave: true (dafault is false).

Add top-level signature

Add top-level signature
Adds signature suggested by warning.

Fill typed hole

Fill typed hole
Replaces typed hole with one of the valid hole fits from the warning.
Similarly replaces type wildcard with inferred type.

Dependencies

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.