Git Product home page Git Product logo

editorsk's Introduction

Editor Enhancements

Build status

Download this extension from the VS Gallery or get the CI build.


Provides additional features such as HTML and URL encodings, transformations and sorting of selected text the editor.

Features

  • String encodings/decoding
  • String transformation
  • Hashing
  • Remove duplicate lines
  • Remove empty lines
  • Line sorting

Edit menu

The features are located in 3 menus under the top level Edit menu.

Edit menu

You can also find them in the context-menu inside the editor.

Encode Selection

This is a collection of various encodings and decodings primarily used in HTML and XML documents and strings.

Encoding menu

Transform Selection

Some simple commands to transform the selected strings.

Transform menu

It even has some popular hashing algorithms handy.

Selected Lines

This gives you easy access to sort the selected lines alphabetically, as well as removing empty- and duplicate lines.

Lines menu

Contribute

Check out the contribution guidelines if you want to contribute to this project.

For cloning and building this project yourself, make sure to install the Extensibility Tools 2015 extension for Visual Studio which enables some features used by this project.

License

Apache 2.0

editorsk's People

Contributors

madskristensen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

editorsk's Issues

Feature Suggestion: C# String Encode

Installed product versions

  • Visual Studio: 2015 Enterprise
  • This extension: 1.0.18

Description

Add an C# String Encode

Steps to recreate

  1. Open any text file in the editor
  2. Make a selection on any range of text
  3. Mouse right click on the selection
  4. Choose "Encode Selection", then click the "C# String Encode" (suggested feature)

Current behavior

Don't have a "C# String Encode" feature.

Expected behavior

Add "C# String Encode" feature.

Issue or feature

Installed product versions

Microsoft Visual Studio Community 2019
Version 16.7.7

Description

When this extension is enabled Control + Mousewheel does not change text (font) size

Steps to recreate

Enable Tweaks extension

Current behavior

Control + Mousewheel acts the same as just Mousewheel, i.e scrolls the editor text up/down

Expected behavior

Control + Mousewheel should increase/decrease text (font) size i.e shouldn't change editor behavior

I don't know if that is the intended behavior of the extension or really an issue. But having a quick way of resizing text (font) is very helpful when reorganizing big chunks of code so if at all possible, I'd like to see it fixed.

Text Selection is Wrong

Installed product versions

  • Visual Studio 2019 Release
  • This extension: 1.0.30

Description

When I mark a block of text with the cursor and it happens that the end of the selection is just about at the start of a new, empty line, that empty line is included as well in the selection to perform a sort or remove duplication operation.

While it is a matter of discussion if that line is part of the selection, I think if the block selection ends at the start of a line, that line should not be included. When I mark a block I always have to exclude the last line (which will get included anyway) and this behavior is unexpected.

I usually perform every operation twice because of that.

Extremely Slow Performance

Installed product versions

  • Visual Studio 2019 Release
  • This extension: 1.0.30

Description

The performance when sorting lines or removing duplicate lines is extremely slow. For instance, sorting 100.000 lines takes 95 minutes, yes minutes not seconds. It is even slow when I just sort like 20 lines, not minutes, but noticeable and it shouldn't.

It surely has nothing to do with sorting, I sort a list in C# with 1.5 million string entries in under 5 seconds.

Functionality for all text files

Installed product versions

  • Visual Studio: 15.8.4
  • This extension: 1.0.30

Description

The extension seems to work only on CS files. I think most of the commands should be available for all text files—I use a lot of FS files for instance.

Current behavior

Menu commands only available on C# files.

Expected behavior

Menu commands should be available for all text files, even plain TXT.

Not working in VS 2017?

I just installed this extension from the VS Marketplace and it does not seem to work with the latest Visual Studio 2017 (15.8).
I do not the submenus in the EDIT top menu as expected.

Alt+R keystrokes cause Find & Replace to stop working.

Installed product versions

  • Visual Studio: 2017 Enterprise
  • This extension: 1.0.27

Description

The keystrokes for Edit.RemoveDuplicateLines and Edit.RemoveEmptyLines cause the Find & Replace (Alt+R) keystroke to stop working.

Steps to recreate

  1. Open a file.
  2. Press Ctrl+H.
  3. Fill in the Search term and Replacement term.
  4. Press Alt+R.

Current behavior

Nothing happens.

Expected behavior

The Search term should be replaced with the Replacement term.

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.