All Projects → kowainik → smuggler

kowainik / smuggler

Licence: MPL-2.0 license
🚣 Smuggle all imports

Programming Languages

haskell
3896 projects

Projects that are alternatives of or similar to smuggler

aspy.refactor imports
Utilities for refactoring imports in python-like syntax.
Stars: ✭ 14 (-80.56%)
Mutual labels:  refactoring, imports
kite
small + super-fast HTML templating
Stars: ✭ 18 (-75%)
Mutual labels:  imports
pro.fessional.wings
WingsBoot=BKB+飞鞋+SpringBoot。其核心价值是:①使团队快速实现业务目标;②快速偿还技术债务;③安全的面向程序和业务重构。
Stars: ✭ 78 (+8.33%)
Mutual labels:  refactoring
what-it-do
Automatically trace all (showable) binds in do expressions
Stars: ✭ 81 (+12.5%)
Mutual labels:  source-plugin
IntelliJDeodorant
The project is not actively supported.
Stars: ✭ 53 (-26.39%)
Mutual labels:  refactoring
refactoring-koans-js
Refactoring Koans to help you learn to refactor code smells in javascript
Stars: ✭ 15 (-79.17%)
Mutual labels:  refactoring
Kompute
Kotlin Compiler plugin bringing reactivity to variable declarations
Stars: ✭ 18 (-75%)
Mutual labels:  compiler-plugin
liquigraph
Migrations for Neo4j
Stars: ✭ 122 (+69.44%)
Mutual labels:  refactoring
refactor-css
Helps you identify reoccurring CSS class name combinations in your markup
Stars: ✭ 28 (-61.11%)
Mutual labels:  refactoring
colisper
Check and transform Lisp code with Comby (beta)
Stars: ✭ 18 (-75%)
Mutual labels:  refactoring
kata
TDD, Refactoring kata in many languages
Stars: ✭ 14 (-80.56%)
Mutual labels:  refactoring
belf
Balika011's PlayStation 4 ELF loader for IDA Pro 7.0/7.1
Stars: ✭ 31 (-56.94%)
Mutual labels:  imports
clang-tool
Simple and powerful standalone project for clang-based tools using libtooling (e.g. refactoring, auto-completion, etc.)
Stars: ✭ 35 (-51.39%)
Mutual labels:  refactoring
flextool
C++ compile-time programming (serialization, reflection, code modification, enum to string, better enum, enum to json, extend or parse language, etc.)
Stars: ✭ 32 (-55.56%)
Mutual labels:  refactoring
deleft.vim
Delete a wrapping if-clause, try-catch block, etc. and shift left.
Stars: ✭ 68 (-5.56%)
Mutual labels:  refactoring
AwesomeCompiler
The Big list of the github, open-source compilers.
Stars: ✭ 27 (-62.5%)
Mutual labels:  compiler-plugin
seamer
refactoring tool that aims at making it easy to create characterization tests
Stars: ✭ 16 (-77.78%)
Mutual labels:  refactoring
refactoring-for-testability-cpp
Hard-to-test patterns in C++ and how to refactor them
Stars: ✭ 40 (-44.44%)
Mutual labels:  refactoring
scalaz-deriving
Principled, fast, typeclass derivation.
Stars: ✭ 52 (-27.78%)
Mutual labels:  compiler-plugin
comby-rust
Rust refactoring templates for comby, the structural find-and-replace tool.
Stars: ✭ 23 (-68.06%)
Mutual labels:  refactoring

smuggler

smuggler-logo Hackage Build MPL-2.0 license

“So many people consider their work a daily punishment. Whereas I love my work as a translator. Translation is a journey over a sea from one shore to the other. Sometimes I think of myself as a smuggler: I cross the frontier of language with my booty of words, ideas, images, and metaphors.”

― Amara Lakhous, Clash of Civilizations Over an Elevator in Piazza Vittorio

Haskell Source Plugin which removes unused imports automatically.

How to use

Add smuggler to the dependencies of your project. Then add the following compiler options:

-fplugin=Smuggler.Plugin

Lovely addition to this package is that it automatically supports on-the-fly feature if you use it with ghcid. Smuggler doesn't perform file changes when there are no unused imports. So you can just run ghcid as usual:

ghcid --command='cabal repl'

For contributors

Requirements:

  • ghc-8.6.5
  • cabal >= 3.0 or stack >= 2.0

Cabal: How to build?

cabal update
cabal build

Stack: How to build?

stack build

Run tests

cabal test --enable-tests
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].