Code Monkey home page Code Monkey logo

dummytext-plugin's Introduction

Dummy Text Generator Plugin

Source code of the intellij IDEA "Dummy Text Generator" plugin: http://plugins.jetbrains.com/plugin?pr=&pluginId=7216 This is a plugin for the various intellij IDEs, working in IntelliJ IDEA Ultimate and Community Edition, RubyMine, WebStorm, PhpStorm, PyCharm, PyCharm CE, AppCode, Android Studio and 0xDBE.

Table of Contents

What does it do?

The plugin adds a random text generator, capable of creating witty texts in different genres. Created text can be inserted newly at the caret, or replace a selection. The dummy text generator is added to the main menu, tools menu and into the generate... popup menu (Alt+Insert)

Used from the editor main menu, text is generated in the previously selected genre. Used from the Tools menu or Generate popup, the plugin allows to choose from several genres:

  • Culinary Inspirations
  • Esoteric Wisdom
  • Fake Latin (similar to "Lorem Ipsum" blindtext)
  • Pirate Lingo
  • Science Fiction

When replacing a multi-lined selection of text, the generated dummy text maintains the amount of lines. When replacing a selection of text within a single line, the amount of words is roughly being maintained. When the replaced text selection consists fully of lower-cased or capital letters or begins with a capital letter, that previous casing is maintained. Furthermore, the presence or absence of a trailing punctuation mark of a replaced text selection is being maintained.

Third Party Resources

The icons used in this plugin have been altered in colors, they originate from the following iconsets:

Freecns Cumulus by Yannick Lung - bubble, library Icomoon - http://keyamoon.com/ - rocket iconsimple (freebies) by pixan - yingyang Miu by LinhPham.me - Pizza WPZOOM - http://www.wpzoom.com - skull

Changelog

See https://github.com/kstenschke/dummytext-plugin/blob/master/CHANGELOG.md

Contributors

Thanks to Charlie Hayes for contributing multi selections support!

Author and License

Copyright Kay Stenschke

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

"http://www.apache.org/licenses/LICENSE-2.0":http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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.