Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/twobiers/copynice-intellij

A CopyNice plugin for IntelliJ. Inspired by CopyNice.
https://github.com/twobiers/copynice-intellij

intellij intellij-plugin

Last synced: about 1 month ago
JSON representation

A CopyNice plugin for IntelliJ. Inspired by CopyNice.

Awesome Lists containing this project

README

        

# CopyNice-IntelliJ

![Build](https://github.com/twobiers/CopyNice-IntelliJ/workflows/Build/badge.svg)
[![Version](https://img.shields.io/jetbrains/plugin/v/com.github.twobiers.copynice.svg)](https://plugins.jetbrains.com/plugin/com.github.twobiers.copynice)
[![Downloads](https://img.shields.io/jetbrains/plugin/d/com.github.twobiers.copynice.svg)](https://plugins.jetbrains.com/plugin/com.github.twobiers.copynice)





Credits: kuba from OpenClipart

An IntelliJ Plugin inspired by [CopyNice](https://github.com/madskristensen/CopyNice). Copying code
without indentation.

If you ever tried to copy code from an IntelliJ IDE and paste into another program like a messanger
or a notepad, you may have noticed that the code is not indented properly, and most likely you will
end up in situations like this:

| Original from IntelliJ IDE | Pasted into Notepad |
|----------------------------------------------------------------------|-----------------------------------------------------------------------|
| ![Improper intended code](./assets/screenshots/idea_hello_world.png) | ![Improper intended code](./assets/screenshots/gedit_hello_world.png) |

Say hello to CopyNice! This plugin will copy the code without indentation, so you can paste it
properly. Just click on the action button provided and enjoy!

| Original from IntelliJ IDE | Pasted into Notepad |
|-------------------------------------------------------------------------|------------------------------------------------------------------------|
| ![Improper intended code](./assets/screenshots/idea_hello_copynice.png) | ![Proper intended code](./assets/screenshots/gedit_hello_copynice.png) |

## Usage

There is an entry provided in the editor popout menu. You can also assign a shortcut for the action.
The action might not work well, if your code is not intended consistent.

![Editor Popout](./assets/screenshots/editor_popout_copy_without_indentation.png)

## Installation

- Using IDE built-in plugin system:

Settings/Preferences > Plugins > Marketplace > Search for "CopyNice-IntelliJ" >
Install Plugin

- Manually:

Download the [latest release](https://github.com/twobiers/CopyNice-IntelliJ/releases/latest) and install it manually using
Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

---
Plugin based on the [IntelliJ Platform Plugin Template][template].

[template]: https://github.com/JetBrains/intellij-platform-plugin-template